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.

nERROR LEd blink once while giving input power to RM48 optimized kit

Hi,

I have optimized the RM48 kit and it is working fine for the past 6 months. But the NERROR  LED is blinking once  when the input power is given to the kit and the kit is working fine for programmed output. This is for Kit one.

in Second kit the 5V and 3V regulator IC is completly short circuited and i replaced the ICs.

again in this kit also the NERRO LED blink once and after few seconds the NERROR LED keeps on blinking.   

what is the problem and how to short it out.

Regards

K.Manjunathan

  • Hello Manjunathan,
    The MCU has detected some type of error. It will indicate the error source in the ESM status registers. Check ESMSR1, ESMSR2 and ESMSR3 to see if any bits are set. The set bits will tell you what errors were detected.
  • Thank you Mr.Charles Tsai
  • How to check the ESM Registers Sir.

    Regards
    K.Manjunathan
  • Hi,

     Are you able to use the debugger to connect to the target? Once you are connected you can view these registers at the register browser window? Please see below for the Stat1, Stat2 and Sta3 registers.

  • Thank you Mr.Charles Tsai,

    I will take look on the status registers.

    Thanks and Regards

    K.Manjunathan

     

  •  Hi Mr.Charles

    The status register in my CCS are all not set but ErrPinStat is set.

    I ahve attached the image file. where is the problem.

  • Hi Manjunathan,

      First of all,  the ErrPinStat is an active low value. When it is '1' it means there is no error detected. When 0, there is error detected. In your screen shot there is no error detected as indicated in any one of the Stat registers and the ERRPinStat is a '1'. However, you keep seeing the LED blinking, right?

      Normally when you have an nERROR LED turned on, you should see flags set in the error status register. I suspect that the device is under a power up reset that clears the status registers. Why is there a power up reset? It could be due to your external voltage regulator which might have detected a voltage out of range condition or the device's internal voltage monitor has detected a out of range condition which will assert a power on reset. You mentioned that you have some type of shorts in the power supply. This could be the reason. Use the scope to monitor either the nPORRST or the nRST and see if they are being asserted after you power up the device. 

      If you are getting a reset you should see the types of reset event in the SYSESR register in the SYS module. What do you see? Once the debugger connects to the device you can view the register in the register window. The very first time you will see bit15 of the SYSESR being set. Bit15 indicates that you have a power up reset event just happened. This is normal the first when you power up. Try to clear all the flags by writing 0xFFFF to the register in the register window. All flags now will be clear. Let your device run. If for some reason you device is getting a reset again, you can read the register again and see which bits are set. Note that when you get a power up reset, the debugger will lose connection to the target. You will need to reconnect again. 

  • Thank you Mr.Charles . i will take a look on it.