cancel
Showing results for 
Search instead for 
Did you mean: 

How do I define a region of a memory?

Muzahir Hussain
Associate III
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
1 REPLY 1
S.Ma
Principal
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.