MSP430FR2476: Can BORs other than those triggered by the #RST/NMI pin be debugged with the MSP430FET?

Expert 1200 points
Part Number: MSP430FR2476

Tool/software:

Hi All,

Can BORs other than those triggered by the #RST/NMI pin be debugged with the MSP430FET? Currently, after a Software BOR reset, the following issues occur:

  1. Breakpoints do not work at all (forced break is possible).
  2. The frequency of the VLO measured by the timer changes after a SoftBOR. Normally, it measures around 9700 (9.7KHz), but only after a SoftBOR, it measures around 11300 (11.3KHz).
  3. According to the IMMIFG and SYSRSTIV registers at startup, the SoftBOR itself is occurring:
    • IMMIFG=0x0100 (PMMBORIFG is 1)
    • SYSRSTIV=0x0006 (PMMSWBOR software BOR)

If there are limitations on which BORs can be debugged, please let me know which BORs can be debugged and which cannot. I am considering the BOR from LPMx.5 recovery.

Best Regards,

Ito

  • Hello Ito,

    So sorry that I am out of office today, I will reply to you tomorrow.

    Best Regards,

    Janz Bai

  • Hello Ito,

    About breakpoints: Eason has told you in the original post that BOR also initiates a POR.POR will reset almost all the registers. The breakpoints will disapper. So please use software breakpoint instead as Eason mentioned in the original post.

    About the timer and VLO measured: maybe you can check your timer setting because in the user guide, there is some description about the timer & BOR. And I think that BOR won't affect VLO, after VLO becomes stable, VLO will be 

    About IMMIFG and SYSRSTIV registers: the relation between them is that set the PMMSWBOR bit to 1 to trigger software reset and then PMMBORIFG will be set to 1.

    Actually waking up from LPMx.5 modes will trigger BOR, but a POR is always generated when a BOR is generated, so you also need to use the software breakpoints.

    Best Regards,

    Janz Bai

**Attention** This is a public forum