2023-06-23 04:11 PM
Hi, I do not have enough flash memory on my dev board (STM32F7508-DK) to launch my program. How can I run it from RAM? Is it possible to toggle CubeIDE for that somewhere?
2023-06-24 11:24 AM
This board has 16 MBytes of external QSPI flash and 8 Mbytes of external DRAM.
Please refer to the board and CubeIDE documentation on using these memories. There are also examples and tutorials.
2023-06-27 02:03 PM - edited 2023-06-27 02:12 PM
@Pavel A. Thank you for your answer. I tried to do that ..
Here's the documentation which I'm using (Place code in RAM section)
https://www.st.com/resource/en/user_manual/um2609-stm32cubeide-user-guide-stmicroelectronics.pdf
Here's my edited files (according to doc)
flash.ld file
https://github.com/tempdeltavalue/temp_STM_32_ram/blob/main/STM32F746NGHX_FLASH.ld
startup file
https://github.com/tempdeltavalue/temp_STM_32_ram/blob/main/Core/Startup/startup_stm32f746nghx.s
main file:
https://github.com/tempdeltavalue/temp_STM_32_ram/blob/main/Core/main.cpp
but I still see flash memory error...
2023-06-28 03:50 PM - edited 2023-06-28 03:51 PM
Find a ready file (produced by CubeMX/IDE) named STM32F746NGHX_RAM.ld
Do not edit anything else yet.