SlideShare une entreprise Scribd logo
1  sur  17
Télécharger pour lire hors ligne
vrobotix-ide-pro




                                          Manual




Nome File      vrobotix-ide-pro_1_0.doc                Versione   1.0
Autore         Micheletti Luca Angelo                  Data       02/02/2012
Approvato da   Navoni Roberto                          Data       02/02/2012
                                                       Stato      RELEASE
vrobotix-ide-pro                                          Stato        RELEASE


                                      Manual                                                Data         02/02/2012



0      Document management
0.1        Document versions

Ver.      Author                        Date                Description

1.0       Micheletti Luca Angelo        02/02/2012          Description of procedure to compile and
                                                            program the board Multipilot32 F1 and F4




0.2        References to other documents

Nr.      Name                                        Description




0.3        List of contributions

Function                                                   Name




                                            FOXTEAM UAV CLAN

                                              Laser Navigation s.r.l.
    Versione 1.0                     Via Matteotti, 34 - 24054 Calcio (BG) Italy                    Pagina 2 di 17
                      tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                            C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                              ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
vrobotix-ide-pro                                          Stato        RELEASE


                                    Manual                                                Data         02/02/2012



0.4       Acronyms and definitions

In the current document uses terms and acronyms whose definition is given as follows:

Name                                   Description




                                          FOXTEAM UAV CLAN

                                            Laser Navigation s.r.l.
   Versione 1.0                    Via Matteotti, 34 - 24054 Calcio (BG) Italy                    Pagina 3 di 17
                    tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                          C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                            ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
vrobotix-ide-pro                                                               Stato                   RELEASE


                                                    Manual                                                                   Data                    02/02/2012




SUMMARY
 0 DOCUMENT MANAGEMENT ................................................................................ 2
 0.1 DOCUMENT VERSIONS ........................................................................................... 2
 0.2 REFERENCES TO OTHER DOCUMENTS ..................................................................... 2
 0.3 LIST OF CONTRIBUTIONS ........................................................................................ 2
 0.4 ACRONYMS AND DEFINITIONS ................................................................................. 3
 1 INTRODUCTION .................................................................................................... 7
 2     INSTALLATION ..................................................................................................... 7
 3 IDE ......................................................................................................................... 8
 3.1 ACOPTER32-X.X.X (MULTIPILOT32F1).................................................................... 9
   3.1.1 Configuration ................................................................................................ 9
   3.1.2 Compiling.................................................................................................... 10
   3.1.3 Compiling and programming ....................................................................... 10
   3.1.4 Programming .............................................................................................. 11
       3.1.4.1     DFU.....................................................................................................................................11
       3.1.4.2     STM32 ST-LINK Utility with ST-LINK/V2 .............................................................................11
     3.1.5       Debugging .................................................................................................. 12
       3.1.5.1     ST-LINK/V2 .........................................................................................................................12
 3.2 MP32F4XX (MULTIPILOT32F4) ............................................................................ 13
   3.2.1 Configuration .............................................................................................. 13
   3.2.2 Compiling.................................................................................................... 14
   3.2.3 Programming .............................................................................................. 14
       3.2.3.1     STM32 ST-LINK Utility with ST-LINK/V2 .............................................................................14
       3.2.3.2     DfuSe ..................................................................................................................................15
     3.2.4       Debugging .................................................................................................. 17
       3.2.4.1     ST-LINK/V2 .........................................................................................................................17




                                                           FOXTEAM UAV CLAN

                                                    Laser Navigation s.r.l.
 Versione 1.0                              Via Matteotti, 34 - 24054 Calcio (BG) Italy                                                       Pagina 4 di 17
                            tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                                  C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                                    ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
vrobotix-ide-pro                                          Stato        RELEASE


                               Manual                                                Data         02/02/2012




INDEX OF ILLUSTRATIONS




                                     FOXTEAM UAV CLAN

                                       Laser Navigation s.r.l.
Versione 1.0                  Via Matteotti, 34 - 24054 Calcio (BG) Italy                    Pagina 5 di 17
               tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                     C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                       ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
