A
A
Alexey Nosov2015-06-30 15:05:49
ARM
Alexey Nosov, 2015-06-30 15:05:49

How to work with named sections of ARM memory?

I'm trying to implement the simple CLI from this article.
I've searched through a bunch of articles, but I can't find how to work with memory sections in Keil.
Creating a named section is in the documentation.
But I can not find how to get its address and size for further work. I would be very grateful for help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
peacefulatom, 2015-07-09
@peacefulatom

Tips on the address and size of the memory are in the datasheet or the programmer's manual for the microcontroller. In general, Keil should also have working linker scripts in the firmware examples for your MCU, if he officially supports it.
Addresses and sizes of memory areas can be found in the document DM00037051.pdf, fig. 18. STM32F40x memory map, page 70.
I found an example script for a linker according to your stone, but for GNU ld.
In general, while I was working on your question, I found another post on the topic of writing a scatter file for STM32F40x in Keil.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question