In an effort to write a boot loader, I have changed the configuration so that the device starts executing code from bank 1. It doesn't work. ... Since then I am unable to access the flash device. I have tried the procedure described in MCBSTR9 : RECOVER ACCESS TO FLASH...by erasing flash immediatly after reset with no result.
What else can I try ?
Luc Vercruysse.
Use a JTAG emulator to (1) stop the processor and step through your code or (2) reprogram the flash.
Failing that, desolder the flash part and pop it into a programmer to erase it. (When you're working on things like boot loaders, it's nice to have a socketed flash part for the times you make mistakes.)
same problem, the arm device cannot be stopped by the JTAG emulator. The only thing I can do is desoldring the part :(
ST Micro has another JTAG-Adapter "Flashlink", which can be used with the free tool CAPS from ST.
But I don't no if it can help to solve your problem.