vrobotix-ide-pro                                          Stato        RELEASE


                               Manual                                                Data         02/02/2012




INDEX OF TABLES




                                     FOXTEAM UAV CLAN

                                       Laser Navigation s.r.l.
Versione 1.0                  Via Matteotti, 34 - 24054 Calcio (BG) Italy                    Pagina 6 di 17
               tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                     C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                       ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
vrobotix-ide-pro                                          Stato        RELEASE


                                     Manual                                                Data         02/02/2012




1       Introduction
The environment provided contains the following folders:

    •    arm: this folder contains the GNU compiler toolchain (CodeSourcery 4.5.2)

    •    cygwin: this folder contains tools for compatibility with linux

    •    eclipse: this folder contains the IDE Eclipse Indigo

    •    openocd: this folder contains tools for debugging with OpenOCD (version 0.5.0)

    •    ST-LINK_gdbserver: this folder contains tools for debugging with ST-LINK/V2

    •    workspace: this folder contains the source code


2       Installation
The environment is configured to be installed in C:LavoroMultipilot32IDEvrobotix-ide-pro.
Where was installed in a different folder you need to do some configuration described below.




                                           FOXTEAM UAV CLAN

                                             Laser Navigation s.r.l.
 Versione 1.0                       Via Matteotti, 34 - 24054 Calcio (BG) Italy                    Pagina 7 di 17
                     tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                           C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                             ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
vrobotix-ide-pro                                          Stato        RELEASE


                                     Manual                                                Data         02/02/2012




3       IDE
    •   Start the program eclipse.exe from the folder eclipse

    •   Select the folder of workspace (path of folder workspace of environment)




                                 Figure 1: vrobotix IDE Eclipse Indigo based
The projects are:

    •   ACopter32-x.x.x: source code for Multipilot32F1 (source code based on leaflabs’s
        libraries libmaple)

    •   MP32F4xx: source code for Multipilot32F4 (source code based on STM’s standard
        libraries)




                                           FOXTEAM UAV CLAN

                                             Laser Navigation s.r.l.
 Versione 1.0                       Via Matteotti, 34 - 24054 Calcio (BG) Italy                    Pagina 8 di 17
                     tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                           C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                             ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
vrobotix-ide-pro                                          Stato        RELEASE


                                     Manual                                                Data         02/02/2012



3.1       ACopter32-x.x.x (Multipilot32F1)

3.1.1           Configuration

Right click on ACopter32-x.x.x and select Properties. Into C/C++ Build tab (figure 2) there are
properties for compiling source code and programming the board with DFU.

Select tab Behaviour: the option Build (Incremental build) contains the options for launching
makefile:

   •    sketch: compiles all the source code according to the settings in the Makefile

   •    install: install the program on the board through the DFU. If the board is not connected
        the compilation will be performed while the program will generate an error




                       Figure 2: Properties C/C++ Build of Project ACopter32-x.x.x
Right click on ACopter32-x.x.x and select Properties. Into C/C++ Build/Environment tab
(figure 3) there are settings for the environment’s paths.

The paths configured are:

   •    C:LavoroMultipilot32IDEvrobotix-ide-proarmbin;

   •    C:LavoroMultipilot32IDEvrobotix-ide-procygwinbin;
                                           FOXTEAM UAV CLAN

                                             Laser Navigation s.r.l.
 Versione 1.0                       Via Matteotti, 34 - 24054 Calcio (BG) Italy                    Pagina 9 di 17
                     tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                           C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                             ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
vrobotix-ide-pro                                          Stato         RELEASE


                                     Manual                                                Data          02/02/2012


   •    C:LavoroMultipilot32IDEvrobotix-ide-proopenocdbin;

   •    C:LavoroMultipilot32IDEvrobotix-ide-proST-LINK_gdbserver

Replace the root of the path (C:LavoroMultipilot32IDEvrobotix-ide-pro) with the path of the
folder (vrobotix-ide-pro) where you installed the IDE




                       Figure 3: Properties Environment of Project ACopter32-x.x.x
