Multipilot32 V3 F1-F4 and new VR Ide PRO

Dear Friends,

in the last year we doing a great job with our Multipilot32 hardware based on STM32F1.

After 1 years of development I'm very happy to present the evolution of MP32 the new MP32V3F4

 

So this new board is very similar to old one ,same pin out , same shape , but inside there are big news. Now is available two revision of board : MP32V3F1 based on STM32F1 and the new one MP32V3F4. This new board is based on STM32F4 .

 

Togheter with the new board we working on new IDE . The VR IDE PRO  .
This new IDE is based on Eclipse and codesourcery toolchain. Support STM32F4 with MPU adn DSP  hardware functionality.

We decide to support in this new design std-lib available directly from ST microsystems. This library is rich of example for every kind of functionality available on our beautiful micro controller.

So the new MP32V3F4 have a lot of power :

1 Mbyte of flash.

196 kbyte of ram.

168 mhz of clock .

This is only some great feature available for this Board.

 

So at the  moment is available an alpha revision of ide that will be available only for developer . The board is available if you are interest to join to the project contact me for more info.

In my roadmap we start to port and improve all library available for MP32F1 to F4. And then port also the AC32 code and also Aeroquad3.0 on it.

 

In this thread we discuss about all the info about this new great board.

 

Best

Roberto

 

You need to be a member of FOXTEAM UAV CLAN to add comments!

Join FOXTEAM UAV CLAN

Email me when people reply –

