Other Parts Discussed in Thread: MSP-FET, UNIFLASH
Hi there,
I have the problem, that I don't get to work the programming of the MSP430FR2532 with UART. (No ACK from BSL)
What I want to do:
- reason X call a function while main application on the MCU is running and set the PC Counter @ 0x1000
- erase the memory but not the flash
- send the new application program over UART to the BSL and write it to the memory
- set PC Counter @ 0xE000 to run the new application version
That I have done so far:
- erase all memory (FET-Pro430 set all to 0xFF) so that the BSL will be invoked directly
- power on the MCU
- send from the PC with the program HTerm (9600,8E1) and an FTDI (FT232RL) the following code to the ports 1.4,5 (Tx, Rx) of the MCU:
-> wrong password to erase the device:
[80] [21] [00] [11] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [00] [00] [91] [fb]
-> right password:
[80] [21] [00] [11] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [9e] [e6]
-> download test application code at 0xE000:
[80] [84] [00] [10] [00] [e0] [00]...
->set PC Counter to 0xE000
[80] [04] [00] [17] [00] [e0] [00] [f8] [de]
What's my problem here:
- don't get an ACK from the BSL
Other Questions beside:
Does the PullUp resistor on RST (P 1.0) for programming the MCU with the MSP-FET interface disturb my plan? Thought not, because I either will skip the hardware BSL invocation by blank detection or use software BSL invocation.
Is it possible to work with the BSL Scripter on Windows?