2017-11-17 02:06 PM
Hello,
I am trying to find examples of code where the external SRAM is mapped using the linker file. I saw an example of it being done here (
https://community.st.com/0D50X00009XkfB3SAJ
). However, all the uses of the SRAM eg.[the HAL_SRAM_Write_32b() function] in the example code make use of locking. If anyone has examples of using external RAM as general purpose RAM it would be greatly appreciated.FYI this is being done on the STM32L496G-DISCO board
null2017-11-18 09:39 AM
In order to use SRAM as a common space, you need to add a section to * .sct, * .ld and etc is the file.
Using definitions, create pointers to arrays and variables in this section.
Well, set up the IDE so that it would see this section is shared space.
2017-11-24 06:24 AM
Hello Chris, did you able to success with external SRAM access?