Other Parts Discussed in Thread: MSP430F5529, MSP430F5418
Hi everyone.
At first, I am pretty angry about this stuff and all Texas Instruments documentation about it. Or documentation is OK and I am just stupid.
I did not fing ANY nice HOW TO app note. I need only step by step manual.
1. I have an application with MSP430F5529
2. I need to program it via UART BSL. Sounds simple? Not even close..
I found this on ti.com page:
http://www.ti.com/tool/mspbsl?keyMatch=BSL&tisearch=Search-EN-Everything#1
So for me is important (I think) BSL-SCRIPTER and CUSTOM-BSL430.
3. In CUSTOM-BSL43 folder is this file:
5xx_6xx_Released_BSL_Images\MSP430F552x_550x_Family\UART BSL\BSL.00.07.05.04.txt
Logically it could be a image of bootloader file which I have to write into MSP430F5529, right? So I tried to download it into MSP430F5529 using FET-Pro430 and MSP-FET430UIF programmer. When I hit "WRITE FLASH" it yells on me "Code size exceeds FLASH memory". WHAT???
4. OK, I tried to build source code in 5xx_6xx_Example_BSL_Source of folder above. I changed device type to MSP430F5529 (original is MSP430F5418 ). Compilation is OK, but I get an error while download this code to MSP430F5529 from CCS. That error says:
Load program Error
File D:/blablabla.out: A data verification error occured, file load failed.
So I cannot get UART bootloader into MSP430F5529 memory. Why and how? All right - I know why. It must be enabled in properties -> debug -> MSP properties -> select Erase main, information and protected information memory, and select Allow Read/write/erase BSL memory
HW question:
I have connected UART lines to P1.1 (transmitt pin on MSP) and P1.2 (receive pin on MSP). On the ports !RST and TEST I have pushbuttons to entry bootloader sequence. In SLAU319 is written the entry sequence. MSP430F5529 using shared JTAG pins. So I push RESET button (signal goes to low) -> push TEST button (signal goes high) -> release RESET button and released TEST button.
Config file for BSL-SCRIPTER:
MODE 5xx UART 9600 COM29 DELAY 1000 MASS_ERASE RX_DATA_BLOCK LED.txt
In LED.txt is compiled file for blinking of LED. I run this program like this:
bsl-scripter-windows.exe config.txt
I really DO NOT want to spend a hours of testing, compiling and debugging stuffs what have to work immedietaly! I DO NOT have enough time for this. ANY help is really appreciated! Thank you.