We have a situation where two initialization routines were swapped around in sequence, written to flash, and did not realize that the one that was originally running second required some hardware initialization which was running in the routine which was first. Having swapped them this initialization was now not happening when needed. I have swapped them back but I cannot get into the system to downloaded the fixed version. The software resides in flash and hence restarts whenever the processor is powered up or reset. I need a way to clear out the flash so there is no program in there to run and hence I should be able to get in to download one. I can connect to the DAP port but CCS (I have version 6.1.0.00104) will not allow me to look at the flash memory via the DAP port.
Is it possible to use a GEL script (or something else?) to get into the system and clear the flash ? Failing that, is there a hardware method of clearing the flash electrically ?
Is it possible to tell the system to run the program in RAM rather than flash so it will not run the one in flash and hence allow me to manually clear flash since the probe should then connect ?
I am using an XDS200 emulator.
Thanks in advance for your help.
Dan