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.
Hi,
I am getting an error when trying to erase any flash section using the "On-Chip Flash" tool in CCS 5.3. it looks like this
C28xx: Erasing Flash memory...
C28xx: Erasing Flash Sector A
C28xx: Flash Programmer: Error erasing flash memory. Error erasing Sector A
Loading anything (code or data) on to the flash creates similar error.
C28xx: Writing Flash @ Address 0x003F452D of Length 0x00000016
C28xx: Finish Writing Flash @ Address 0x003F452D of Length 0x00000016
C28xx: Writing Flash @ Address 0x003F4000 of Length 0x0000052D
C28xx: Flash Programmer: Error encountered when writing to flash memory
C28xx: Error Writing Flash @ Address 0x003F4000 of Length 0x0000052D
C28xx: GEL: File: C:\ti\controlSUITE\development_kits\TemplateProjects\FlashingLeds-F28069_v1.0\F2806x_FLASH\FlashingLeds.out: Load failed.
The same program runs fine from RAM.
What could be wrong? Thanks
Hello!
Perhaps you have incorrectly set the target device at "On-Chip Flash" tool.
Regards,
Igor
I am using the F28069 Experimenter Kit so I don't think it runs off an external clock or crystal. The RAM.CMD works fine, but FLASH.CMD creates the error mentioned earlier.
Thanks
Hi Dan!
Try to go through this thread http://e2e.ti.com/support/microcontrollers/c2000/f/171/p/293372/1024794.aspx#1024794
Regards,
Igor
Nope,
it's an F28335 on a Control Card put into a slot of a self developed hardwareboard, which runs in another project without any problems.
The Example I use is the F28335_examples_CCSv5 (nonBIOS) in combination with the Library V.210.
I tried to use Uniflash as well, but the same error occurs. The device seems to be unlocked, but I can't delete sector A. The Clock settings are correct: 150 MHz-> 30Q * 10 / 2.
I can't finish the depletion tool successfull, too. Is my µ destroyed or can I save it?
Regards
Dan
Dan, before concluding anything, I would like you to check with the attached project:
Also use the Unlock feature in CCS Uniflash before programming.
Regards,
Gautam
Hi Gautam
Thank you for your help.
In the above picture you can see, that I tried Uniflash and failed. I can't try the example, because I can't enter the Flash. When I start the debugger, CCS tries to erase the whole Flash Memory and an error occurs. I can start the debugger only, when I start the program from RAM.
Best regards
Dan
So, it wouldn't be wrong if we conclude that flash memory of your device has been bricked :(
The above statement would be true if and only if you're 100% sure that cmd file has been properly configured.
Regards,
Gautam