I am trying to flash an debug an STM32F205 MCU using J-link and Codesourcery 2012.09-85.
I have tried several version of J-link software, including the latest one (4.66).
The JFlasher can read and flash the MCU just fine, but flashing and debugging does not work from CodeSourcery.
I keep getting error messages:
---
-target-download C:/src/sandbox/Ruck/Lisa/MCU/D322_00/Lisa_Debug_HP/D336_00
Error message from debugger back end:
Error erasing flash with vFlashErase packet
---
Also the debugger seems to be unable to read back data from ROM or RAM.
This is the same with a STM3220G evel board and our own boards.
I don't think it is a hardware problem as most of the boards have been successfully debugged before using an older version of CodeSourery.
Any ideas?