Thanks to this group, I have been using the msp430/gcc toolchain and the
BSL updater "bsl-updater.nsi" successfully with an MSP430F448.
Yesterday I added some fixed parameters to be stored in the information
segments at 0x1000-0x10ff, by adding a const array of ints with the
__attribute((section(".infomemA"))) syntax and adding this section to
the linker command line. The resulting hex file shows the new values
correctly, and I can program the MSP430 with msp430-jtag through the
JTAG hardware. All good, so far.
Unfortunately, when I use the same hex file as the input to the
bsl-updater and create the standalone updater.exe and run it, the update
process dies after:
Download on COM4...
MSP430 Bootstrap Loader Version: 2.0
Mass Erase...
Transmit default password ...
Invoking BSL...
Transmit default password ...
Current bootstrap loader version: 1.60 (Device ID: f449)
Program ...
40978 bytes programmed.
Write InfoSegs ...
An error occoured:
NAK received (wrong password?)
An error occurred, could not write target.
Aborted.
Can anyone advise me as to why adding data in the 0x1000-0x10ff range
would cause the BSL to fail? What is happening at the line "Write
InfoSegs"?
Larry