Search found 563 matches

by steved
Wed Apr 24, 2019 6:04 pm
Forum: Small Change Requests
Topic: add checks for DMA cache synchronisation function
Replies: 2
Views: 48

Re: add checks for DMA cache synchronisation function

Not used the cacheBufferInvalidate or cacheBufferFlush functions yet, I don't think. But the earlier dmaBufferFlush() would accept and apparently work OK with any address. (I had a situation where a 3rd-party-created buffer was definitely not 32-byte aligned; I had to flush one more cache line than ...
by steved
Thu Feb 21, 2019 6:52 pm
Forum: STM32 Support
Topic: Where to start STM32H7 support
Replies: 146
Views: 11814

Re: Where to start STM32H7 support

Giovanni wrote:It must be some kind of glitch, it looks like the DMA is triggered twice for each frame, this is why the output is interleaved with zeros.

Giovanni

Or how about if the DMA is doing an 8-bit read followed by a 16-bit write?
by steved
Wed Feb 06, 2019 7:30 pm
Forum: Small Change Requests
Topic: TODO: in files
Replies: 0
Views: 137

TODO: in files

'TODO' is a pretty standard word to put in source files to draw attention to code which needs further attention. Eclipse generates a list of the associated locations during compilation. There are quite a lot of 'TODO's in the Chibi source files, which tend to swamp the list. Could Chibi use a differ...
by steved
Thu Jan 03, 2019 2:21 pm
Forum: ChibiOS/RT
Topic: Clock arrangemants for STM32-F407
Replies: 6
Views: 679

Re: Clock arrangemants for STM32-F407

These are the values I use for the Olimex board (on Chibi 17.6, but doubt anything's changed): /* Settings for Olimex E407 (12MHz crystal) */ #define STM32_PLLM_VALUE 12 /* PLL input prescaler - gives 1MHz into PLL */ #define STM32_PLLN_VALUE 336 /* PLL multiplier for VCO clock - gives 336MHz */ #de...
by steved
Fri Dec 14, 2018 6:59 pm
Forum: Development and Feedback
Topic: High Speed Tickless timers?
Replies: 4
Views: 376

Re: High Speed Tickless timers?

Had a go at this, with very satisfactory-looking results. I've settled on a 1usec resolution and minimum time of 100usec for now. Running 3 timers on a 32MHz 32L031 the jitter is 1usec - very stable. (Although that is with just a 'blinky' thread running as well). Code attached in case anyone wants a...
by steved
Fri Dec 14, 2018 1:33 pm
Forum: Bug Reports
Topic: Timer usage checks in wrong place Topic is solved
Replies: 2
Views: 253

Timer usage checks in wrong place Topic is solved

The checks as to whether a particular timer is used for system tick are in hal_st_lld.c. So the appropriate '#define STM32_TIMxx_IS_USED' is executed only when compiling that file; the information is not available to other source files which may try and use the same timer. Not sure of the ramificati...
by steved
Tue Dec 11, 2018 10:21 pm
Forum: Development and Feedback
Topic: Raspberry Pi port
Replies: 15
Views: 761

Re: Raspberry Pi port

There's a port of an older version of ChibiOS to the Pi which might give you some ideas:
http://www.stevebate.net/chibios-rpi/Ge ... arted.html
https://www.raspberrypi.org/forums/view ... p?p=185362
by steved
Thu Nov 29, 2018 11:55 pm
Forum: ChibiOS/RT
Topic: migrating from v2 to v3
Replies: 19
Views: 1029

Re: migrating from v2 to v3

Seem to remember something like that was due to a subtle problem in the makefile; can't remember exactly what, but perhaps a space character after the '\' at the end of a line, or something like that.
by steved
Wed Nov 28, 2018 6:36 pm
Forum: ChibiOS/RT
Topic: migrating from v2 to v3
Replies: 19
Views: 1029

Re: migrating from v2 to v3

In the makefile, have you deleted main.c from the list of C files, and added main.cpp to the list of C++ files?
(And sometimes a clean helps after such changes)

Go to advanced search