Search found 304 matches

by alex31
Tue Sep 01, 2020 6:50 am
Forum: Development and Feedback
Topic: [DEV] The new SIO driver
Replies: 7
Views: 676

Re: [DEV] The new SIO driver

Hello,

that's nice.

Hardware fifo is mandatory for this driver ?

Another field which is not well covered by drivers is continuous reception using half buffer ISR, that has been add to SPI recently, but still missing for UART.

Alexandre
by alex31
Thu Aug 20, 2020 9:16 am
Forum: ChibiOS/HAL
Topic: hal_buffer_queue : how to use it
Replies: 1
Views: 174

Re: hal_buffer_queue : how to use it

Hum, was my fault, did not notice that the input_buffer_queue store private field (size) in buffer, and that one should reserve NEED_SIZE + sizeof size_t

All works now, sorry for disturbance.

Alexandre
by alex31
Wed Aug 19, 2020 9:58 am
Forum: ChibiOS/HAL
Topic: hal_buffer_queue : how to use it
Replies: 1
Views: 174

hal_buffer_queue : how to use it

Hello, I have to transmit fixed buffer size from dma ISR to thread, input_buffers_queue_t seems to be the appropriate tool. In my application, after few iterations, it fails because of memory corruption, probably because of misuse. The only example of use i have found is in hal_serial_usb. I have re...
by alex31
Fri Jul 10, 2020 2:21 pm
Forum: General Support
Topic: strange coherency problem with dma buffer
Replies: 3
Views: 286

Re: strange coherency problem with dma buffer

Finally, volatile fixing the problem was sot sufficient, real problem belongs to DMA bandwidth, and seems to be fixed playing with DMA priority. ADC dma/irq priority == PWM dma/irq priority, no volatile : 7% of malformed dshot frame ADC dma/irq priority < PWM dma/irq priority, dma buffer not volatil...
by alex31
Wed Jul 08, 2020 9:20 pm
Forum: General Support
Topic: strange coherency problem with dma buffer
Replies: 3
Views: 286

strange coherency problem with dma buffer

Hello, My question is not chibios specific. I have received a bug report on open source software that i wrote, on a dshot driver which basically fill a buffer which is transmitted (DMA) to a timer in pwm mode to make a pulse coded numeric signal respecting the dshot protocol. The bug report is : 7% ...
by alex31
Wed Jul 01, 2020 11:01 am
Forum: Development and Feedback
Topic: Support for C11/C++11 thread local storage
Replies: 3
Views: 284

Re: Support for C11/C++11 thread local storage

the OS already supports mechanisms able to implement that. For example a private heap that is destroyed on thread termination (using hooks).


That's nice, can be useful for allocating memory from a dma compatible pool in a reentrant way. Is there any example of using this ?

Alexandre
by alex31
Sun May 10, 2020 12:45 pm
Forum: Development and Feedback
Topic: c++20 : semantic change of volatile keyword
Replies: 2
Views: 279

c++20 : semantic change of volatile keyword

Hello, GCC 10.1 is out, and with it, come fairly complete c++20 support. linux early adopter can try out arm-none-eabi-gcc-10.1 here : arm-none-eabi-gcc-10.1 archive One think that will hit embedded developper is the change relative to the volatile keyword: https://www.youtube.com/watch?v=KJW_DLaVXI...
by alex31
Sun May 10, 2020 12:04 pm
Forum: Development and Feedback
Topic: [PROBLEM] Dead PC...
Replies: 16
Views: 1107

Re: [PROBLEM] Dead PC...

I need to buy one of those NAS too, it would be nice to have something running a Linux instance so I can use rsync and also have a subversion server at home. Giovanni I have a synology DS1511+, it's gnu/linux based and you can add synology maintained package, svn is part of the free offer. You can ...
by alex31
Sat May 09, 2020 10:35 pm
Forum: Development and Feedback
Topic: [PROBLEM] Dead PC...
Replies: 16
Views: 1107

Re: [PROBLEM] Dead PC...

welcome back PC :-) NAS are now inexpensive, i have bought an used 5 bay raid NAS for few bucks, and I use rsnapshot for my (and my wife) backups, it's rough, minimal, use unix intrinsics like crontabs and hardlinks. if a disk begin to fail, the hotspare disk take the relay, the nas send me an email...
by alex31
Thu May 07, 2020 11:27 am
Forum: Development and Feedback
Topic: [PROBLEM] Dead PC...
Replies: 16
Views: 1107

Re: [PROBLEM] Dead PC...

hope you had backup :-(

I wish you good luck with the repair !

Alexandre

Go to advanced search