3.1.2           Compiling

Right click on ACopter32-x.x.x project and select Build Project. Eclipse compiles the source
code and program the board (if you specify the install option as shown in figure 2 and the board
is connected). The compilation generate files board.bin, board.hex and board.elf for
debugging in the folder workspaceACopter32-x.x.xbuild where board is the name of board
specified into Makefile (BOARD ?= laserlab_MP32V1F1 or BOARD ?= laserlab_MP32V3F1)

3.1.3           Compiling and programming

   •    Specify the option install as shown in figure 2

   •    Connect Multipilot32F1 with USB cable to PC

   •    Right click on ACopter32-x.x.x project and select Build Project. Eclipse compiles the
        source code and program the board. The compilation generate files board.bin,
                                           FOXTEAM UAV CLAN

                                             Laser Navigation s.r.l.
 Versione 1.0                       Via Matteotti, 34 - 24054 Calcio (BG) Italy                    Pagina 10 di 17
                     tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                           C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                             ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
vrobotix-ide-pro                                          Stato         RELEASE


                                      Manual                                                Data          02/02/2012


        board.hex and board.elf for debugging in the folder workspaceACopter32-
        x.x.xbuild where board is the name of board specified into Makefile (BOARD ?=
        laserlab_MP32V1F1 or BOARD ?= laserlab_MP32V3F1)

3.1.4           Programming

3.1.4.1          DFU

    •   Specify the option install as shown in figure 2

    •   Connect Multipilot32F1 with USB cable to PC

    •   Right click on ACopter32-x.x.x project and select Build Project. Eclipse compiles the
        source code and program the board. The compilation generate files board.bin,
        board.hex and board.elf for debugging in the folder workspaceACopter32-
        x.x.xbuild where board is the name of board specified into Makefile (BOARD ?=
        laserlab_MP32V1F1 or BOARD ?= laserlab_MP32V3F1)

3.1.4.2          STM32 ST-LINK Utility with ST-LINK/V2

    •   Download the STM32 ST-LINK Utility at link

http://www.st.com/internet/com/SOFTWARE_RESOURCES/TOOL/DEVICE_PROGRAMMER/s
tm32_st-link_utility.zip

    •   Install the utility and start it

    •   Connect Multipilot32F1 with USB cable to PC

    •   From menu Target select Connect

    •   From menu File select open file and search the file board.hex into the folder
        workspace/ACopter32-x.x.x/build and load it on board

    •   From menu Target select Disconnect

    •   Restart the board




                                            FOXTEAM UAV CLAN

                                              Laser Navigation s.r.l.
 Versione 1.0                        Via Matteotti, 34 - 24054 Calcio (BG) Italy                    Pagina 11 di 17
                      tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                            C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                              ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
vrobotix-ide-pro                                          Stato         RELEASE


                                     Manual                                                Data          02/02/2012




                                       Figure 4: STM32 ST-LINK Utility
3.1.5           Debugging

3.1.5.1          ST-LINK/V2




                                           FOXTEAM UAV CLAN

                                             Laser Navigation s.r.l.
 Versione 1.0                       Via Matteotti, 34 - 24054 Calcio (BG) Italy                    Pagina 12 di 17
                     tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                           C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                             ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
vrobotix-ide-pro                                          Stato         RELEASE


                                     Manual                                                Data          02/02/2012



3.2       MP32F4xx (Multipilot32F4)

3.2.1           Configuration

Right click on ACopter32-x.x.x and select Properties. Into C/C++ Build/Environment tab
(figure 3) there are settings for the environment’s paths.

The paths configured are:

   •    C:LavoroMultipilot32IDEvrobotix-ide-proarmbin;

   •    C:LavoroMultipilot32IDEvrobotix-ide-procygwinbin;

   •    C:LavoroMultipilot32IDEvrobotix-ide-proopenocdbin;

   •    C:LavoroMultipilot32IDEvrobotix-ide-proST-LINK_gdbserver

Replace the root of the path (C:LavoroMultipilot32IDEvrobotix-ide-pro) with the path of the
folder (vrobotix-ide-pro) where you installed the IDE




                          Figure 5: Properties Environment of Project MP32F4xx




                                           FOXTEAM UAV CLAN

                                             Laser Navigation s.r.l.
 Versione 1.0                       Via Matteotti, 34 - 24054 Calcio (BG) Italy                    Pagina 13 di 17
                     tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                           C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                             ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
vrobotix-ide-pro                                          Stato         RELEASE


                                      Manual                                                Data          02/02/2012


3.2.2           Compiling

Right click on MP32F4xx project and select Build Project. Eclipse compiles the source code.
The compilation generate files mp32f4.bin, mp32f4.hex and mp32f4.elf for debugging in the
folder workspaceMP32F4xxFLASH_RUN

3.2.3           Programming

3.2.3.1           STM32 ST-LINK Utility with ST-LINK/V2

    •   Download the STM32 ST-LINK Utility at link

http://www.st.com/internet/com/SOFTWARE_RESOURCES/TOOL/DEVICE_PROGRAMMER/s
tm32_st-link_utility.zip

    •   Install the utility and start it

    •   Connect Multipilot32F4 with USB cable to PC

    •   From menu Target select Connect

    •   From menu File select open file and search the file mp32f4.bin into the folder
        workspace/MP32F4xx/FLASH_RUN and load it on board

    •   From menu Target select Disconnect

    •   Restart the board




                                            FOXTEAM UAV CLAN

                                              Laser Navigation s.r.l.
 Versione 1.0                        Via Matteotti, 34 - 24054 Calcio (BG) Italy                    Pagina 14 di 17
                      tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                            C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                              ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
vrobotix-ide-pro                                          Stato         RELEASE


                                      Manual                                                Data          02/02/2012




                                        Figure 6: STM32 ST-LINK Utility
3.2.3.2         DfuSe

   •    Download the DfuSe Utility at link

http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/SW_DEMO/u
m0412.zip

   •    Install the utility

   •    Run DFU File Manager from Programs/STMicroelectronics/DfuSe. This tool is used
        to generate the file dfu from file hex generated during compilation to be loaded on board




                                            FOXTEAM UAV CLAN

                                              Laser Navigation s.r.l.
 Versione 1.0                        Via Matteotti, 34 - 24054 Calcio (BG) Italy                    Pagina 15 di 17
                      tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                            C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                              ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
vrobotix-ide-pro                                          Stato         RELEASE


                                   Manual                                                Data          02/02/2012




                                 Figure 7: DFU File Manger - Want to do




                                Figure 8: DFU File Manager - Generation
  •    Select option I want GENERATE a DFU file from S19, HEX or BIN files and select OK

  •    Search file mp32f4.bin or mp32f4.hex into workspace/MP32F4xx/FLASH_RUN and
       specify the path and name of file dfu to be created

  •    Remove the jumper JP6 from VR-IMU

  •    Connect Multipilot32F4 with USB cable to PC

  •    Run DfuSe Demonstration from Programs/STMicroelectronics/DfuSe.




                                         FOXTEAM UAV CLAN

                                           Laser Navigation s.r.l.
Versione 1.0                      Via Matteotti, 34 - 24054 Calcio (BG) Italy                    Pagina 16 di 17
                   tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                         C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                           ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
vrobotix-ide-pro                                          Stato         RELEASE


                                     Manual                                                Data          02/02/2012




                                              Figure 9: DfuSe Demo
   •    Select button Choose… and search the file dfu previously created

   •    Select button Upgrade to transfer the file to the board

   •    Disconnect the board

   •    Put the jumper JP6 on VR-IMU

3.2.4           Debugging

3.2.4.1          ST-LINK/V2




                                           FOXTEAM UAV CLAN

                                             Laser Navigation s.r.l.
 Versione 1.0                       Via Matteotti, 34 - 24054 Calcio (BG) Italy                    Pagina 17 di 17
                     tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it
                           C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226
                             ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L

