Hi all,
I've been working for a while on a TMS320F28335 (on a custom board), using CCS 5.5 and XDS200.
All of a sudden, I'm not able to work with the FLASH anymore: I cannot neither program it nor erase it.
I also tried to "erase cores" with uniflash, but with no luck.
The erase cores command gave the following message in the console:
[14:22:29] Erasing flash sectors on Core 0 < Texas Instruments XDS2xx USB Emulator/C28xx > ...
[14:22:33] Begin Erase Flash operation.
[14:22:33] C28xx: Erasing Flash memory...
[14:22:53] ERROR >> C28xx: Flash Programmer: Error erasing flash memory. Flash operation timed out waiting for the algorithm to complete. Operation cancelled.
[14:22:53] Flash operation Erase failed on core Texas Instruments XDS2xx USB Emulator/C28xx .
[14:22:54] ERROR >> C28xx: Error: (Error -2130 @ 0x87EE) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.402.0)
[14:22:54] ERROR >> C28xx: Trouble Halting Target CPU: (Error -1141 @ 0x0) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.402.0)
[14:22:54] ERROR >> C28xx: Unable to determine target status after 20 attempts
[14:22:54] ERROR >> C28xx: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
[14:24:59] Operation Erase Flash returned.
I tried to program a couple of boards, different hosts and tried also a different debugger (XDS100v2), always with the same result.
I guess the problem is due to the last SW I could program to the FLASH, that seems to be preventing the debugger from keeping control of the board (notice "Flash operation timed out waiting for the algorithm to complete."). Is this thing possible? Can I use uniflash or any other tool to restore the microcontroller to factory condition?
Thanks for any help ,
Filippo