Bryce Himebaugh wrote:
Hello,
I am working with Dr. Brown on the issue of our DCO cal code behaving
differently in gdb than from cold reset. Apparently the "load code.elf"
gdb operation leaves the MSP430 in a state that is different than cold
reset. It now makes sense that this would likely be the case. However, I
did not catch it at first because other pieces of code have worked fine
in gdb without a reset.
I have noticed that the flash lock bit is always cleared (i.e. unlocked)
after doing a load then continue, where as it is set after a reset.
Maybe the load does some other things, it may use some of the DCO for
the flash write clock when doing a load.
--
Peter Jansen