Search found 304 matches

by alex31
Tue Nov 17, 2020 4:05 pm
Forum: Development and Feedback
Topic: toward secure embedded systems
Replies: 5
Views: 373

Re: toward secure embedded systems

Something that is a RTOS has to be deterministic by definition, what do you mean by ChibiOS being non-deterministic? In the synchronous world, the scheduling is statically calculated at "compilation" each task has a predefined slot of time that it can use or not, and task are called in a ...
by alex31
Tue Nov 17, 2020 10:20 am
Forum: Development and Feedback
Topic: toward secure embedded systems
Replies: 5
Views: 373

toward secure embedded systems

Hello, ChibiOS API offers asynchronous, non-deterministic way of programming embedded systems using the task paradigm. The trend seems to use synchronous systems, generated code, using tools like "lustre", "esterel", or expensive complete frameworks like Asterios from krono-safe ...
by alex31
Sat Oct 31, 2020 11:23 am
Forum: Bug Reports
Topic: CH_CFG_ST_RESOLUTION == 64 : compile error Topic is solved
Replies: 3
Views: 154

Re: CH_CFG_ST_RESOLUTION == 64 : compile error Topic is solved

Giovanni wrote:Hi,

This would require a 64 bits timer, anyway, it makes sense.

Giovanni


Internally, RT don't manage the wrapping of the 32 bits timer ?
by alex31
Sat Oct 31, 2020 9:51 am
Forum: Bug Reports
Topic: CH_CFG_ST_RESOLUTION == 64 : compile error Topic is solved
Replies: 3
Views: 154

CH_CFG_ST_RESOLUTION == 64 : compile error Topic is solved

Hello, This is for chibios 20.3, using RT. From what i see in chconf.h : /** * @brief Type of system time. * @note It is selectable in configuration between 16, 32 or 64 bits. */ #if (CH_CFG_ST_RESOLUTION == 64) || defined(__DOXYGEN__) typedef uint64_t systime_t; #elif CH_CFG_ST_RESOLUTION == 32 typ...
by alex31
Fri Oct 30, 2020 10:19 am
Forum: STM32 Support
Topic: Half-Duplex burst mode DMAR
Replies: 10
Views: 488

Re: Half-Duplex burst mode DMAR

So what goes into the CCR register? Should it be a string of 1's and 0's or should we try and read the whole packet into two register reads or something different? Hello, For the timer part and data representation : In the DSHOT protocol, each bit is coded with a signal with a fixed period and a po...
by alex31
Mon Sep 21, 2020 8:15 pm
Forum: Bug Reports
Topic: dac in 8 bits mode
Replies: 0
Views: 125

dac in 8 bits mode

Hello, I am using ChibiOS 20.3, stm32F4, and need to use DAC in 8 bits mode. Although is work well in 12 bits mode, half buffer callback is called twice as it should in DAC_DHRM_8BIT_RIGHT mode, no dual channel, only one channel used. The code of the hal is complex because there is conditionnal comp...
by alex31
Wed Sep 09, 2020 12:25 pm
Forum: Bug Reports
Topic: warning compiling chibios 20.3 with gcc 10.2 Topic is solved
Replies: 5
Views: 400

Re: warning compiling chibios 20.3 with gcc 10.2 Topic is solved

yes, probably that

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstringop-truncation"
#pragma GCC diagnostic pop


is a bit to much gcc specific ...

Alexandre
by alex31
Tue Sep 08, 2020 2:38 pm
Forum: Bug Reports
Topic: warning compiling chibios 20.3 with gcc 10.2 Topic is solved
Replies: 5
Views: 400

warning compiling chibios 20.3 with gcc 10.2 Topic is solved

Hello, I am doing experiment with c++20, and need g++10, so i went over this bug : In function 'dyn_create_object_heap', inlined from 'dyn_create_object_heap' at ../../../ChibiOS_20.3_stable/os/oslib/src/chfactory.c:124:23: ../../../ChibiOS_20.3_stable/os/oslib/src/chfactory.c:146:3: error: 'strncpy...
by alex31
Mon Sep 07, 2020 9:30 pm
Forum: Bug Reports
Topic: request for backport of chVTGetTimeStamp
Replies: 0
Views: 146

request for backport of chVTGetTimeStamp

Hello,

An interesting feature has been added to trunk, and this is a request to add it
in 20.3.4 :

http://www.chibios.com/forum/viewtopic.php?f=24&t=4265&start=10#p38289

Thanks !

Alexandre
by alex31
Mon Sep 07, 2020 6:26 pm
Forum: ChibiOS/RT
Topic: 64bit OS time
Replies: 26
Views: 4538

Re: 64bit OS time

Hello,

Could you consider adding this desirable functionality on 20.3.4 ?

21.X is still far from now to wait :-)

Alexandre

Go to advanced search