In file target/str710.cfg got accidentally modified with a missing close
bracket on second line below:
:
$_TARGETNAME configure -event reset-start { jtag_khz 1000 }
$_TARGETNAME configure -event reset-init { jtag_khz 1000
$_TARGETNAME configure -event gdb-flash-erase-start {
flash protect 0 0 7 off
flash protect 1 0 1 off
}
:
This caused the gdb command "load file.elf" to not program flash. No
error appeared in the openocd output or in gdb. It appeared to go
through the motions of programming flash. In openocd nothing printed
indicating a problem. When the bracket is present, openocd prints that
flash sectors are being unprotected.
The user was trying to modify the jtag speed and somehow deleted the
closing bracket. Granted, this should not have been done, but should
openocd flag an error with type of config file syntax error?
-gene
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development