Olimex Support Forum

DUINO => MAPLE => Topic started by: michalgce on September 03, 2013, 10:28:38 PM

Title: [Question] Upload hex file into Olimexino-STM32 rev.B
Post by: michalgce on September 03, 2013, 10:28:38 PM
Hello. I would like to know if it is possible to upload hex file into Olimexino using on board usb port. I have compiled program (Afroflight32) and would like to upload it.

Would be great full for any advice's

Title: Re: [Question] Upload hex file into Olimexino-STM32 rev.B
Post by: LubOlimex on September 04, 2013, 08:24:16 AM
Hello there,

There are three main ways of programming the OLIMEXINO-STM32 - using the mini USB via the Maple IDE; using external programmer tool connected to the mini JTAG pins; using the internal bootloader on the USART (as explained here: http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf (http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf)).

The last one should come handy at your side but we haven't provided easy way to do it, since we considered the board Maple exclusive and that is the recommended way to use it. Our general purpose STM32 boards have the boot memory jumpers allowing easier access to the built-in the ROM memory STM32 bootloader. Still it is possible to enter bootloader mode following the link above. If you manage to enter bootloader mode you might want to check the two resources (an application and an explanation note) located here: http://www.st.com/web/en/catalog/tools/PF257525 (http://www.st.com/web/en/catalog/tools/PF257525).

Edit: if you go with a JTAG tool a good idea is to have an adapter of this kind to interface the board: https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-20-10/ (https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-20-10/)

Best regards,
Lub/OLIMEX