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.

Can't Program Piccolo F28027 CCSv5

Other Parts Discussed in Thread: CONTROLSUITE, TMS320F28027F

I have imported an example project from control suite6646.Circuit.pdf

"C:\TI\controlSUITE\development_kits\Piccolo controlSTICK\ADC - ContinuousADC"

Rebuilt it, configured the target to use "Spectrrum Digital XDS510USB Emulator" and selected the processor TMS320F28027F.   When I try to debug the project it goes so far then I get an error message that the part is locked.  If I replace the DSP I get the same result.

This is the first time I have used this processor and I am using my own custom hardware circuit diagram attached.  Though I did start by working with the 8 channel DC-DC converter kit and with this everything works as expected.

At this point I have no idea whether I have a problem with my hardware design, a fault batch of DSPs (so far I have tried 5 all with the same result) or If something is configured wrongly in the project.

Can anyone suggest how I move forward from here?  My experience so far is that the TMS320F28027F just does not work; but obviously that can't be true otherwise TI would not be selling it and this forum would be full of complaints.

Any help you can offer would be very much appreciated.

  • Hi,

    Apart from the potential influence the custom hardware may be causing, (for which I suggest asking in the C2000 Device forum itself), I suggest the following approach to the problem:

    - Try to change the project configuration to RAM and see if the project loads and runs fine - this will rule out any flash memory issues (and allow you to do some debugging in the meantime).

    - If the RAM code does not run fine, then I would try to run it in a controlSTICK development board instead. This would avoid any possible issues with the hardware itself.

    - If it does, then I would check the Flash memory configurations inside CCS. Since you already ran the Debugger, simply go to menu Run --> Debug Configurations --> <name_of_your_config> --> tab Target --> F28027 Flash Settings. At this point make sure you have 0xFFFF as key for all the Code Security Password settings.

    - Also, try to reduce the JTAG speed of the emulator by inserting a delay to the JTAG clock (TCK). Check the short clip Changing the Target Configuration Properties of the Quick Tips page.

    Unfortunately I don't have a F28027 board with me to check the project itself or the exact programming settings.

    Hope this helps,

    Rafael

  • Thanks,

     

    Turns out my problem was hardware.  I had 33R resistors in series with the supply rails.  This came from a TI application note but is clearly too much shorted these out and its now working