Hi,
I use CCSv4.2.5, XDS100v2 and TMS320F28069 on a custom board.
The flash erase/program has worked well since the project beginning (4 months ago). I made a lot of debugger session without problem.
This week, I got a flash locked (or depletion) problem twice. When the problem is present, I got these logs in CCSv4 Console:
-----------------------------
- C28xx: Flash Programmer: Error erasing Flash Memory.
- C28xx: Flash operation timed out waiting for the algorithm to complete. Operation cancelled.
- C28xx: Trouble Writing Memory Block at 0x3F0000 on Page 0 of length 0x32F9
- Cannot write to target
-----------------------------
The first time, I just changed the DSP without more investigation and that fixed the problem.
The second time, I try to make a depletion recovery but it didn't work... So I changed again the DSP... according to information found on the weblink
http://processors.wiki.ti.com/index.php?title=C2000_Flash_Common_Issues/FAQs#Depletion
I don't like this solution.
I suppose the problem occurs when there is an interruption while the flash is erased.
Questions:
- Is it a known problem for CCSv4.2.5?
- Is there a way to avoid erasing of FLASHA sector (sector containing the flash security password)?
- Could my PC cause that?
- Could my board cause that? Voltage, clock, etc?
- Are there tips to avoid this problem?
Thanks,
Steve L.