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.

MSP430FR2476: After SoftBOR is generated programmatically, no breakpoints are possible at all.

Genius 3215 points

Part Number: MSP430FR2476

Tool/software:

Hi All,

After SoftBOR is generated programmatically, I am experiencing a phenomenon that prevents any breakpoints.
Is it possible to debug BOR other than reset on #RST/NMI pins with MSP430FET?
If debuggable, is it possible to use breakpoints?
Are there such things as debuggable and non-debuggable BORs?

Best Regards,

Ito

  • Can you try a software BOR?

  • Hi zhou

    Corrected as follows.

    "Software POR" is generated programmatically:

    after reset, no break at any breakpoint

    after forced break with Pause, stop

    after restart, ignore breakpoints

    val_PMMIFG: 0x0400 (hex) ← PMMPORIFG (POR generation)

    val_SYSRSTIV: 0x 0014 (hex) ← PMMSWPOR software POR (POR)

    val_SYSSNIV: 0x0000 (hex)

    val_SYSUNIV: 0x0000 (hex)

    Do MSP430FETs pose a problem?

    Best Regards,

    Ito

  • I think it is impossible. The hardware breakpoints is controlled by Embedded Emulation Module (EEM). POR will reset almost all the registers. That means if CCS don't reconfigure the EEM, the breakpoints will disapper.

    Please try to use software breakpoints instead: __bic_SR_register_on_exit(CPUOFF);

    If this command is not work, you need to to add more breakpoints in CCS. When the hardware breakpoint souce is all used, it will use software breakpoints instead. For software breakpoints, it will rewrite part of the code, which will still exist after POR.

**Attention** This is a public forum