Skip to main content
Muzahir Hussain
Associate III
November 17, 2017
Question

How do I define a region of a memory?

  • November 17, 2017
  • 1 reply
  • 535 views
Posted on November 17, 2017 at 11:08

I want to define a region of a memory with read/write permission. I searched the web and came across the command 'MAP'.

'

The

MAP

command allows specifying memory areas that are not detected automatically by �Vision'

Syntax => MAP  0xF800, 0xF8FF  READ WRITE

But when I use MAP command in my program I get syntax error. I am using STM32F103RB Micro-Controller.

Please Help.

#stm32f103rb #memory-map #keil
This topic has been closed for replies.

1 reply

S.Ma
Principal
November 17, 2017
Posted on November 17, 2017 at 13:53

It's toolchain dependent. Usually in the project linker settings there is a filename which is text and define all the memory map of the microcontroller. That's the start digging point.