Contenu connexe

Similaire à Setup and Use Vrobotix IDE for Multipilot32 Development

데이타로직 DS2200 1D 산업용 고정식 바코드스캐너 산업용 레이저스캐너 매뉴얼
데이타로직 DS2200 1D 산업용 고정식 바코드스캐너 산업용 레이저스캐너 매뉴얼데이타로직 DS2200 1D 산업용 고정식 바코드스캐너 산업용 레이저스캐너 매뉴얼
데이타로직 DS2200 1D 산업용 고정식 바코드스캐너 산업용 레이저스캐너 매뉴얼HION IT
 
Bounty bout 0x01 - WebRTC edition
Bounty bout 0x01 - WebRTC editionBounty bout 0x01 - WebRTC edition
Bounty bout 0x01 - WebRTC editionSandro Gauci
 
ts_ETSI_101154v010901p
ts_ETSI_101154v010901pts_ETSI_101154v010901p
ts_ETSI_101154v010901paniruddh Tyagi
 
ts_ETSI_101154v010901p
ts_ETSI_101154v010901pts_ETSI_101154v010901p
ts_ETSI_101154v010901paniruddh Tyagi
 
ts_ETSI_101154v010901p
ts_ETSI_101154v010901pts_ETSI_101154v010901p
ts_ETSI_101154v010901pAniruddh Tyagi
 
Dvb si en-300468v010701p
Dvb si en-300468v010701pDvb si en-300468v010701p
Dvb si en-300468v010701pherooftit01
 
en_ETSI_302769v010101v
en_ETSI_302769v010101ven_ETSI_302769v010101v
en_ETSI_302769v010101vAniruddh Tyagi
 
en_ETSI_302769v010101v
en_ETSI_302769v010101ven_ETSI_302769v010101v
en_ETSI_302769v010101vaniruddh Tyagi
 
en_ETSI_302769v010101v
en_ETSI_302769v010101ven_ETSI_302769v010101v
en_ETSI_302769v010101vaniruddh Tyagi
 
Gs nfv inf004v010101p
Gs nfv inf004v010101pGs nfv inf004v010101p
Gs nfv inf004v010101psivakumar D
 

Similaire à Setup and Use Vrobotix IDE for Multipilot32 Development (20)

데이타로직 DS2200 1D 산업용 고정식 바코드스캐너 산업용 레이저스캐너 매뉴얼
데이타로직 DS2200 1D 산업용 고정식 바코드스캐너 산업용 레이저스캐너 매뉴얼데이타로직 DS2200 1D 산업용 고정식 바코드스캐너 산업용 레이저스캐너 매뉴얼
데이타로직 DS2200 1D 산업용 고정식 바코드스캐너 산업용 레이저스캐너 매뉴얼
 
Bounty bout 0x01 - WebRTC edition
Bounty bout 0x01 - WebRTC editionBounty bout 0x01 - WebRTC edition
Bounty bout 0x01 - WebRTC edition
 
ts_ETSI_101154v010901p
ts_ETSI_101154v010901pts_ETSI_101154v010901p
ts_ETSI_101154v010901p
 
ts_ETSI_101154v010901p
ts_ETSI_101154v010901pts_ETSI_101154v010901p
ts_ETSI_101154v010901p
 
ts_ETSI_101154v010901p
ts_ETSI_101154v010901pts_ETSI_101154v010901p
ts_ETSI_101154v010901p
 
Dvb si en-300468v010701p
Dvb si en-300468v010701pDvb si en-300468v010701p
Dvb si en-300468v010701p
 
en_302769v010101v
en_302769v010101ven_302769v010101v
en_302769v010101v
 
en_ETSI_302769v010101v
en_ETSI_302769v010101ven_ETSI_302769v010101v
en_ETSI_302769v010101v
 
en_302769v010101v
en_302769v010101ven_302769v010101v
en_302769v010101v
 
