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 can run program out of RAM, but can't write / erase the flash on F28027

Other Parts Discussed in Thread: TMS320F28027, CONTROLSUITE

I built a couple boards using the TMS320F28027. It shows up under CCS, I compile, run, and step through the code in RAM. But I cannot flash anything into the chip, nor can I erase the flash. Has anyone ever had this problem?

This is not the first F28xx board I've built, but it's the first one with which I've had this problem. This is also the first time I've used a piccolo in a custom design (i.e., not on a TI dev board). I can't figure out why everything seems to work perfectly, except writing to flash. Is this just a bad chip?

  • Well, I just figured out where I screwed up.  I had an LC filter on the VDDIO and the VDDA pins and the capacitance was 100nF instead of the recommended 2.2uF on those pins. Looking at the lines with a scope, these voltage supplies looked very noisy. After replacing the capacitors with 4.7uF and the noise disappeared, the chip flashed successfully.

  •  Dear Freddy,

    Can you please tell me the steps to program our own generated code in
    FLASH memory of C2000.


    I am not getting the FLASH option in the 
    Project properties => General => Manage configuration

    I have added the Non Biased Header f2802x header file and also added the path

    C:\ti\controlSUITE\development_kits\C2000_LaunchPad\f2802x_common\cmd

    in the include options .

    In the debug configuration i have added F28027.cmd option.

    I am getting the option of FLASH in manage configuration only in example files.

    Regards,
    Azim

     

     

     

     

     

     

     

     

  • Hi Azim,

    Yes, you'll get such kind of option only for examples. So, one option you've is to copy your custom code into the example and use that particular option or

    Check this doc and create your own: 6562.3301.TI_Running_from_Flash_spra958l.pdf

    Regards,

    Gautam