2024-10-09 05:54 AM - last edited on 2024-10-09 06:01 AM by SofLit
Hello,
I am working with stm32H755 and FreeRTOS. After setting up debugger, I start debugging the program. the code is built fine, then get this error msg(attached picture) only if i enable FreeRTOS from the setup window(attached picture) . But i need to use freeRTOS. How can i solved this issue?
Any support is welcome.
Thanks
1. in the freertos.c file, The code is
void MX_FREERTOS_Init(void) {
osThreadDef(defaultTask, StartDefaultTask, osPriorityNormal, 0, 8192);
defaultTaskHandle = osThreadCreate(osThread(defaultTask), NULL);
}
2. debug msg
STMicroelectronics ST-LINK GDB server. Version 7.3.0
Copyright (c) 2023, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
Shutting down...
Exit.
```
2024-10-09 06:00 AM
Hello @sazzad07 and welcome to the community,
As you are using stm32H755 , be sure your power config is correct SMPS versus LDO which should be inline with your hardware.
What board are you using: custom or ST board?
PS: when sharing a code please use </> button.
Thank you.
2024-10-09 06:15 AM
2024-10-09 06:18 AM
Hello @sazzad07 ,
Did you mistakenly mark my comment as solution?
2024-10-09 06:21 AM
yes
2024-10-09 06:24 AM
OK since it's a custom board you need to check your HW/Schematics based on the HW getting started in this AN: https://www.st.com/resource/en/application_note/an4938-getting-started-with-stm32h74xig-and-stm32h75xig-mcu-hardware-development-stmicroelectronics.pdf
Check mainly the power part and VCAP pins.