Login

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.

ARM Community: Keil - memory map window trouble - ARM Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Keil - memory map window trouble Rate Topic: -----

#1 User is offline   Sasa 

  • Member
  • Pip
  • Group: Members
  • Posts: 20
  • Joined: 11-May 12

Posted 09 August 2012 - 02:27 PM

Hey guys, does someone knows why the memory map configuration window in keil is always cleared once you get out of the debugger. I am working with an microcontroller (STM32F407VGT6) and I’ve defined

a new memory range to access some GPIO's and it works fine when i configure it immediately when I enter the debugger and step in the code. The trouble is, when I close the debug session and re-enter it, my


memory region that i just defined has been cleared. Then I get errors no read/write permission at addresses .... because the debugger doesn’t see these addresses like read/write ones. Does someone have a solution

over that issue?



Thanks in advance


This post has been edited by Sasa: 09 August 2012 - 02:28 PM

0

#2 User is offline   Sasa 

  • Member
  • Pip
  • Group: Members
  • Posts: 20
  • Joined: 11-May 12

Posted 10 August 2012 - 02:57 PM

I found the solution. Under Project -> Debug -> Initialization file (here you have to choose depending if you are in simulation or debugger ). By default, there isn't an initialization file so you need to click on the three dots (...)
to create one and then edit it via the edit button. In this file you can write something like -- MAP 0x40020C00, 0x400FFFFF READ WRITE -- for a memory region that is readable and writable. This will add that region
to the memory map window permanently.
2

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic