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.

Compiler/LAUNCHXL2-570LC43: TMAS570LC4357 LAUNCHPAD

Part Number: LAUNCHXL2-570LC43
Other Parts Discussed in Thread: HALCOGEN

Tool/software: TI C/C++ Compiler

Sir,

After building halcogen example codes in CCS V7, During debugging process RED error LED is glowing  and is going off after pushing reset push button. I am unable to figure out what may be the problem.is it CPU problem or flash memory problem? 

  • Hello Deepak,

    This means that there has been an ESM error identified. It can be one of many faults that can be detected. Please have a look at the ESM status registers in the debugger to determine which error caused the assertion of the nERROR pin. Also, please let me know which of the examples you were building and programming into the board. This may also help to determine the error.
  • Thank Chuck Davenport,
    The example is epwm_adc.c.For debugging Do I need a JTAG or I can do it using USB cable that is provided for programming.??
  • Hello Deepak,

    The Launchpad has a built in XDS110 so it can be dubugged through the USB port using CCS.
  • sir,
    after debugging ESM1 error status pin register value is showing 0x00000001. I think red led is glowing because of this.how to solve??
  • Hello Deepak,

    Is it possible for you to do a screen grab of the ESM status registers (ESMSR1, ESMSR2, and ESMSR3) using the register browser in the CCS debugger?

    A value of 0x00000001 would be unusual given bit 0 corresponds to ESM channel 0 which is a reserved field. Also, Group 1 errors that are reported in ESM1 do not cause the nERROR pin to be asserted by default. They have to be configured to do so.

    Are you able to clear the flag? You should be able to update the register value using the debugger. Writing 0x00000001 should clear this flag. The nERROR signal can be cleared by writing the value 0x00000005 to the ESM Error Key register (ESMEKR) whose register definition is below.

    Also, in your original post, you mentioned that the nERROR light would go out after you reset the device/board. When you do this does your code execute as expected or does the nERROR come again?