I program the ARM chip (STM32F2) "bare-metal". In particular, I would like to read the values ​​stored in external SRAM. Reading the reference manual I understand that such memory transactions are performed using the FSMC (Flexible Static Memory Controller).
I understand how to initialize FSMC for SRAM read / write operations. (I have to set the corresponding GPIO contacts in the correct alternative function, change the group of control registers, etc.). However, I do not see how to initiate, for example, a read operation.
What registers should I touch to read (or write) SRAM after initialization?
As I understand it, you are accessing memory using the FSMC. So, all you have to do is decide in which address space to display SRAM, and then just access it through pointers initialized to indicate there.
Source: https://habr.com/ru/post/1401419/More articles:RTL languages ​​uipageviewcontroller animation - iphoneCSS files and unwanted overrides - cssConfirm the uniqueness of a child in a nested form that does not work correctly - ruby ​​| fooobar.comHAndling Exception when a user cancels an ORA-01013 procedure - oracleHow can I get a string from byte () without changing its binary contents? - stringHow to handle ASP.NET application variables in a load balanced web farm - asp.netLink to request CF request in JS? - javascriptDownload the Exchange server and email address in .NET. - c #H264 High Quality / Performance Encoding Recommendation for Video Encoding? - ffmpegUsing if / else in insert and update statements - sqlAll Articles