Search found 260 matches

by faisal
Mon May 11, 2020 3:21 am
Forum: Bug Reports
Topic: Segmentation fault (core dumped) Topic is solved
Replies: 4
Views: 954

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

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

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

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

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...
by faisal
Fri Apr 10, 2020 12:19 am
Forum: Bug Reports
Topic: Documentation for rescheduling requirements for S/I class APi Topic is solved
Replies: 3
Views: 1726

Documentation for rescheduling requirements for S/I class APi Topic is solved

You had language similar to this in previous documentation: –“S” is a function that must be called from within a critical zone and can reschedule internally –“I” is a function that must be called from within a critical zone and does not reschedule internally However, in the current documentation the...
by faisal
Tue Nov 26, 2019 9:42 pm
Forum: Development and Feedback
Topic: SEGGER J-link ChibiOS RTOS awareness plugin
Replies: 1
Views: 880

Re: SEGGER J-link ChibiOS RTOS awareness plugin

Hey Giovani, looks interesting ya :)
by faisal
Fri Nov 08, 2019 9:48 pm
Forum: Development and Feedback
Topic: GCC 9
Replies: 20
Views: 1769

Re: GCC 9

ARM has just released their new GCC, version is 9.2.1. https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads It's almost twice as fast on linux compared to GCC 8. Could someone check if it still produces incorrect CM0 code? As far as I know...
by faisal
Tue Nov 05, 2019 11:41 pm
Forum: Development and Feedback
Topic: PineTime smartwatch nrf52840
Replies: 2
Views: 671

Re: PineTime smartwatch nrf52840

There are also lots of devices out there that people are currently hacking/reverse engineering that are based on the nRF4528xx

https://github.com/curtpw/nRF5x-device- ... ngineering

Go to advanced search