This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
My project replaces the bootstrap loader with one for programming via RS232. When I program an MSP430F5522 with the MSP-FET430 UIF, the BSL memory gets properly updated and subsequent re-programming via RS232 can take place. However when I create a hex file (using TI's hex430 application) for use with the MSP430 Flash Gang Programmer, while most of the program is loaded, the BSL section does not appear to be. After initial programming with the MSP430 Flash Gang Programmer, I'm unable to re-program via RS232.
I have the check box "BSL Memory" checked within the MSP430 Flash Gang Programmer application.
Attempting to re-program via RS232 gives me the error: Unhandled Exception: System.AccessViolationException: Attempted to read or write
protected memory.
Within the Gang Programmer's User Manual it discusses the idea of programming the BSL into the device using the GUI via:
"The BSL and the application are combined in one file (.txt or Intel hex format). Set the correct path
in either of the "File Names" fields and press the "Load Image(s)" button."
I was thinking the 430hex application would create this combined hex file for me, but maybe that is not the case?
Brent Huebert said:... I was thinking the 430hex application would create this combined hex file for me, but maybe that is not the case?
You could examine the txt or hex file yourself to see if locations 0x1000-0x17FF are included or not. They are pure ASCII text files.
I think you're on to something. Those locations do not appear to be in the hex file. (Looks to begin with Flash space--i.e. 0x8000) Is there a way to ensure the 430hex application includes those address locations?
The Linker may be able to generate txt or hex files directly. IAR KickStart has that option. I do not know if others do that or not. I never used 430hex.
Looks like CCSV4 does have that option. I just needed to use it. Thanks for the help.
**Attention** This is a public forum