cancel
Showing results for 
Search instead for 
Did you mean: 

Increasing code size on M4 coprocessor

NGajic
Associate III

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

2 REPLIES 2
ArnaudP
ST Employee

Hello @NGajic​ ,

Have you taken a look here: https://wiki.st.com/stm32mpu/wiki/STM32MP15_RAM_mapping?

rhaberkorn
Associate III

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