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/TMDSCNCD28335: CCS/TMDSCNCD28335

Part Number: TMDSCNCD28335

Tool/software: Code Composer Studio

I have loaded my F28335 dsp with the Flashing LED project. Somehow the code composer studio debug option couldn't be stopped and now the led is kept blinking all the time. I have uninstalled CCS several times but still the board is blinking and now new code can not be debugged. I am using CCS 8.3 and CCS 5.1

  • Ashik,

    If the blinking LED program was placed in FLASH memory then it is going to start blinking again every time the board is reset/power cycled.

    You stated that you are not able to debug new code. Are you getting an error when attempting to load a different program onto the device? If so what is the error?

    Regards,
    John
  • Hi John,
    Thanks for your reply. Yes the LED is blinking whenever I plug in the USB. The problem was I couldn't debug any any program and load any other program in the device. So I changed the memory location to RAM and tried to load another program in RAM. Somehow I managed to load it in RAM. But still whenever I plug in the DSP flash memory initiates as it is loaded with the LED program and LED blinks. I want to remove it from flash memory but still couldn't.

    Thanks in advance.
  • Ashik,

    I am going to loop in the C2000 team so that they can go over how to configure boot from RAM vs Boot from FLASH. If the device is configured to boot from flash and you still have a program in flash then that is what is going to run when you power cycle the board.

    Regards,
    John
  • After you've connected to the device, you should be able to go to Tools -> On-Chip Flash, check the sectors you want to erase, and hit the Erase Flash button. Is that what you're trying to do? Does that work?

    Whitney
  • In CCS v7,4 how  can i access On-chip flash program? 

    And the program is loaded in flash memory so do I have to check the all sectors to erase?

  • Have you made any progress in your debug? I'm not sure what you mean about how to access on-chip flash program. In the Debug perspective in CCS after you've connected to the device, you should be able to go to Tools-->On-Chip Flash and open up a window where you can interact with the flash settings, erase sectors, etc...Do you not see this panel in your CCS?

    You don't have to erase all of them if your application only uses a few of them.

    Whitney

  • Also, if you don't mind attaching your linker file (rename from cmd to txt if it doesn't let you attach it), that might help me see what's going on.

    Whitney