We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello experts,I am working on a53 core in which I am not able to run string library functions like memset, memcpy etc. I have included the string.h library also but it is generation an exception. The same code works on the a15 core without any modification. What could be the solution for this issue?
Please help with this.
Thanks in advance!
BR,Sagar K
- Do you use AArch32 or 64 on A53?
- Did you step inside one of these functions to see at which point it crashes?
Hi 42Bastian,Here is the screenshot where it jumps to exception.
Thank You,
Sagar K
ErrorInfo is not aligned on 8 byte boundary, but memset() is inlined and uses 64bit access.
Im am not sure how to tell the compiler not to optimize like this, but maybe a no-inline option might help. Or enable unaligned access in the core ( clear SCTLR_ELx_A).