2024-09-23 09:39 AM
Deaers,
I'm using stm32mp151fad and would like to transfter sram data to ddr in M4 side. I refer to the logic analyzer example https://github.com/STMicroelectronics/logicanalyser. The sram data could be copied into ddr immediately.
Do you have any thoughts about its root cause?
2024-09-27 08:49 PM
I use 1GB DDR. And I find it's strange that M4 could write/read DDR address 0xd0000000, but 0xf7841000 still can't. Do I misconfigure anything? The DDR size is already to set to 1GB in device tree.
2024-10-04 02:00 AM
Hi @fantasylsdo,
About the DDR configuration, I would like to point out the following wiki article: https://wiki.st.com/stm32mpu/wiki/How_to_configure_a_256MB_DDR_mapping_from_STM32_MPU_Distribution_Package.
It might be useful to cross-check if you configure correctly for 1GB DDR.
Hope this information helps.
Regards,
JC.
2024-10-05 08:59 PM
Hello Christphone,
Thanks for your kind reply. I checked the dts. The memory size is 1GB.
memory@c0000000 {
device_type = "memory";
reg = <0xC0000000 0x40000000>;
};
And here is the output of /proc/iomem.
c0000000-cfffffff : System RAM
c0008000-c0ffffff : Kernel code
c1100000-c125dd3f : Kernel data
d3200000-fffffffe : System RAM
Do I mis-configure other things?
Regards,
fantasylsdo