2021-06-23 03:05 AM
Is there a way to increase code size which is used on M4 MCU? I saw some memory regions in device tree, but it is not clear how to do a change. Any info will be appreciated.
Best regards,
Nenad
2021-06-23 08:57 AM
Hello @NGajic ,
Have you taken a look here: https://wiki.st.com/stm32mpu/wiki/STM32MP15_RAM_mapping?
2025-01-16 04:42 PM
Hello @ArnaudP,
I have read this article. From what I understand, it should be possible to just enlarge the retram reserved-memory section, where the M4 firmware is initially loaded into. However, rproc_elf_load_segments() is still crashing in the A7 host when trying to copy the code segment from the ELF file.
See my post for more details: https://community.st.com/t5/stm32-mpus-products/stm32mp157c-how-to-increase-the-m4-image-size/m-p/760904/highlight/true#M12418
@NGajic, did you ever manage to load an M4 firmware larger than 64kb?
Best regards