This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Debugger error 129: MapMem - map size truncated to 128MB

Hello

I am using a version for evaluation of uVision 3.0. and its simulator. I use the stm32f103ze micro.
I am trying to debug a simple program: It prints "Hello World" in the UART1.

I have no problems with the Real View compiler, but when I try to debug with a GNU compiler, I get this debugging error:
error 65: access violation at 0x1080F44E : no 'execute/read' permission

But in the memory map this section appears with exec-read permission.

I have found a thread with sugests to creat an .ini file with this instruction:
MAP 0X10800000, 0X1880FFFF EXEC READ

But, in this case I get the following errors:
error 129: MapMem - map size truncated to 128MB
error 65: access violation at 0x18800000 : no 'execute/read' permission

What should I do?

Parents
  • What should I do?

    Let's start with what you should not do. Blindly copying advise from "some thread", which may or may not have anything to do with your actual situation, would be one such thing.

    Instead, you should spend some time with the manuals. Learn what the "map" command actually does, and then apply that knowledge to your problem.

Reply
  • What should I do?

    Let's start with what you should not do. Blindly copying advise from "some thread", which may or may not have anything to do with your actual situation, would be one such thing.

    Instead, you should spend some time with the manuals. Learn what the "map" command actually does, and then apply that knowledge to your problem.

Children
No data