STM32CUBE + FreeRTOS + RTC HardFault
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-06-26 07:04 PM
Posted on June 27, 2014 at 04:04
Hi Everyone,
I have the stm32f4dicscovery and built a simple project with STM32CubeMX 4.3. I have attached the IOC file. The code starts a task thread and blinks an LED. The program hard faults when the RTC Init function is called. Any help on resolving this would be greatly appreciated.Call Stack:HardFault_HandlerxTaskIncrementTickxPortSysTickHandlerSysTick_HandlerRTC_EnterInitModeHAL_RTC_InitMX_RTC_InitMainThanks,George
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-06-30 01:23 AM
Posted on June 30, 2014 at 10:23
see my posts at thread [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/STM32CubeMX%20clock%20config%20bugs&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21]STM32CubeMX clock config bugs
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-06-30 06:26 AM
Posted on June 30, 2014 at 15:26Thank you very much the fix was adding this to the FreeRTOSConfig.h file to prevent the hardfault on RTC Init().
#define configUSE_TIME_SLICING 0
Thank You Again,George