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.

TMDSCNCD28388D: No source available for "SysCtl_delay()

Part Number: TMDSCNCD28388D


Hi, I meet a problem when burning the program. The program pointer did not stop in the main function after the program was burned. As you can see from the figure, It stops at ESTOP0 in the BootRom memory. Neither can I step out the ESTOP0.

After clicking the run button, status bar display "a reset occured on  target"

would you mind providing me some debugging suggestions?

  • Hello,

    Does this issue occur even after disconnecting/reconnecting power, or is it only after doing some sort of reset?

    In the Disassembly window, if you scroll up can you see which trap function is getting called? There should be some sort of assembly label I believe. Were there any warnings that appeared when building the project?

    Best regards,

    Omer Amir

  • This problem does not occur when you disconnect and reconnect, it occurs whenever you debug. 

    The project will compile with a few warnings, as shown below, but they are warnings about undeclared external functions.

    In the Disassembly window, if you scroll up can you see which trap function is getting called?

    Sorry I don't know assembly language very well. Here are some of the code above for reference.

    In this project I added dynamic arrays generated by simulink, and now I have no problem debug after replacing dynamic arrays with static arrays. 

    Best wishes,

    zhu

  • Hello Zhu,

    The project will compile with a few warnings, as shown below, but they are warnings about undeclared external functions.

    To handle the undeclared external functions can you #include whatever header file they are coming from? Also, for the compiler version make sure the Build settings in the Project Properties are selecting a compiler version available on your version of CCS.

    In this project I added dynamic arrays generated by simulink, and now I have no problem debug after replacing dynamic arrays with static arrays.

    If the only difference is the dynamic vs static arrays, can you show me how each is declared/initialized?

    Best regards,

    Omer Amir