Tool/software:
Hello,
The version of the SDK we are using is 8.6, and it supports both Linux and FreeRTOS. During normal operation, only core 5F0-0 is utilized, so we allocated the memory resources of the other cores to this core, amounting to approximately 60M. Since the R5F core involves the process of parsing XML files during runtime, our tests revealed that the parsing time was progressively increasing, reaching a maximum of 80 seconds, which is unacceptable to us. My colleague discovered that the issue might be due to insufficient memory allocation, leading to memory fragmentation during memory requests and thus longer processing times for subsequent requests. To address this problem, we increased the memory allocated to R5F in the device tree to 300M. The system compiled and ran successfully, and the XML file parsing time was reduced to 10 seconds. Based on this observation, it appears that the issue was indeed caused by insufficient memory allocation. However, we still have some concerns. According to the DDR resource allocation defined in the link
the maximum available DDR resources for R5F only go up to 0xA5800000. Although our modification allows the system to run, we are worried about potential unforeseen impacts. We would greatly appreciate your feedback on this matter. Thank you very much!