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.

Why code doesn't run on ezdsp5535 when CCS is closed

Dear sir,

I am working with ezdsp5535. when and where will the code go and reside on ezdsp? when i start debug session and run the code on CCS and close the CCS window, why is the code on ezdsp is not running. If the code is residing on the ezdsp how to run that code without Code Composer Studio (CCS).

Thanks & Regards,

Raghu K 

  • Hi,

      You can try run "Free Run" using CCS before you disconnect JTAG from your hardware.

    Regards

     Vasanth

  • Hi Vasanth,

    The board ezdsp5535 doesn't have JTAG connector. The board has in built XDS100v2 in it. It is connected to PC via USB, and the board runs on the power from USB. I ran the code in free run mode, and closed the Code Composer Studio v4 window. Then the program is not running on the board.

    Please suggest if there is any documentation how the debug runs. 

    How do we run the board with a desired firmware in it and only powered by USB, without connecting to Code Composer Studio?

    Thanks & Regards,

    Raghu K

  • It should work. Attached is an out file that blinks the XF LED on C5535 ezDSP.

    I invoked CCS and connected target to C5535 ezDSP; then loaded the out file via "Load Program". "Run Free" and exited CCS. Program keeps executing to blink XF LED.

    6505.xf_on.out

    It then any  error message or indicator of problem?

    Regards.

  • Dear sir,

    I have tried "Load program", "Run Free" and exited CCS. this way it didnt work

    However if i disconnected the target before exiting CCS, it is working.

    Thank you for information.

    But please help me with the following issue.

    After exiting the CCS the program is running freely on ezdsp5535, as the power being given by connected USB. But if i disconnect the USB and connect it back. The program we loaded into ezdsp5535 does not work. If the loaded program is still in ezdsp it should run after we power it back. How does this load program works.

    Please provide me solution for below:

    My requirement is to dump the program into the ezdsp5535 and disconnect it from the PC. Use this ezdsp5535 in my application area, running only on USB power and not connected to any PC.

    Thanks & Regards,

    Raghu K 

  • Program runs from on-chip RAM. The contents on RAM will be lost when power is gone. As such, the Bootloader has a feature to load application code from external non-volatile storage device at power up. This bootloading feature is documented in the Application Note:

    Furthermore, the C5535 ezDSP purposely implemented a flash memory accessible via the SPI peripheral to support such feature. You can refer to the schematic on page 5 for details.

    Regards.

  • Dear sir,

    We have tried Booting from SD card. The board is working fine independently with SD card boot image.

    Thank you very much for your inputs.

    Thanks & Regards,

    Raghu K

  • Very good! I am extremely happy to see that you have gone out of the box to use SD card instead of SPI.