DSPRelated.com
Forums

Programming the flash with CCS !?!

Started by vasee February 17, 2006
Hi all,

I'm starting to develop a project for TMS320F2812 and I can not load the
code in to the target using XDS510PP+ emulator from Spectrum Digital with
CCS 2.21.xx. The following message appear "Data verification failed at
address 0x3D8028. Please verifiy target memory and memory map." That is a
flash address. I check the target memory and memory map and seems to be
OK. In the Memory or Disassembly windows in the FLASH zone I see all
location 0xFFFF.
Can I program the device with the build code (TMS320F2812 - flash) using
the CCS("CCS->File->Load Program") or I must first download the code into
the device using the Spectrum Digital utility program "SDFlash" and after
that do the debug part with CCS?


vasee wrote:
> Hi all, > > I'm starting to develop a project for TMS320F2812 and I can not load the > code in to the target using XDS510PP+ emulator from Spectrum Digital with > CCS 2.21.xx. The following message appear "Data verification failed at > address 0x3D8028. Please verifiy target memory and memory map." That is a > flash address. I check the target memory and memory map and seems to be > OK. In the Memory or Disassembly windows in the FLASH zone I see all > location 0xFFFF. > Can I program the device with the build code (TMS320F2812 - flash) using > the CCS("CCS->File->Load Program") or I must first download the code into > the device using the Spectrum Digital utility program "SDFlash" and after > that do the debug part with CCS? >
I'm not sure about the TMS320F2812 , but in DSK5416, DSK5510 and DSK6416 one need the FlashBurn utility to program the Flash, and the program is needed to include boot loader and converted to a HEX format before burning the flash. One can't just load it to the Flash (by "CCS->File->Load Program") and then expect it to run upon starting the DSK.
Yes, you need a flash programing utility for the F2812 too.  The "load
program" will only load ram areas.

Thanks all for your prompt response.
I finaly find that I need a "C2000 CCStudio 2.21 Flash Programmer PlugIn"
from TI site but it dosen't work on my CCStudio. My CCStudio was updated
from 2.20.00 to 2.21.13 and the condition for this update to work is 
accomplish on my opinion. In "About" window of CCStudio appear Version:
2.21.13 but in the bottom I have "Integrated development (2.20.00).
Could be this the problem for why this PlugIn dosen't work on my updated
version of CCStudio?

PS: If I don't succeed with this PlugIn I will use the utility program
provided by Spectrum Digital.
Thanks all again and excuse my poor english.

I started using CCS with version 2.21 and had no problems with the
flash programming utility.  You are correct in needing the proper
version which you should be able to get from the TI website.  From the
numbers provided, it looks like you shouldn't have any compatibility
issues.

You didn't say, how it isn't working, just that it isn't.  What error
messages are you getting?

I might also suggest looking at Ti's discussion groups.  Sometimes
getting replies to posts there is a little difficult, but there is a
wealth of knowledege.  You will probably need to search back through
the archives (folders) for the previous years.

Here is a link to their discussion group page:
http://focus.ti.com/dsp/docs/dspsupporto.tsp?sectionId=3&tabId=413

If FlashBurn does not run from within CCS (in my case it does not show 
in the DSK's CCS menu) you may still run FlashBurn externally and burn 
the Flash.  Here's how that goes:

You may run CCS, and then go to FlashBurn utility's directory 
(C:\TI\bin\utilities\flashburn), double click on FlashBurn.exe and burn 
the flash.

vasee wrote:
> Thanks all for your prompt response. > I finaly find that I need a "C2000 CCStudio 2.21 Flash Programmer PlugIn" > from TI site but it dosen't work on my CCStudio. My CCStudio was updated > from 2.20.00 to 2.21.13 and the condition for this update to work is > accomplish on my opinion. In "About" window of CCStudio appear Version: > 2.21.13 but in the bottom I have "Integrated development (2.20.00). > Could be this the problem for why this PlugIn dosen't work on my updated > version of CCStudio? > > PS: If I don't succeed with this PlugIn I will use the utility program > provided by Spectrum Digital. > Thanks all again and excuse my poor english. >
>You didn't say, how it isn't working, just that it isn't. What error >messages are you getting?
Yes, you're right I didn't say what isn't workig and I apologize for that. The problem is that ... after I install the PlugIn I expect to appear in the "Tools" menu of CCStudio a new filed called "F28xx On-Chip Falsh Programmer"(like in the TI's document "sprb169.pdf") and this filed not appear. In the directory "c:\ti\plugins\" I find 2 new subdirectory "Flash24xx" and "Flash28xx" and I think this are the related with this "PlugIn".
Look for a little Lightning Bolt Icon on the tools tray, not a menu.
This is what I noticed when I installed the plug in and what I use to
launch the programmer.

I find the reason for what that PlugIn dosen't work. My Windows98SE's "ocx
registration" dosen't work properly, the "regsvr32.exe" was corupted so I
change this file and now it's OK. Thanks all again.