Search found 17 matches

by thor.thau
Wed Feb 08, 2017 4:41 pm
Forum: STM32 Support
Topic: External ADC & DMA
Replies: 37
Views: 16498

Re: External ADC & DMA

I'm not able to attach a debugger. The controller is programmed by SWD. It is possible to debug through the microcontrollers SWD interface. I am using ST Link V2 and J-Link EDU debuggers. There are lots of explanations available on the internet for connecting a debugger JTAG interface to a board an...
by thor.thau
Mon Jan 16, 2017 4:34 pm
Forum: Bug Reports
Topic: Problem with StkUnused calculation Topic is solved
Replies: 6
Views: 5183

Re: Problem with StkUnused calculation Topic is solved

RoccoMarco wrote:Hi,
do you have set CH_DBG_FILL_THREADS as TRUE in chconf.h?


Yes, it is set to TRUE and I also checked with the debugger that all the stack memory was set to 0x55.
by thor.thau
Mon Jan 16, 2017 10:22 am
Forum: Bug Reports
Topic: Problem with StkUnused calculation Topic is solved
Replies: 6
Views: 5183

Problem with StkUnused calculation Topic is solved

ChibiStudio: Preview 17 ChibiOS: 16.1.6 SVN: branches/stable_16.1.x@10032 MCU: STM32F030x8 I have thread where I statically declared working area with a size of 2048 bytes. THD_WORKING_AREA(waThread, 2048U); When I debug and look in ChibiOS/RT 3.x.x Debug View -> Threads tab then the StkUnused is ca...
by thor.thau
Wed Jan 11, 2017 12:18 pm
Forum: Bug Reports
Topic: Nitpicking the ChibiOS code Topic is solved
Replies: 7
Views: 4478

Re: Nitpicking the ChibiOS code Topic is solved

ChibiOS: 16.1.6 SVN: branches/stable_16.1.x@10005 Module: streams/chprintf There are some errors in the comments to function chsnprintf. For example the comments say it is a vprintf implementation. diff --git a/os/hal/lib/streams/chprintf.c b/os/hal/lib/streams/chprintf.c index b2c4478da..9baca6b78 ...
by thor.thau
Thu Jan 05, 2017 1:53 pm
Forum: Bug Reports
Topic: [HAL][STM32] DMA isr ignores enabled interrupts Topic is solved
Replies: 1
Views: 2265

[HAL][STM32] DMA isr ignores enabled interrupts Topic is solved

ChibiOS: 16.1.6 SVN: branches/stable_16.1.x@10005 MCU: STM32F030x8 Module: DMAv1/stm32_dma I am using the UART driver setup with USART1, TX requests on DMA1 channel 4 and RX requests on DMA1 channel 5. When I am using uartStartSend then only half of the bytes are send. The problem is that with the S...
by thor.thau
Wed Jan 04, 2017 4:56 pm
Forum: Bug Reports
Topic: HAL - STM32F030 TIM attribute errors Topic is solved
Replies: 6
Views: 4006

Re: HAL - STM32F030 TIM attribute errors Topic is solved

You forgot a part of the change. Selecting MCU type STM32F030xC will fail because STM32_HAS_TIM7 is then redefined. ChibiOS: 16.1.6 SVN: branches/stable_16.1.x@10005 diff --git a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h index 1c9688664..d75faee03 ...
by thor.thau
Tue Jan 03, 2017 5:24 pm
Forum: Bug Reports
Topic: [HAL][STM32] Incorrect if check in pal_lld.c Topic is solved
Replies: 2
Views: 2607

[HAL][STM32] Incorrect if check in pal_lld.c Topic is solved

It seems like an if check implemented in function _pal_lld_setgroupmode for STM32/LLD/GPIO version 2 and version 3 is incorrect. The if check can only become true when the input ioportmask_t mask equals 0x01. ChibiOS: 16.1.6 SVN: branches/stable_16.1.x@10005 diff --git a/os/hal/ports/STM32/LLD/GPIOv...
by thor.thau
Mon Dec 12, 2016 12:42 pm
Forum: Bug Reports
Topic: Nitpicking the ChibiOS code Topic is solved
Replies: 7
Views: 4478

Re: Nitpicking the ChibiOS code Topic is solved

Spelling error in the main page of the generated reference manual by Doxygen. ChibiOS: trunk SVN: trunk@9952 diff --git a/doc/hal/src/main.dox b/doc/hal/src/main.dox index cd8f735..3a96776 100644 --- a/doc/hal/src/main.dox +++ b/doc/hal/src/main.dox @@ -18,7 +18,7 @@ */ /** - * @mainpage Introdution...
by thor.thau
Wed Nov 30, 2016 2:22 pm
Forum: Development and Feedback
Topic: chDbgAssert
Replies: 2
Views: 1895

Re: chDbgAssert

Hi Giovanni,

Thanks for the answer. I am more and more impressed by ChibiOS and the thoughts behind the different implementations.
by thor.thau
Wed Nov 30, 2016 10:46 am
Forum: Development and Feedback
Topic: chDbgAssert
Replies: 2
Views: 1895

chDbgAssert

chDbgAssert is the ChibiOS implementation alternative to using assert but the implementation still have one of the same problems. I got this recommendation from a embedded newsletter: The assert macro disappears when the debug switch isn't defined. But assert can take any argument, including assignm...

Go to advanced search