en_302769v010101v
en_302769v010101ven_302769v010101v
en_302769v010101v
 
en_ETSI_302769v010101v
en_ETSI_302769v010101ven_ETSI_302769v010101v
en_ETSI_302769v010101v
 
en_ETSI_302769v010101v
en_ETSI_302769v010101ven_ETSI_302769v010101v
en_ETSI_302769v010101v
 
Gs nfv inf004v010101p
Gs nfv inf004v010101pGs nfv inf004v010101p
Gs nfv inf004v010101p
 
ECMG & EMMG protocol
ECMG & EMMG protocolECMG & EMMG protocol
ECMG & EMMG protocol
 
tyagi 's doc
tyagi 's doctyagi 's doc
tyagi 's doc
 
ECMG & EMMG protocol
ECMG & EMMG protocolECMG & EMMG protocol
ECMG & EMMG protocol
 
tyagi 's doc
tyagi 's doctyagi 's doc
tyagi 's doc
 
tyagi 's doc
tyagi 's doctyagi 's doc
tyagi 's doc
 
ECMG & EMMG protocol
ECMG & EMMG protocolECMG & EMMG protocol
ECMG & EMMG protocol
 
Gsm 04.08
Gsm 04.08Gsm 04.08
Gsm 04.08
 

Dernier

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 

Dernier (20)

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 

