Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

AM335X- Debugging problem

Other Parts Discussed in Thread: AM3359

Hi,

I'm using AM335x-Starter kit and I have problem in loading the Starterware Demo into the target board.

After configuring the CortxA8 target with ti\AM335X_StarterWare_02_00_00_06\tools\gel\AM335x.gel, when I try to load the starterware demo application, I'm getting the following error.

"M3_wakeupSS_1: Error connecting to the target: (Error -1266 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.0.791.0)"

I don't have the SD card in the board, but still I cannot connect to the target

Any help is appreciated!


Thanks and Regards,

Easwar

  • Easwar,

    CCS is trying to load the demo code to the CortexM3 core, which is powered down after reset.

    I am assuming you clicked on the green bug button at startup, is that so? If so, when you do this for the first time you are asked which cores you want to load code - you must de-select the CortexM3 core due to the reason above.

    To do that once you already selected both cores (and therefore is getting the two issues) you can either disable the M3 core on the Debug Configuration or simply remove it and start over.

    For details about that, check the section Debug Configurations of the page below:

    http://processors.wiki.ti.com/index.php/Multi-Core_Debug_with_CCSv5

    For details on the initial core selection, check the AM3359 workshop at:

    http://processors.wiki.ti.com/index.php/CCSv5_Fundamentals_Workshop

    Hope this helps,

    Rafael

  • Thanks Rafael,

    Once I disabled the other core and try to load the application the program runs straight away and there are breakpoint error as following.

    CortxA8: Breakpoint Manager: Retrying with a AET breakpoint
    "CortxA8: Trouble Setting Breakpoint with the Action "Finish Auto Run" at 0x80132348: (Error -1066 @ 0x333C) Unable to set requested breakpoint in memory. Verify that the breakpoint address is in writable memory. (Emulation package 5.0.747.0)"

    any suggestions?

    Regards,

    Easwar