Search found 12 matches

by Dwar
Fri Sep 23, 2016 4:32 pm
Forum: STM32 Support
Topic: Example for using DMA for ADC
Replies: 2
Views: 1487

Re: Example for using DMA for ADC

http://wiki.chibios.org/dokuwiki/doku.php?id=chibios:articles:stm32f4_discovery "This article will explain how to get started with the recently released STM32F4-Discovery board using ChibiOS/RT. This board is really cheap (below 20$) and is an excellent evaluation platform for the STMicroelectr...
by Dwar
Sat May 07, 2016 10:10 am
Forum: Bug Reports
Topic: Bug in ports/STM32/LLD/ADCv3/hal_adc_lld.c Topic is solved
Replies: 2
Views: 1182

Bug in ports/STM32/LLD/ADCv3/hal_adc_lld.c Topic is solved

In the trunk: void adcSTM32EnableVREF(ADCDriver *adcp) { adcp->adcc->CCR |= ADC_CCR_VBATEN ; } and void adcSTM32DisableVREF(ADCDriver *adcp) { adcp->adcc->CCR &= ~ ADC_CCR_VBATEN ; } should both be using ADC_CCR_VREFEN On an unrelated note: What happened to <code> ....<\code> ?
by Dwar
Thu May 05, 2016 9:54 am
Forum: Bug Reports
Topic: STM32F303x8 has 2 ADCs (STM32F3xx/stm32_rcc.h issue) Topic is solved
Replies: 2
Views: 1211

STM32F303x8 has 2 ADCs (STM32F3xx/stm32_rcc.h issue) Topic is solved

Found a problem trying to add ADC to the Nucleo-32 demo with the trunk. The F303K8T6 has 2 ADCs 1) halconf.h: #define HAL_USE_ADC TRUE 2) mcuconf.h: #define STM32_ADC_USE_ADC1 TRUE See these errors when compiling: In file included from ../../../os/hal/ports/STM32/STM32F3xx/hal_lld.h:1149:0, from ../...
by Dwar
Tue Apr 19, 2016 1:36 pm
Forum: STM32 Support
Topic: STM32F1 Bulk transfer size problem
Replies: 15
Views: 4641

Re: STM32F1 Bulk transfer size problem

Yes, I used your posted github code. Also fine with the latest GhibiOS development trunk. This is not a high quality board. It does not have the transistor to control USB Renumeration on USB_DP like most of the STM32 boards from STM. I use the following to help with the USB initialization (did not u...
by Dwar
Sat Apr 16, 2016 8:19 am
Forum: STM32 Support
Topic: STM32F1 Bulk transfer size problem
Replies: 15
Views: 4641

Re: STM32F1 Bulk transfer size problem

This is puzzling.

I tried this on an LC Technology board (stm32f103c8t6) and ChibiOS 16.1.4 and it works with 64 byte blocks. The blocks are written and read from a Raspberry PI 2 with the latest Raspian Jessie running the test binary.
by Dwar
Sun Apr 03, 2016 7:28 am
Forum: ChibiOS/RT
Topic: Error in Chibisutdio
Replies: 47
Views: 9690

Re: Error in Chibisutdio

Have you tried opening and building a demo in 2.6?

You don't need to modify the Makefile to build the demos. Start simply and try to understand the build process before you dig in deeper.
by Dwar
Sat Mar 26, 2016 2:32 am
Forum: ChibiStudio
Topic: STLink v2 dongle clone cfg
Replies: 4
Views: 4365

Re: STLink v2 dongle clone cfg

I have one of those inexpensive dongles that I use for a STM32F1xx board that works ok. It only supports the st-link v2 protocol. This is what I use for openocd: -c "telnet_port 4444" -s "C:\ChibiStudio\tools\openocd\scripts" -f "interface/stlink-v2.cfg" -f "board/...
by Dwar
Sat Mar 05, 2016 4:02 pm
Forum: ChibiStudio
Topic: OpenOCD error messages with ChibiOS detection
Replies: 8
Views: 2259

Re: OpenOCD error messages with ChibiOS detection

The refresh button did the trick.

Thank you Giovanni!
by Dwar
Sat Mar 05, 2016 12:33 pm
Forum: ChibiStudio
Topic: OpenOCD error messages with ChibiOS detection
Replies: 8
Views: 2259

Re: OpenOCD error messages with ChibiOS detection

I've attached a screen capture. The Eclipse ChibiOS debug plugin doesn't show any thread information.
by Dwar
Sat Mar 05, 2016 11:21 am
Forum: ChibiStudio
Topic: OpenOCD error messages with ChibiOS detection
Replies: 8
Views: 2259

Re: OpenOCD error messages with ChibiOS detection

I see the same result when I run the unmodified demo RT-STM32F407-DISCOVERY with the F4 Discovery board (except for the chconf.h debugs and the Makefile -O0). I do see thread info from the "info threads" command but still nothing from the ChibiOS plugin. With all the debugs turned on would...

Go to advanced search