Hi,
I am having problems with the flash being locked during flash operations, without the password protection being deliberately activated by me.
I am using CCS4.0.2 (upgraded once), Blackhawk USB2000 emulator and F2808 ControlCARD in an experimenter's dock. I recently bought this hardware, but have many previous years experience with CCS3.x, Spectrum Digital 510usb emulator and F281x.
The first time it happened, I tried to write a simple project to flash. I made sure that the password protection was not set - password bits all ones in CSMPasswords.asm. The programming sequence stalled, and after starting the IDE again the flash was locked. After that I had to order more ControlCARDs and did development work for a couple of weeks using RAM only with no problems.
The second time it happened (now), I wanted to program to flash because the code size was getting close to the RAM size limit. I tried to play it safe. I opened a debug session, and opened the On-Chip Flash tool. I tried using this tool to erase flash bank A only, but it reported that there was an error erasing the flash. The flash was still unlocked. I tried two more times, after which it reported that the flash was locked or the device not connected.
I'm not sure if this is a software or hardware problem. Any thoughts would be appreciated.
Thanks in advance,
Douglas
ps - I'm just wondering whether the flash circuitry draws an impulse of current when a flash erase operation starts, and whether this might cause a catastrophic supply voltage dip if the external supply is weak? I'm down to my last ControlCARD and am loathe to sacrifice it to find out!!