Why assert_failed in HAL_InitTick()?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-02 3:54 PM
After spending some time debugging my project, I was able to narrow my problem down to this and reproduce it as follows:
- File, New, STM32 Project
- Select NUCLEO-L412KB
- In Pinout & Configuration, SYS, choose Timebase Source TIM16
- In Project Manager, Code Generator, select Enable Full Assert
- Debug...
assert_failed() at main.c:197 0x80002a0 HAL_NVIC_SetPriority() at stm32l4xx_hal_cortex.c:192 0x80006fe HAL_InitTick() at stm32l4xx_hal_timebase_tim.c:49 0x800030e HAL_RCC_OscConfig() at stm32l4xx_hal_rcc.c:482 0x8000a7a SystemClock_Config() at main.c:124 0x800022c main() at main.c:79 0x80001d8
Solved! Go to Solution.
- Labels:
-
Interrupt
-
STM32CubeMX
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-21 6:53 AM
Hi,
am facing the same issue with HAL_InitTick(TICK_INT_PRIORITY); function
is it fixed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-06-06 1:44 PM
I don't think it's fixed as it's now 2024 and I get the same problem on the STM32WB55 :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-06-10 5:44 AM
Hello ,
This issue was detected and reported internally.
Internal ticket number: 183790 (This is an internal tracking number and is not accessible or usable by customers).
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-06-10 5:53 AM
Thank you, please can you let me know when this is fixed or any possible workaround? I'm working on a customer project that needs this working soon
Regards
Andrew

- « Previous
-
- 1
- 2
- Next »