On 15/06/2016 11:45, Andreas Fritiofson wrote:
Didn't you say you had some corrupted option bytes on the target that
failed programming? Have you restored them? Or do they keep getting
corrupt? Especially the HW IWDG option can/will interfere with the
flashing algorithm. I suspect the "unlock" argument if the option
bytes get corrupted by OpenOCD. That step is not performed as part of
GDB load. Perhaps write (un-)protection is not supported for the F7, Uwe?
Yes, I can confirm that on stm32f746 both 'write_image flash erase
unlock' and 'flash protect 0 0 last off' corrupt the option bytes
(IWDG_STOP IWDG_STDBY and WWDG_SW) and further programming doesn't work
anymore.
By the way, for flashing from the command line, use the "program"
script. E.g.
openocd -f board/stm32f7discovery.cfg -c
"program Debug-MB1191B-0/LCDTest.elf verify reset exit"
/Andreas
Interesting, where I can find the program script?
Cheers,
Claudio Lanconelli
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel