Search found 278 matches

by faisal
Sun May 02, 2021 1:26 am
Forum: Bug Reports
Topic: context switch observed inside S-locked state Topic is solved
Replies: 28
Views: 1872

Re: context switch observed inside S-locked state Topic is solved

Also, the documentation says that interrupts are disabled in S locked state, but there is code like the following which works. So.are interrupts disabled or not? [I know they are not, I'm just trying to come up with a coherent understanding of the lock states .... And to reconcile language in the do...
by faisal
Sun May 02, 2021 12:46 am
Forum: Bug Reports
Topic: context switch observed inside S-locked state Topic is solved
Replies: 28
Views: 1872

Re: context switch observed inside S-locked state Topic is solved

Ok, I'm back to this slightly confused state with S class functions. So, if I want to implement a critical zone and manipulate a global variable , it seems that isn't possible to o guarantee in an S-lock state? So below a high priority thread is waiting to receive a fifo object. The low priority thr...
by faisal
Thu Apr 29, 2021 10:39 pm
Forum: Development and Feedback
Topic: Precision periodic timer using virtual timers
Replies: 25
Views: 1881

Re: Precision periodic timer using virtual timers

Oh, and one small request from me: please sync changes like these to github too. I know you prefer SVN over git, but I find extracting patches using svn or the OSDN webinterface much slower and more cumbersome than using git where they are all synced to your local system and are easily accessible. ...
by faisal
Sat Apr 24, 2021 12:01 pm
Forum: Development and Feedback
Topic: Precision periodic timer using virtual timers
Replies: 25
Views: 1881

Re: Precision periodic timer using virtual timers

Any update on this?
by faisal
Sun Apr 04, 2021 4:49 am
Forum: Bug Reports
Topic: QSPI erratum "fix" not applicable to stm32L496 Topic is solved
Replies: 4
Views: 348

Re: QSPI erratum "fix" not applicable to stm32L496 Topic is solved

The actual diff on my end is below. I was missing the dmaStreamClearInterrupt(wspip->dma) - which was added in the last month as a bug fix. However, that didn't fix the problem. I kept that, but removed the errata handling and added back the dmaStreamDisable from the previous revision. That seems to...
by faisal
Sun Apr 04, 2021 1:16 am
Forum: Bug Reports
Topic: QSPI erratum "fix" not applicable to stm32L496 Topic is solved
Replies: 4
Views: 348

Re: QSPI erratum "fix" not applicable to stm32L496 Topic is solved

I checked all the errata for the L4 series (https://www.st.com/en/microcontrollers-microprocessors/stm32l4-series.html#documentation). There are 12 errata published for the different devices in the series. Below is the applicable patch targeting those devices that have the "Extra data written i...
by faisal
Sat Apr 03, 2021 8:51 pm
Forum: Bug Reports
Topic: QSPI erratum "fix" not applicable to stm32L496 Topic is solved
Replies: 4
Views: 348

QSPI erratum "fix" not applicable to stm32L496 Topic is solved

The fix here: https://forum.chibios.org/viewtopic.php?f=35&t=5602 , is not applicable to L496. The errata sheets are different with regards to QSPI for L476/486 and L496 . I tested with and without the errata patch applied, and using the version that 'addresses' the errata doesn't work on L496. ...
by faisal
Fri Apr 02, 2021 6:23 pm
Forum: Small Change Requests
Topic: Add STM32_WSPI_QUADSPI1_PRESCALER_VALUE to mcuconf updater
Replies: 1
Views: 176

Add STM32_WSPI_QUADSPI1_PRESCALER_VALUE to mcuconf updater

Add STM32_WSPI_QUADSPI1_PRESCALER_VALUE to the updater. diff --git a/ChibiOS_20.x.x/tools/ftl/processors/conf/mcuconf_stm32l496xx/mcuconf.h.ftl b/ChibiOS_20.x.x/tools/ftl/processors/conf/mcuconf_stm32l496xx/mcuconf.h.ftl index e6a3f3a57..bdcb294ae 100644 --- a/ChibiOS_20.x.x/tools/ftl/processors/con...
by faisal
Mon May 11, 2020 3:21 am
Forum: Bug Reports
Topic: Segmentation fault (core dumped) Topic is solved
Replies: 4
Views: 2037

Re: Segmentation fault (core dumped) Topic is solved

I did some more digging around with git bisect, and I found the offending commit:

https://osdn.net/projects/chibios/scm/svn/commits/13496

I'm guessing it has something to do with moving around the struct port_context in the thread structure.
by faisal
Mon May 11, 2020 1:30 am
Forum: Bug Reports
Topic: Segmentation fault (core dumped) Topic is solved
Replies: 4
Views: 2037

Re: Segmentation fault (core dumped) Topic is solved

The simulator is segfaulting at the tip of development branch, but works fine in stable_20.3.x.

The segfault seems to happen in the context switch..

Go to advanced search