I've been using MicroVision IDE and debugging STM32 successfully, until recently.
When starting the debugging, after loading the software the debugger gives the following:
Cannot access Memory *** error 57: illegal address (0x08000000)
This has not happened before, and now it happens all the time. After this message I can only debug by looking at disassembly window, the C source code is not tracked anymore.
The address is the starting address of on-chip flash, so it is valid.
Problem seems to be solved.
Upgrading to latest ARM developement package did not help, but..
I disabled three flags from the debugger settings: -caching of code memory -caching of data memory -download code to flash
I don't know how the flags turned on anyway.
It seems it still downloads code to flash, as the code cannot possibly fit into sram, but it works.