Search found 114 matches

by Thargon
Tue Sep 20, 2016 8:29 am
Forum: STM32 Support
Topic: STM32F405: GCC5 not working correctly
Replies: 10
Views: 2415

Re: STM32F405: GCC5 not working correctly

I can't tell right now, because I am using a custom board and I don't have a Discovery at hand. I will try to get one in the next few days and test the F407 demos. I hope that these will reproduce the error, since there is no demo for the F405 (yet ;) ) and with a F103 everything works fine. Thank y...
by Thargon
Mon Sep 19, 2016 8:40 pm
Forum: STM32 Support
Topic: STM32F405: GCC5 not working correctly
Replies: 10
Views: 2415

Re: STM32F405: GCC5 not working correctly

Hi, I am using the GNU ARM Embedded Toolchain packages. ⋅  GCC 4.9.3 = 4.9-2015-q3-update ⋅  GCC 5.2.1 = 5-2015-q4-major ⋅  GCC 5.3.1 = 5-2016-q1-update ⋅  GCC 5.4.1 = 5-2016-q2-update BTW, the whole toolchain works fine when using an STM32F103, even with GCC ...
by Thargon
Mon Sep 19, 2016 12:34 pm
Forum: STM32 Support
Topic: STM32F405: GCC5 not working correctly
Replies: 10
Views: 2415

STM32F405: GCC5 not working correctly

Hi all, I am encoutering some strange issues with GCC5 (5.2.1, 5.3.1, and 5.4.1) when running code on a STM32F405(RGT6). Compiling the same project with GCC 4.9.3 works fine, though. What I do : My system starts with a custom bootloader, which again loads the OS (ChibiOS/RT 3.1.4, ChibiOS/HAL 4.0.6 ...
by Thargon
Tue Jul 26, 2016 4:13 pm
Forum: ChibiOS/EX
Topic: Request for a feedback
Replies: 11
Views: 3851

Re: Request for a feedback

Hi RoccoMarco, I was just planing to introduce some abstraction layer for periphery hardware in my project as well, when I noticed this new subproject of ChibiOS :). I have not tried your solution yet, but after a brief look at the code I found some things missing, which I thought to be very importa...
by Thargon
Thu Apr 30, 2015 10:03 am
Forum: User Projects
Topic: STM32 - I²C LLD without DMA
Replies: 0
Views: 1171

STM32 - I²C LLD without DMA

Hi, I have added a non-DMA option for the STM32 I2Cv1 LLD. A patch for ChibiOS 2.6.8 is attached. This patch modifies the files os/hal/platforms/STM32/I2Cv1/i2c_lld.h and *.c, and introduces a new macro, which can be added in the mcuconf.h. In order to deactivate DMA for the I2C communication, just ...
by Thargon
Wed Mar 25, 2015 1:34 pm
Forum: General Support
Topic: chibios_rt::Mutex no unlock methods
Replies: 6
Views: 2060

Re: chibios_rt::Mutex no unlock methods

Strange...
In the online documentation there are no such methods.
In my cloned version (2.6.7) these are missing as well.

Maybe the code is included in 3.0 but missing for 2.x.x?

However, the snippet provided by colin should do the job.
by Thargon
Tue Mar 24, 2015 4:32 pm
Forum: General Support
Topic: chibios_rt::Mutex no unlock methods
Replies: 6
Views: 2060

chibios_rt::Mutex no unlock methods

Hi, I just tried to use the C++ wrapper for mutexes and was surprised when I didn't find any methods to unlock it. It's no problem since the wrapper class just calls the chMtx... functions, but shouldn't a wrapper cover ALL the available functions? Is there a reason why no unlock methods are provide...
by Thargon
Wed Mar 04, 2015 12:57 pm
Forum: User Projects
Topic: ADC analog watchdog for STM32F4xx
Replies: 0
Views: 1151

ADC analog watchdog for STM32F4xx

I managed to get the ADC analog watchdog running for the STM32F4xx platform. The patch can be applied to ChibiOS/RT version 2.6.7 and changes the files ⋅  os/hal/platforms/STM32F4xx/adc_lld.h ⋅  os/hal/platforms/STM32F4xx/adc_lld.c os/hal/platforms/STM32F4xx/adc_lld.h : The adcer...
by Thargon
Mon Feb 16, 2015 2:29 pm
Forum: General Support
Topic: chibios_rt::Timer
Replies: 5
Views: 1467

Re: chibios_rt::Timer

Hi again, thanks for the link, though it didn't help me in this particular case :( I don't have a dev board at hand right now, so I cant use the debugger stack trace. What I just did, was to read the dbg_lock_cnt and isr_lock_cnt variables (which seem to be relevant for the SV#4 error) just before I...
by Thargon
Mon Feb 16, 2015 12:35 pm
Forum: General Support
Topic: chibios_rt::Timer
Replies: 5
Views: 1467

Re: chibios_rt::Timer

Hi, thanks for your quick reply. If that was the case, why do I get SV#10 without chSysLock()? Maybe I don't understand the locking system yet, but I can't find a good explanation in the documentation. The documentation just states Function Class: Special function, this function has special requirem...

Go to advanced search