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.

TMS320F280049: MCU come across ESTOP issue

Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi Expert 

Customer use our F280049 for CLLLC part of OBC, they come across the ESTOP issue randomly:

the disassembly shows below:

I did checked RESC and NMI there is no issue reported:

I checked the WD and place it after all the init. function, the issue still exits:

I changed the flash_init statement from CLLLC_HAL_setupDevice to the second sentence in the main function, the issue can be solve.

original setup

changed

 

How can further check the issue?

Thanks

Joe

  • Joe,

    I've asked the team to re-assign this to the CLLLC owner in our team.  ESTOP0 is asm instruction for SW breakpoint; this looks like it might be from default ISR.c code that we give in C2000Ware as starting point, so that it will stop in the ISR if it is called(and not modified as real ISR for customer).

    I'm not sure which ISR this is, but Flash_Init typically needs to be called from RAM and not run in flash through use of memcopy, etc.  I think this may be the issue, i.e. for flash build this code should be copied to RAM, etc.  

    Example owner should be able to comment better if there is a missed setting.

    Best,

    Matthew

  • Hi Matthew

    The issue is solved, I debug in customer side find the FLASH API in not correctly copied to RAM when running. No I correct the cmd file and solved the issue.

    Thanks for your attention.

    Joe