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.

Trouble debugging StarterWare on AM335x EVM

Other Parts Discussed in Thread: CODECOMPOSER

Hi,

     We are having issues trying to debug StarterWare's evm grlib_demo code. We can't seem to boot off of the MMCSD card so we are booting via the serial port (xmodem the boot.bin file.) The evm serial port output is as follows:

CCCCCCCCCCCCCCCCCCCCCCCCCCCStarterWare AM335x Boot Loader
 Unable to open application file
Jumping to StarterWare Application...

     At this point we are trying to test the connection via CodeComposer's Target Configuration files Advanced Settings "Test Connection" button. We've looked through the evm's user guide and hardware user guide and followed the debug setup described in:

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

    Is there any other documentation to help us debug the evm under StarterWare (Tech support has referred us to this forum?)

[Result]
** BoardFilePath: C:\Users\jconover\AppData\Local\.TI\213602635\0\0\BrdDat\testBoard.dat
** Resetting Emulator
     ERROR -- XDS510-USB Emulator not connected/enumerated
[End]

     Thank you.

  • John,

    Check these posts.

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/58689.aspx

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/178069.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/p/7610/30071.aspx

  • Hi Renjith,

          The links do have some info, but unfortunately nothing that is the answer. Part of the problem is that the primary debug links for the AM335x EVM use older references for Code Composer options. It also does not show which debug ports on the EVM are supposed to be used (I guess you can assume it is USB0, but it should be called out.) It could also have something to do the inability to boot from the MMCSD card, but I was hoping it was not effecting the debug port as it seemed StarterWare was at booting. Is there anyone that even runs StarterWare on the EVM?

    Thanks,

         John C.

  • John,

    Can you share a picture of your hardware setup along with how the JTAG connection is made. Also check the windows device manager to see whether the JTAG is detected or not.

  • Hi Renjith,

         Are you saying that the AM335x EVM needs a JTAG for debugging? The wiki refers to a 'Spectrum Digital XDS510USB Emulator' and I'm assuming the evm is just like the Beaglebone in that the usb emulation is using usb to connect to the target. No?

    Thanks,

         John C.

  • John,

    I'm referring to the Spectrum Digital JTAG emulator XDS510USB. Please refer to the attached link below for the 510USB details.

    http://www.spectrumdigital.com/product_info.php?products_id=29

  • My EVM has a small connector on the bottom to connect a JTAG emulator, and it looks like it has a label J2 next to it. It does not use USB0.

    Steve K.

  • Hey Renjith,

         It appears that the XDS510USB is a JTAG emulator, but the wiki does not refer to it as such nor does it mention (anywhere that I can find) that the evm should use the JTAG port on the bottom. I currently used a BlackHawk JTAG System Trace to bring up the evm into debug mode.

    Now I only need to figure out why the evm will not boot from the MMCSD card. Has anyone built the boot code for the evm under Windows 7 64bit ? Something with the TI header is wrong as using the straight boot.bin via the serial port does work.

    Thanks,

         John C.