Replies

  • Dear Friends,

    I'm happy to inform that today we doing our first fly with MP32F4 + NAVY 2012 ... some news in the next days check my blog post for more info.

    Best

    Roberto

    • A small update on the code review . Today i activate and check the log functionality available on NAVY 2012 . I correct only a small bug and now also that functionality work fine.

      So now also on MP32F4 + NAVY 2012 is available an integrated realtime fly log that functionality is very important for debug and test of new algorithm and functionality.

      Best

      Roberto

  • Great News ,

    today whe have a revision of code for MP32F4 that work with all the functionality .

    Is yet possible to connect to Mission planner and check it .

    I test it with NAVY 2012 . The code is available on repository.

    Best

    Roberto

  • Dear Friends,

    this is the copy available on my pc of work that i'm doing to support Alberto for porting ACopter32 on MP32F4.

    So this nigh i sucessfull doing my first complete .hex file and download it on my MP32F4.

    This code not yet work but normally at this point need only some setup for see the data on mission planner.

    I hope in one or two week to have first release available for doing pre flight test :)

    So the snapshot is available here :

    http://code.google.com/p/multipilot32/downloads/detail?name=stm32f4...

    Inside the rar there are :

    the rar file contain : 
    toolchain for MP32f4 ( STM32F407 )
    A lot of working example for Serial port, MPU6000 , Compass , Barometer ecc ecc
    custom wirish and libmaple lib based on ST standard lib
    AP_Library derived from original AP_Library developed by DIYDRONES and VIRTUALROBOTIX dev team.
    First revision of ACopter32 for F4 microcontroller.
    Not yet work we need to solve some problem on spi port. If someone would help us in this work are welcome :)
    Best
    Roberto
  • Note: the correct path is:
    update_23042012.zip

    • I have tested all examples and all is working! :-)

      Just for my information : HardwareTimer is used for PWM?

      Ok now if i want to test the lib  in Java i just need to develop a wrapper between libstm32f407vg.a and Java or i need other lib/.o files built in your environment?

      We know how to develop a wrapper with a lib to access Ios, sensors,... but i just want be sure to need only libstm32f407vg.a library.

      Best

      Guillaume

  • hi Guillaume,

    In libmaple you can't set all parameters of an usart connection (some of them are set to default value).
    I have modified some code to allow you to do that.

    I have uploaded the updated code:
    stm32f4_update.zip
    To save bandwidth, I have included only the stm32f4 directory (without lib that is big).
    You can just extract it over your existing stm32f4.
    I have added FastSerial and a testcase for it.

    To manually configure your usart use an overloaded constructor of begin():
    For example:

        Serial.begin(9600, USART_WordLength_8b, USART_StopBits_2, USART_Parity_No, USART_Mode_Rx | USART_Mode_Tx, USART_HardwareFlowControl_None);


    In usart.h you can found all the information you need:

    /**
     * @brief Configure a serial port's baud rate.
     *
     * @param dev                     Serial port to be configured
     * @param baudRate                Baud rate for transmit/receive.
     * @param wordLength              Specifies the number of data bits transmitted or received in a frame. This parameter can be a value of USART_Word_Length
     * @param stopBits                Specifies the number of stop bits transmitted. This parameter can be a value of USART_Stop_Bits
     * @param parity                Specifies the parity mode. This parameter can be a value of USART_Parity
     * @param mode                    Specifies wether the Receive or Transmit mode is enabled or disabled. This parameter can be a value of USART_Mode
     * @param hardwareFlowControl    Specifies wether the hardware flow control mode is enabled or disabled. This parameter can be a value of USART_Hardware_Flow_Control
     */
    void usart_setup(usart_dev *dev,
                     uint32_t  baudRate,
                     uint16_t  wordLength,
                     uint16_t  stopBits,
                     uint16_t  parity,
                     uint16_t  mode,
                     uint16_t  hardwareFlowControl);



        USART_Word_Length
        -----------------
        USART_WordLength_8b
        USART_WordLength_9b  

        USART_Stop_Bits
        ---------------
        USART_StopBits_1
        USART_StopBits_0_5
        USART_StopBits_2
        USART_StopBits_1_5   

        USART_Parity
        ------------
        USART_Parity_No
        USART_Parity_Even
        USART_Parity_Odd

        USART_Mode
        ----------
        USART_Mode_Rx
        USART_Mode_Tx  

        USART_Hardware_Flow_Control
        ---------------------------
        USART_HardwareFlowControl_None
        USART_HardwareFlowControl_RTS
        USART_HardwareFlowControl_CTS
        USART_HardwareFlowControl_RTS_CTS


    Alberto

    • I just test it and it work very well at 115k!!!

      Ok ready to build ACopter32! :-)

      First i must build AP_xxx libs

      So i must use a makefile for that : i must try with libraries/AP_Common/Arduino.mk and when it is ok i use the Makefile of ACopter32?

      • The makefile are not directly compatible.

        The easier way is add each library in stm32f4.mk
        For example to add AP_Common:

        AP_Common_DIR   ?= libraries/AP_Common
        ...
        CFLAGS          += -I$(AP_Common_DIR)
        ...
        LIBOBJS         += $(AP_Common_DIR)/AP_Common.o $(AP_Common_DIR)/AP_Loop.o $(AP_Common_DIR)/AP_MetaClass.o $(AP_Common_DIR)/AP_Param.o $(AP_Common_DIR)/AP_Var_menufuncs.o $(AP_Common_DIR)/menu.o

        and just compile as always...

        I have uploaded a new update:
        stm32f4_update_21042012.zip
        I have added AP_Common, AP_Declination, AP_Math, i2c and EEPROM (with a test application).
        Now I'm working on AP_Compass_HMC5843.


        To Michael Zaffuto:
        I'm debugging using led and serial debug for the easier things. I'm using a Saleae Logic Analyzer to debug the protocols (serial, i2c, spi, ecc), and my Segger J-link with GDB when it's necessary :)
        And yes, it's simple to use an IDE if the IDE support the makefiles.

    • Hi Alberto, your tools work very nice (Win7-64) :)

      How do you do debugging?

      Is it simple to use IDE for WIN using your tools?

      I'm having trouble evaluating VRIDEPRO, I'm looking into path and include issues.

This reply was deleted.