SparkFun Forums 

Where electronics enthusiasts find answers.

Everything ARM and LPC
By Amplifier
#133416
Hello
I am a little confused about how to flash the code on to the target stm32-h107 board. The board has the USB interface , so if it is possible to flash directly through usb , then please tell me how to do it,or what tool/software should i use to do it. I also want to know what available compilers and IDE for coding stm32-controllers.

Thank you
By Amplifier
#133465
Thanks for the reply.
The target board is olimex stm32-h107 has stm32f107 controller on it. Is a wiggler (parallel port wiggler jtag (ref link==http://elk.informatik.fh-augsburg.de/hhweb/doc/openocd/)) type jtag suitable for flashing and debugging the stm32f uc?
And one more thing does there exist a usb bootloader for this target ? so that i can flash the target using jtag for the first time and then ,regularly use usb interface on board for flashing the code on to the target.

Waiting for reply :)
By rmteo1
#133471
You can program (and/or debug) any STM32F device using SWD, only 4 connections are needed - inclusive of VCC and GND through the standard 20-pin JTAG connector. You can use this ($25) http://search.digikey.com/scripts/DkSea ... &k=st-link or this (<$12) http://search.digikey.com/scripts/DkSea ... ldiscovery which also includes a development board for the STM32F100 series. Both are USB.
Image
As noted above, ST-Link is a supported target in Crossworks (and TrueStudio). Or you can use the free STM32 ST-Link utility to program the device.