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: Debugging the dual cores

Part Number: TMS320F28377D

Tool/software: Code Composer Studio

Hi

What is the proper procedure for debugging the dual cores of F2837xD from CCS?

For example, I am loading the software on both the cores ,but to run each core successfully. Which core has to be reset and run first, what should be the other core doing in that state? .I know that CPU1 is the master and should give boot command to CPU2, i''ve included this in my software. After loading the software i''ve been following the below steps

1.Resetting both the cores.

2.Running the second core,which waits for the boot command.

3.Going to main() in the first core, and running the first core.

This procedure is not working every time..I am forced to disconnect both the cores,connect again and repeat the above process.This is taking a lot of time..Please suggest the standard procedure, if it is documented,please share.

Regards,

Naveen.

  • Naveen

    Should be able to follow the procedure below (this assumes code in flash):
    1. Reset CPU1 (CPU reset, not restart)
    2. Set EMUBOOT to flash CPU1
    3. Reset (CPU reset, not restart) CPU2
    4. Run CPU2 (want it to go to wait boot)
    5. Run CPU1
    6. CPU1 will boot to flash while CPU2 is waiting for IPC command
    7. CPU1 app send IPC to CPU2 to boot to flash
    8. CPU2 boots and runs from flash

    Best regards
    Chris