[riot-users] OpenOCD + STM32F4

Pierre Ficheux pierre.ficheux at openwide.fr
Thu Apr 2 11:44:45 CEST 2015


Hi all,

I try to use OpenOCD after reading :

https://github.com/RIOT-OS/RIOT/wiki/OpenOCD
https://github.com/RIOT-OS/RIOT/wiki/Board%3A-STM32F4discovery

The 'flash banks' command works fine:

> flash banks
#0 : stm32f4x.flash (stm32f2x) at 0x08000000, size 0x00100000, buswidth 0, chipwidth 0

but 'flash write' returns an error :

> flash write_image erase unlock /home/pierre/developpement/OW/IOT/RIOT/tests/led_blink/bin/stm32f4discovery/led_blink.hex 0x08000000
auto erase enabled
auto unlock enabled
no flash bank found for address 10000000  <-- ??
no flash bank found for address 10003370  <-- ??


A simple 'make BOARD=stm32... flash' works fine.

Any idea?

thx

-- 
Pierre FICHEUX -/- CTO OW/OWI, France -\- pierre.ficheux at openwide.fr
                                         http://ingenierie.openwide.fr
                                         http://www.linuxembedded.fr
I would love to change the world, but they won't give me the source code


More information about the users mailing list