Setup and Use Vrobotix IDE for Multipilot32 Development

  • 1. vrobotix-ide-pro Manual Nome File vrobotix-ide-pro_1_0.doc Versione 1.0 Autore Micheletti Luca Angelo Data 02/02/2012 Approvato da Navoni Roberto Data 02/02/2012 Stato RELEASE
  • 2. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 0 Document management 0.1 Document versions Ver. Author Date Description 1.0 Micheletti Luca Angelo 02/02/2012 Description of procedure to compile and program the board Multipilot32 F1 and F4 0.2 References to other documents Nr. Name Description 0.3 List of contributions Function Name FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 2 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
  • 3. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 0.4 Acronyms and definitions In the current document uses terms and acronyms whose definition is given as follows: Name Description FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 3 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
  • 4. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 SUMMARY 0 DOCUMENT MANAGEMENT ................................................................................ 2 0.1 DOCUMENT VERSIONS ........................................................................................... 2 0.2 REFERENCES TO OTHER DOCUMENTS ..................................................................... 2 0.3 LIST OF CONTRIBUTIONS ........................................................................................ 2 0.4 ACRONYMS AND DEFINITIONS ................................................................................. 3 1 INTRODUCTION .................................................................................................... 7 2 INSTALLATION ..................................................................................................... 7 3 IDE ......................................................................................................................... 8 3.1 ACOPTER32-X.X.X (MULTIPILOT32F1).................................................................... 9 3.1.1 Configuration ................................................................................................ 9 3.1.2 Compiling.................................................................................................... 10 3.1.3 Compiling and programming ....................................................................... 10 3.1.4 Programming .............................................................................................. 11 3.1.4.1 DFU.....................................................................................................................................11 3.1.4.2 STM32 ST-LINK Utility with ST-LINK/V2 .............................................................................11 3.1.5 Debugging .................................................................................................. 12 3.1.5.1 ST-LINK/V2 .........................................................................................................................12 3.2 MP32F4XX (MULTIPILOT32F4) ............................................................................ 13 3.2.1 Configuration .............................................................................................. 13 3.2.2 Compiling.................................................................................................... 14 3.2.3 Programming .............................................................................................. 14 3.2.3.1 STM32 ST-LINK Utility with ST-LINK/V2 .............................................................................14 3.2.3.2 DfuSe ..................................................................................................................................15 3.2.4 Debugging .................................................................................................. 17 3.2.4.1 ST-LINK/V2 .........................................................................................................................17 FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 4 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
  • 5. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 INDEX OF ILLUSTRATIONS FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 5 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
  • 6. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 INDEX OF TABLES FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 6 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
  • 7. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 1 Introduction The environment provided contains the following folders: • arm: this folder contains the GNU compiler toolchain (CodeSourcery 4.5.2) • cygwin: this folder contains tools for compatibility with linux • eclipse: this folder contains the IDE Eclipse Indigo • openocd: this folder contains tools for debugging with OpenOCD (version 0.5.0) • ST-LINK_gdbserver: this folder contains tools for debugging with ST-LINK/V2 • workspace: this folder contains the source code 2 Installation The environment is configured to be installed in C:LavoroMultipilot32IDEvrobotix-ide-pro. Where was installed in a different folder you need to do some configuration described below. FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 7 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
  • 8. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 3 IDE • Start the program eclipse.exe from the folder eclipse • Select the folder of workspace (path of folder workspace of environment) Figure 1: vrobotix IDE Eclipse Indigo based The projects are: • ACopter32-x.x.x: source code for Multipilot32F1 (source code based on leaflabs’s libraries libmaple) • MP32F4xx: source code for Multipilot32F4 (source code based on STM’s standard libraries) FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 8 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
  • 9. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 3.1 ACopter32-x.x.x (Multipilot32F1) 3.1.1 Configuration Right click on ACopter32-x.x.x and select Properties. Into C/C++ Build tab (figure 2) there are properties for compiling source code and programming the board with DFU. Select tab Behaviour: the option Build (Incremental build) contains the options for launching makefile: • sketch: compiles all the source code according to the settings in the Makefile • install: install the program on the board through the DFU. If the board is not connected the compilation will be performed while the program will generate an error Figure 2: Properties C/C++ Build of Project ACopter32-x.x.x Right click on ACopter32-x.x.x and select Properties. Into C/C++ Build/Environment tab (figure 3) there are settings for the environment’s paths. The paths configured are: • C:LavoroMultipilot32IDEvrobotix-ide-proarmbin; • C:LavoroMultipilot32IDEvrobotix-ide-procygwinbin; FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 9 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
  • 10. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 • C:LavoroMultipilot32IDEvrobotix-ide-proopenocdbin; • C:LavoroMultipilot32IDEvrobotix-ide-proST-LINK_gdbserver Replace the root of the path (C:LavoroMultipilot32IDEvrobotix-ide-pro) with the path of the folder (vrobotix-ide-pro) where you installed the IDE Figure 3: Properties Environment of Project ACopter32-x.x.x 3.1.2 Compiling Right click on ACopter32-x.x.x project and select Build Project. Eclipse compiles the source code and program the board (if you specify the install option as shown in figure 2 and the board is connected). The compilation generate files board.bin, board.hex and board.elf for debugging in the folder workspaceACopter32-x.x.xbuild where board is the name of board specified into Makefile (BOARD ?= laserlab_MP32V1F1 or BOARD ?= laserlab_MP32V3F1) 3.1.3 Compiling and programming • Specify the option install as shown in figure 2 • Connect Multipilot32F1 with USB cable to PC • Right click on ACopter32-x.x.x project and select Build Project. Eclipse compiles the source code and program the board. The compilation generate files board.bin, FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 10 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
  • 11. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 board.hex and board.elf for debugging in the folder workspaceACopter32- x.x.xbuild where board is the name of board specified into Makefile (BOARD ?= laserlab_MP32V1F1 or BOARD ?= laserlab_MP32V3F1) 3.1.4 Programming 3.1.4.1 DFU • Specify the option install as shown in figure 2 • Connect Multipilot32F1 with USB cable to PC • Right click on ACopter32-x.x.x project and select Build Project. Eclipse compiles the source code and program the board. The compilation generate files board.bin, board.hex and board.elf for debugging in the folder workspaceACopter32- x.x.xbuild where board is the name of board specified into Makefile (BOARD ?= laserlab_MP32V1F1 or BOARD ?= laserlab_MP32V3F1) 3.1.4.2 STM32 ST-LINK Utility with ST-LINK/V2 • Download the STM32 ST-LINK Utility at link http://www.st.com/internet/com/SOFTWARE_RESOURCES/TOOL/DEVICE_PROGRAMMER/s tm32_st-link_utility.zip • Install the utility and start it • Connect Multipilot32F1 with USB cable to PC • From menu Target select Connect • From menu File select open file and search the file board.hex into the folder workspace/ACopter32-x.x.x/build and load it on board • From menu Target select Disconnect • Restart the board FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 11 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
  • 12. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 Figure 4: STM32 ST-LINK Utility 3.1.5 Debugging 3.1.5.1 ST-LINK/V2 FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 12 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
  • 13. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 3.2 MP32F4xx (Multipilot32F4) 3.2.1 Configuration Right click on ACopter32-x.x.x and select Properties. Into C/C++ Build/Environment tab (figure 3) there are settings for the environment’s paths. The paths configured are: • C:LavoroMultipilot32IDEvrobotix-ide-proarmbin; • C:LavoroMultipilot32IDEvrobotix-ide-procygwinbin; • C:LavoroMultipilot32IDEvrobotix-ide-proopenocdbin; • C:LavoroMultipilot32IDEvrobotix-ide-proST-LINK_gdbserver Replace the root of the path (C:LavoroMultipilot32IDEvrobotix-ide-pro) with the path of the folder (vrobotix-ide-pro) where you installed the IDE Figure 5: Properties Environment of Project MP32F4xx FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 13 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
  • 14. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 3.2.2 Compiling Right click on MP32F4xx project and select Build Project. Eclipse compiles the source code. The compilation generate files mp32f4.bin, mp32f4.hex and mp32f4.elf for debugging in the folder workspaceMP32F4xxFLASH_RUN 3.2.3 Programming 3.2.3.1 STM32 ST-LINK Utility with ST-LINK/V2 • Download the STM32 ST-LINK Utility at link http://www.st.com/internet/com/SOFTWARE_RESOURCES/TOOL/DEVICE_PROGRAMMER/s tm32_st-link_utility.zip • Install the utility and start it • Connect Multipilot32F4 with USB cable to PC • From menu Target select Connect • From menu File select open file and search the file mp32f4.bin into the folder workspace/MP32F4xx/FLASH_RUN and load it on board • From menu Target select Disconnect • Restart the board FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 14 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
  • 15. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 Figure 6: STM32 ST-LINK Utility 3.2.3.2 DfuSe • Download the DfuSe Utility at link http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/SW_DEMO/u m0412.zip • Install the utility • Run DFU File Manager from Programs/STMicroelectronics/DfuSe. This tool is used to generate the file dfu from file hex generated during compilation to be loaded on board FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 15 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
  • 16. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 Figure 7: DFU File Manger - Want to do Figure 8: DFU File Manager - Generation • Select option I want GENERATE a DFU file from S19, HEX or BIN files and select OK • Search file mp32f4.bin or mp32f4.hex into workspace/MP32F4xx/FLASH_RUN and specify the path and name of file dfu to be created • Remove the jumper JP6 from VR-IMU • Connect Multipilot32F4 with USB cable to PC • Run DfuSe Demonstration from Programs/STMicroelectronics/DfuSe. FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 16 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L
  • 17. vrobotix-ide-pro Stato RELEASE Manual Data 02/02/2012 Figure 9: DfuSe Demo • Select button Choose… and search the file dfu previously created • Select button Upgrade to transfer the file to the board • Disconnect the board • Put the jumper JP6 on VR-IMU 3.2.4 Debugging 3.2.4.1 ST-LINK/V2 FOXTEAM UAV CLAN Laser Navigation s.r.l. Versione 1.0 Via Matteotti, 34 - 24054 Calcio (BG) Italy Pagina 17 di 17 tel.: +39 0363.968520 - fax: +39 0363 969244 - web: www.radionav.it C.F. e P.IVA 02737760161 - R.I. 231/2000 - R.E.A. 319226 ISO 9001/2008 Rina N. 8360/03/S - IQNet N.IT-29287L