Search found 14 matches
- Fri Apr 22, 2022 8:32 pm
- Forum: Bug Reports
- Topic: Errata STM32: RTC calendar registers are not locked properly Topic is solved
- Replies: 9
- Views: 3832
Re: Errata STM32: RTC calendar registers are not locked properly Topic is solved
I tried the fix with a STM32F417 (silicon "Z") and the calendar freezes. The sub-seconds keep on incrementing normally. I think the errata is misleading. I found this statement in the reference manual to be important: To ensure consistency between the 3 values, reading either RTC_SSR or RT...
- Sun Aug 15, 2021 6:13 pm
- Forum: Bug Reports
- Topic: fix to walking thread list Topic is solved
- Replies: 1
- Views: 1365
fix to walking thread list Topic is solved
I recently upgraded a working project from 20.3.x to 21.6.x. I have custom code that uses chRegFirstThread() followed by chRegNextThread() to walk all threads. I noticed that chRegNextThread() always returns NULL for my application. This results in only seeing the first thread. The following patch f...
- Sun Aug 15, 2021 6:04 pm
- Forum: Bug Reports
- Topic: stack filling in 21.6.x Topic is solved
- Replies: 3
- Views: 1755
Re: stack filling in 21.6.x Topic is solved
I did not see the note. I think it is important to maintain consistency across threads with respect to the CH_DBG_FILL_THREADS option. The idle thread, from a thread perpective, is not special or different. Can we instead fix is with the patch below? Thanks! diff --git a/os/rt/src/chinstances.c b/os...
- Sun Aug 15, 2021 3:10 pm
- Forum: Bug Reports
- Topic: crash in Semaphore enqueuing test Topic is solved
- Replies: 1
- Views: 1383
crash in Semaphore enqueuing test Topic is solved
I recently upgraded a project from 20.3.x to 21.6.x. The semaphore enqueuing test (7.2) consistently crashed when run with other code in my project. When I turned off CH_CFG_USE_SEMAPHORES_PRIORITY the problem went away. Looking at the code, I suspect this patch is the problem. With this patch, the ...
- Sun Aug 15, 2021 2:45 pm
- Forum: Bug Reports
- Topic: stack filling in 21.6.x Topic is solved
- Replies: 3
- Views: 1755
stack filling in 21.6.x Topic is solved
I recently upgraded a project from 20.3.x to 21.6.x. I have custom software that monitors the stack usage. I noticed in 21.6.x that the idle stack was not being filled with known values like 20.3.x. All other stacks worked normally. Here is a patch that restores the functionality: diff --git a/os/rt...
- Sat Feb 06, 2021 3:32 pm
- Forum: Bug Reports
- Topic: Bug fix for TIM9 interrupt for PWM Topic is solved
- Replies: 7
- Views: 3984
Re: Bug fix for TIM9 interrupt for PWM Topic is solved
It worked! Thank you! I am hoping that you can accept this patch for the STM32F4 platform that adds TIM9 interrupt support back. I have tested it and it works. Here are the three files that need to change: diff --git a/os/hal/ports/STM32/LLD/TIMv1/stm32_tim1_9_10_11.inc b/os/hal/ports/STM32/LLD/TIMv...
- Sat Dec 26, 2020 7:59 pm
- Forum: Bug Reports
- Topic: Pointer cast to suppress warnings Topic is solved
- Replies: 4
- Views: 2240
Re: Pointer cast to suppress warnings Topic is solved
Thanks. I think I got confused on the second item.
- Sat Dec 26, 2020 3:36 pm
- Forum: Bug Reports
- Topic: Pointer cast to suppress warnings Topic is solved
- Replies: 4
- Views: 2240
Pointer cast to suppress warnings Topic is solved
Hi, I recently upgraded a project from ChibiOS 18 to 20. I am getting an incompatible pointer type warning in my project. Here is a patch that fixes this warning. Thanks! diff --git a/os/rt/src/chsem.c b/os/rt/src/chsem.c index c786830df..e0150fd58 100644 --- a/os/rt/src/chsem.c +++ b/os/rt/src/chse...
- Sat Dec 26, 2020 3:25 pm
- Forum: Bug Reports
- Topic: Bug fix for TIM9 interrupt for PWM Topic is solved
- Replies: 7
- Views: 3984
Re: Bug fix for TIM9 interrupt for PWM Topic is solved
Thank you for the response. Looking at all the other ISR handlers, I now understand the problem. I am using the STM32F4 platform and it is only missing TIM9. I am hoping that you can accept this patch for the STM32F4 platform that adds TIM9 interrupt support back. I have tested it and it works. I pu...
- Thu Dec 24, 2020 9:58 pm
- Forum: Bug Reports
- Topic: Bug fix for TIM9 interrupt for PWM Topic is solved
- Replies: 7
- Views: 3984
Bug fix for TIM9 interrupt for PWM Topic is solved
I upgraded a project from ChibiOS 18 to 20. I noticed that the interrupt handler for TIM9 under PWM was removed. I put back the changes and it appears to be working. Here are the three code changes. Thanks! diff --git a/os/hal/ports/STM32/LLD/TIMv1/hal_pwm_lld.c b/os/hal/ports/STM32/LLD/TIMv1/hal_pw...