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.

Debugging Code on Sitara AM3359 IDK via CCSv5

Hi everybody!

I have problems to connect to IDK via USB like I've already done with ICE. But how is it possible to get in debug-connection with CCSv5 and IDK because I would like to try to debug some example-code delivered with the latest SDK.

It has been already possible to run a self-built application (or even an example) by transferring it to SD-card and booting the application from it. I also get the print-out information by UART, but this is mostly depressing if you like to debug the application step-by-step.

Please, can anybody help me?

So far,

regards,

Thomas.

 

  • Thomas,

    do you use an XDS5xx emulator? IDK does not have on-board emulation such as ICE.

    Regards.

  • Hi Frank,

    I always thought, that the XDS510USB-Link (as it can be selected by the Target-Configurator) does provide such usability. But if this is not like a connection via USB as it is with ICE, I must say, that I don't have such an emulator. But then, I need to have an explanation, how I can get such a device, because debugging is - and will be an important feature in future.

    Thanks!

  • Thomas,

    no. XDS510 USB is an external emulator that connects to the PC via USB. On the target side it has a JTAG header. IDK has the AM335x JTAG (20 pin) on the base board.

    If you buy one (e.g. TI estore) I suggest you get an XDS560 type emulator. They are a bit more expensive but also provide higher performance. This really pays of for any serious development. There are other options via TI third parties.

    regards.

  • Hi Frank,

    I see you have already answered Thomas' question, but this seems related enough...

    I have the XDS510USB connected to the small 20pin header on the IDK base board, but am unable to load a program and debug.  I believe I've created the target configuration correctly, as shown in the link below.  It seems to connect, but I'm not so sure.

    http://processors.wiki.ti.com/index.php/AM335X_StarterWare_Environment_Setup#Debugging_on_EVM_AM335x_using_CCSv5

    I have re-built the i2c_led demo after adding the line below to main().  When I load the .out file the debug window indicates the application is running, but the originally loaded demo seems to be running still.  Also, I did not get the initial pause at main() when loading finished.

    SetBoardType(AM335X_BOARD_TYPE_IDK);

    Any help is appreciated.

    Thanks,

    Fareed