Carles Perello wrote:
On Thu, 2002-11-28 at 11:13, Bernard MONDAN wrote:
But Sometime I have another message something like cannot write ...
and on my bash windows I have this message : error: msp430: Could
not write device memory (7)
Probably I do not unstand something but What ??
hmm seems that issuing the command
monitor erase all
load
solves the problem...probably insight frontend does not issue the
commands correctly for this target
gdb hasn't a clue about devices with flash. It has been used for a lot
of embedded work for years, but still hasn't caught up with the special
qualities MCUs have.
gdb never issues a "monitor erase all" for itself. You have to do it.
I'd like to automate it, but it isn't clear how to do that without
annoying side-effects.
Regards,
Steve