Search found 264 matches

by faisal
Sun Apr 04, 2021 4:49 am
Forum: Bug Reports
Topic: QSPI erratum "fix" not applicable to stm32L496
Replies: 3
Views: 220

Re: QSPI erratum "fix" not applicable to stm32L496

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
Replies: 3
Views: 220

Re: QSPI erratum "fix" not applicable to stm32L496

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
Replies: 3
Views: 220

QSPI erratum "fix" not applicable to stm32L496

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: 0
Views: 91

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: 1918

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: 1918

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..
by faisal
Sat Apr 25, 2020 8:07 pm
Forum: Development and Feedback
Topic: Precision periodic timer using virtual timers
Replies: 7
Views: 1074

Re: Precision periodic timer using virtual timers

Giovanni wrote:The drawback would be that the timer object would become larger.


This could be mitigated with a compile time kernel option to enable virtual timers to be optionally configured as periodic timers.
by faisal
Sat Apr 25, 2020 7:58 pm
Forum: Development and Feedback
Topic: Precision periodic timer using virtual timers
Replies: 7
Views: 1074

Re: Precision periodic timer using virtual timers

Hi, This is a good point, VTs have been designed as one-shot timers only and, when using high resolution time, there could be an accumulating error. Perhaps VTs should have a periodic mode built-in, without having to reload the timer from the callback. The drawback would be that the timer object wo...
by faisal
Sat Apr 25, 2020 1:34 am
Forum: Development and Feedback
Topic: Precision periodic timer using virtual timers
Replies: 7
Views: 1074

Precision periodic timer using virtual timers

I took at a look at ChibiOS/os/various/evtimer.c, and it implements the last idea presented here using virtual timers: http://www.chibios.org/dokuwiki/doku.php?id=chibios:kb:timing The issue is that the timing will always be off due to the execution time it takes to get to the place where the one sh...

Go to advanced search