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.

MSP430: Reset problem

Other Parts Discussed in Thread: MSP430F5529
Hello,
 
We have a card based on TI's MSP430.
 
Upon powerup, the BSL reads 3 bytes from 0x1800.  This is a customized BSL based on TI's original source for IAR.
 
If the pattern exists, the MSP430 stays in BSL mode.
 
If the pattern is 0xFFFFFF, MSP430 runs the application previously burned to 0x4400.
When the application runs we can write a pattern to 0x1800. After reset (or power up), the MSP430 should wake in BSL.
 
When we apply '0' to the RST pin of MSP430 and then '1' we noticed that the MSP430 restarts the application. It does not run the BSL.
 
If we shutdown the MSP and then turn it on, it runs the BSL.
 
Can you help ?
 
Thanks,
Zvika
  • Which of the >400MSPs do you use?

    I assume 0x1800 is ram. Ram content is retained across RST reset, but lost on power loss (and not necessarily 0xffff at power-on).

    Or is it info memory? Then your logic is risky.
    A mass erase that erased main and info memory would cause your BSL not being called (because the pattern is 0xffffff but there is no applicaiton anymore).
    However, in this case I don't know why the BSL isn't called after a reset. The original BSL shows that this is no problem: the BSL invocation code is called after RST=0, because the usual sequence to trigger BSL includes RST pin toggling.

  • Hello,

    I found the cause to the problem.

    The indication for BSL was a LED driven by an output port in MSP430F5529.

    After power up the LED was on and after reset not because the port was not propery configured.

    So after reset, MSP430F5529 goes through the BSL.

    Thanks,

    Zvika

**Attention** This is a public forum