2024-09-09 01:45 AM - last edited on 2024-09-10 02:52 AM by SofLit
hi
I use touchgfx 4.24 , STM32CubeIDE 1.16 and STM32cubeMX 6.12
I do a project with touchgfx, I import it on cubeide, no problems to launch it on the card (STM32F769I-DISCO)
I make a modification ( uart 5) on the file ioc and the bilioteque (newlib rentrand) as requested by CubeMX. When I launch after compilation I have an error, of type MemManage_Handler
I do not see mistake that I could have comeate.
Who can help me?
thank
Solved! Go to Solution.
2024-09-23 02:27 AM
Hello @pascalous ,
I would guess it is an issue with FreeRTOS actually.
Can you try to activate your UART5, but when do not fix the warning about NEWLIB_REENTRANT, when STM32CubeMX asks you "Do you still want to generate code", just click "Yes".
Regards,
2024-09-09 03:21 AM - edited 2024-09-09 03:22 AM
Hello @pascalous and welcome to the community,
Check the MPU config and if you declared something in a memory region that MPU prevents that access.
2024-09-09 04:28 AM
thank for reply
I just remade a project, I neither is put any personal code. I put uart5 in assynchrone mode, I complicate the file ioc and I have the same problem. uart5 and mpu have they the same memory zone?
2024-09-09 04:31 AM
sorry
i build ioc....not complicate
2024-09-09 04:32 AM
Before enabling the UART, did you get the same behavior?
2024-09-09 05:20 AM
No Before activating the UART, all functions well not error
2024-09-09 05:46 AM
Not obvious to tell you which the issue based on the information you provided.
Need to share your project so maybe we can help you ...
2024-09-09 06:36 AM
2024-09-09 06:45 AM
Sorry your project doesn't compile it's incomplete. You need to attach the complete project. Also I don't see any TouchGFX code in your project.
2024-09-09 10:07 AM