Does OpenOCD support the new, higher density memory versions of the STM32?
Andy
Does OpenOCD support the new, higher density memory versions of the STM32?
Andy
as of svn version 674, but best to use latest - currently 706.
Cheers
Spen
Thanks! Except I’m not set up to build from the source.
Is there a place where I can find this svn rev built already?
Alternately, what do I need to install to build under Windows?
Andy
Spencer,
Nevermind about the build. We got it rebuilt from the sources under Cygwin.
I did have some trouble flashing with my previous script of:
halt
reset
flash erase_sector 0 0 255
flash write_bank 0 executable.bin 0
Flashing kept returning an error of -902, which looks like its cause either by a write protect error or programming error on the flash. I did an “STM32x unlock 0” at some point. What did that do?
I changed my load script to:
halt
reset
stm32x mass_erase 0
flash write_bank 0 executable.bin 0
and it seems to work reliably.
Any idea why the first one was giving me errors? These was a never-before programmed part from ST.
Thanks for your great work here!
Andy
Andy,
-902 means the flash operation failed - without a log it is hard to tell why.
could you provide a log?
Cheers
Spen
Andy,
just spotted a small issue with the stm32 probe - try the latest from svn now.
Cheers
Spen