I had the same Error Message, but the Reason was another.
I started programming with the "GettingStarted" Demo from IAR Compiler.
The Configuration for the Project is set by default to "RAM Debug". So the generated hex-File seems to want to programm the RAM what appears to be the Reason for the Error.
With the "Flash Debug" Setting, it works fine
I started programming with the "GettingStarted" Demo from IAR Compiler.
The Configuration for the Project is set by default to "RAM Debug". So the generated hex-File seems to want to programm the RAM what appears to be the Reason for the Error.
With the "Flash Debug" Setting, it works fine