Title says most.
I’m running version 0.4.0, using the Olimex JTAG-tiny, and starting up with
openocd -f interface/olimex-jtag-tiny.cfg -f target/stm32.cfg
I can query RAM, write registers and have ports work correctly (lighting up the LEDs is always an essential first step – yes?)
But when I try to write to flash I get the message “Error: No flash at address 0x00000000”.
I’m typing “reset halt”, then “flash write_image erase code/st/Debug/myprogram.elf”. Open OCD responds with:
auto erase enabled
Info : device id = 0x20036410
Info : flash size = 128kbytes
Error: No flash at address 0x00000000
Error: No flash at address 0x0001b358
wrote 0 bytes from file code/st/Debug/myprogram.elf in 0.004079s (0.000 kb/s)
Does anyone have a clue what I’m doing wrong here? This process works perfectly on my Luminary parts.