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.
Hi,
I meet a issue when burning msp430 firmware.
When msp430 bootup, it run my code that just set a gpio to turn on a LED.
After I set bsl entry sequence at rst and test pin, msp430 can enter bsl mode.
But I found after about <1 second, the gpio will reset to default and LED will be turn off, but bsl on UART is still working.
Is this the correct behaviour of the GPIO?
Thanks
Pan Zhenjie
Hello Pan Zhenjie,
Let me repeat the step to make sure I understand this correctly:
During the power up / reset , the first thing runs on the device is the bootcode (factory application that is programmed in ROM). The bootcode will read if there any BSL sequence is given. If yes, it executed the BSL application that is programmed in BSL area @1000h. If there is no BSL sequence given, it will run the application that referred by reset vector.
Could you provide more information which GPIO that you setup for LED? In case you use the same BSL pins for the LED--most of the case is the BSL TX pin, you could find the behavior that the LED still on even though you entered the BSL. The reason is that after the BSL is executed, the BSL TX pin will be pulled high, so it applies the voltage to the LED as well.
**Attention** This is a public forum