Hello everyone,
I use a TMS320F28335 mounted on a custom board, with the JTAG emulator of the TMS320F28335 Experimenter Kit and the Code Composer Studio version 5.5.0.00077.
At the beginning, I programmed and executed my code in RAM without any problem.
After that I tried to program the flash memory but I only repeated the erase-program procedure a several times without successfully accomplish the task: it stopped at different level (sometimes during the erasing phase, sometimes the erasing phase was completed successfully but the programming phase was interrupted before reaching the 100%).
I discover that this behaviour was due to some damages of the cable connecting the JTAG connector to the micro.
After repairing the cable, I obtain the following results:
- with the boot mode sets to “Jump to Flash”, if I try to connect I receive the following error message:
C28xx: Error: (Error -1135 @ 0x3FF9CE) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)
- with the boot mode sets to “Branch to check boot mode”, I can establish a connection and no error message appears, only the following warnings:
C28xx: Flash Programmer: Warning: The configured device (TMS320F28335), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
C28xx: GEL Output: ADC Calibration not complete, check if device is unlocked and recalibrate.
Then, if I try to erase the flash sectors I receive the following error:
C28xx: Flash Programmer: Error erasing flash memory. Device is locked or not connected. Operation cancelled
Also starting the depletion recovery I receive an error message:
C28xx: Flash Programmer: Error when performing depletion recovery. Device is locked or not connected. Operation cancelled.
The micro seems to be locked but I have never voluntary set any password and I have never locked the device.
What could be the reason of this final behaviour?
Is there a procedure to erase the flash and restore it at the factory conditions?