read and write SRAM internal
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-05-21 3:11 AM
Posted on May 21, 2016 at 12:11
I would read and write about 10kB of 64kB SRAM internal with STM32F103ZE.
This micro have the SRAM at start address 0x20000000.How can I use and save the area of RAM, sure this area isn't changed in real time during the program is running? What commands should I use?Thank so much.
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-05-21 7:42 AM
Posted on May 21, 2016 at 16:42
Ok, so create a static allocation, dynamically allocate from the heap with malloc, or carve out memory in the linker script or scatter file.
Verify the content with a checksum, CRC, or hash of the region. Use as an array or pointer.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
