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.

MSP430AFE253: Chip is mass erased

Part Number: MSP430AFE253

After programming the chip and testing the firmware . it is connected to an AC Unit.

we suspect an unintentional entry to BSL without a password and we see that the chip is mass erased.

can this happen ?

what can we do to prevent it ? JTAG pins are left open.

 

  • Hi,

    the TEST pin is indeed a critical pin when it comes to noise. The TEST pin has an internal pull down of typ 60kOhm. If long traces are connected on the board, external noise (esp. from a bigger motor) can couple in and invoke a BSL. So there are certain scenarios where unexpected behaviour can occur.

    If you don't plan to use JTAG you can ground the TEST pin. Or have 0Ohm resistor to ground close to the chip.

    Best regards,
    Andre
  • Hi,

    this is what we see on erased units :

    1. all main memory is erased.

    2. info memory is erased but has the same bytes at

    @1000

    AA 55 FF 3F CD AB AA 55 34 12 FF FF FF FF FF FF

    and different bytes at the end of the info block

    first unit

    FF FF FF FF FF FF FF FF FF FF 89 8E 75 8D FF FF

    second unit

    FF FF FF FF FF FF FF FF FF FF 9E 8E 91 8D FF FF

    can you tell if this is a result of a BSL mass erase ?

    what does it mean ?

  • Hi lior kfir,

    For MSP430x2xx BSL, there are so called: cold start and warm start for BSL. When the BSL is invoked by TST-RST (hardware invocation)--this is the cold start, the mass erase is performed for main and information memory. and for warm-start, chen BSL is invoked by being called from application, the information memory would not be erased.

    What I still try to analyze is that even the BSL is invoked coincidentally, the Mass Erase will be performed when the Mass Erase command is received by the bootloader. When the BSL is invoked but no data is transferred, the Mass Erase should not be happening.

  • hi,

    is it possible that an erased MSP430AFE253 can return to it's default TI parameters ?

    what we see is TI signature at address 1000 and DCO calibration at 10FA-10FD

    does this chip have a BSL at all ? or something that is undocumented ? 

     

  • Hi,

    can you please show how you connected the JTAG interface? Do you have a pull-up resistor on RST?
    How many units are affected?
    How do you confirmed it is mass erased?

    Best regards,
    Andre
  • Hi,

    do you still have the problem? If not, I'm going to close the thread.

    Best regards,
    Andre

**Attention** This is a public forum