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.
In BSL, the program start address does not work.
Condition:
mcu: msp430F5419A,
I used BSL scripter. (3.1.0.0)
It uses the IAR compiler.
I used rocket BSL and downloaded A_app.txt and B_app.txt.
situation:
Even if SET_PC is performed with the program start address in BSL,
It does not jump to the original program position.
After BSL execution of A_app.txt file, if SET_PC is set to reset vector 0xFFFE, A_app.txt program restarts the program.
After executing BSL of B_app.txt file, if SET_PC is set to reset vector 0xFFFE, B_app.txt program does not restart program.
Even if SET_PC is set as the program start address, normal program start is not performed for the B_app.txt program.
Question 1: After the bootloader operation is finished by performing set_PC as a reset vector in BSL
Can you make it reset? Disconnecting power is not considered.
Question 2: In BSL, by doing set_PC with the program address,
Can you make it a normal program? Disconnecting power is not considered.
Thanks for reading the question.
Hi Naru,
Does the A.txt and B.txt have some different?
After BSL execution of A_app.txt file, if SET_PC is set to reset vector 0xFFFE, A_app.txt program restarts the program.
After executing BSL of B_app.txt file, if SET_PC is set to reset vector 0xFFFE, B_app.txt program does not restart program.
SET_PC can reset MCU normally, don't need power cycle.
Thanks!
Best Regards
Johnson
**Attention** This is a public forum