2016-12-18 04:12 AM
Hi,
I'm creating the project using STemWin, and FreeRTOS on STM32F407IGT. My program is blocked in GUI_Init function.
I'm not sure how to check what is wrong, set up in wrong way(?).
The R2 and R3 registers are loaded, and next they are compared. These values are not equal, so that's why the program remains in the same place. When I set PC on 0x800695A address, the program runs correctly, LCD is initialized, and FreeRTOS runs. Could someone point me, what should I check to fix this?
I'm using FreeRTOS 8.2, and STemWin 5.32
#stm32f407 #freertos #stemwinSolved! Go to Solution.
2016-12-18 12:53 PM
Hi,
Have you enabled:
RCC_AHBPeriphClockCmd(RCC_AHBPeriph_CRC, ENABLE);
The stemwin library uses it to make sure it is running on an stm32.
Glenn
2016-12-18 12:53 PM
Hi,
Have you enabled:
RCC_AHBPeriphClockCmd(RCC_AHBPeriph_CRC, ENABLE);
The stemwin library uses it to make sure it is running on an stm32.
Glenn
2016-12-19 04:36 PM
You're right. Thank you. When I have enabled clock for CRC module, the program runs correctly.