Other Parts Discussed in Thread: UNIFLASH, C2000WARE
Tool/software: Code Composer Studio
I have had an issue switching from RAM programming to a Flash programming on a F28335.
The problem occured after erasing flash and attempting to program the .text section into flash at 0x300000 as shown below:
Searching around for this error led me to this forum post : https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/736505?TMDSHVRESLLCKIT-Erasing-Flash-Failed-C28xx-Error-occurred-during-flash-operation-Timed-out-waiting-for-target-to-halt-while-executing-FlashAPIInterface2802xV2-00-out
As suggested I tried using the Depletion Recovery tool in UniFlash which completed successfully:
This still led to no success at programming the device. My device was configured to Boot to Flash, so I switched the boot mode to 'Branch to boot check' which i assume is boot to wait based on this post:
This causes a slightly different error for a verification failure at the start of the flash memory:
To do some further digging i checked the flash memory using UniFlash after the failed programming verification to see if any values were stored. It appears that they were in this case
I tried erasing the flash in sector H manually using UniFlash to ensure that the erase operation is working:
I also checked to make sure that the CSM password was not erased during the operation. It appears to be intact and still the default 0xFFFF values. I have included UniFlash and CCS screenshots to make it easier to read.
Its looking like I'll have to replace the device, but I am open to suggestions before I try doing that.
Thanks,
Erick