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.

CCS/TMS320F28377D: 28377d load program to cpu2 in flash mode, some breakpoint error occurs.

Part Number: TMS320F28377D

Tool/software: Code Composer Studio

I have designed a custom board, and after load program to cpu1 and suspend, load program to CPU2 lead to some errors, and It runs automatically. But with the same code and same option to my demo board, it is always success. Errors as follow. Do you please give me some advice? I guarantee that I  do not add any breakpoint.

  • Hi Tianyi,

    When you load the code via CCS, CCS runs the code to main and then try to halt the CPU at main() entry point by inserting a breakpoint (this is part of CCS setting which user can change). In general, this should not cause any issue unless CCS is not able to insert the breakpoint because -
    1) memory is inaccessible for some reason.
    2) memory is read only and HW breakpoint is not available.

    Can you open the main() function in CCS disassembly window and see if you are able to access the location and manfully try to set a breakpoint and see if that works.

    Regards,
    Vivek Singh
  • Hi Vivek Singh,

    I tried to follow your suggestion, and this steps on cpu1 is ok, the breakpoint in main() worked. But to cpu2, because I can't load program successfully, so I also can not set breakpoint,And I set a breakpoint after connect(not load) to target nearly to the default location, certainly, this breakpoint do not work.
    What's more, I have a demo board, same operation on it casued no error, so I doubt that my hardware circuit exsit some errors. Could you give me some advice?

    thanks and best
    Tianyi
  • Hi,

    If CPU1 works fine then there is no issue with hardware. Are you using same emulator on both? Also can you check that both board have same device? You can read what's written on device and see if it's same on both.

    Also after connecting to CCS, see if you are able to read/write to RAM location which is giving error for breakpoint.

    Vivek Singh
  • Hi,
    Just wanted to check if you have any further debug info?

    Vivek Singh
  • Closing the post. If you still have the issue then please open a new post with additional debug info.