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

Handling SRAM data map

Could you help me understand how can I declare and then use in my C application piece of memory in speecific place in SRAM? It could be on the end of memory map like 0x2001FF00 to 0x2001FFFF (I have STM32F4xx).

I want to store some important buffer data there and be sure that nothing unauthorised will override this.

How to declare them, how to use them (with pointers or []?), how to setup project options (I've never changed anything in Read/Write areas)?

I can find no tutorial for SRAM data handling :(

I'm using Keil of course.