Search found 4 matches

by PavloT
Sun Apr 08, 2012 9:11 pm
Forum: User Projects
Topic: USART Code-snippets
Replies: 12
Views: 23122

Re: USART Code-snippets

chIO* functions are blocking. This means that thread which call it will be frozen until this function successfully ended.
chIOPutWouldBlock could be used to verify whether call to chIO* will block thread or not.

It is possible to use chIO*Timeout() this function has second paramether @time which ...
by PavloT
Mon Apr 02, 2012 9:46 pm
Forum: Development and Feedback
Topic: Load firmware with st-link Linux
Replies: 5
Views: 6059

Re: Load firmware with st-link Linux

check this one http://code.google.com/p/qstlink2/
It is really nice tool (at least for my Windows friends who hate CLI), but seems it is not usable for STM32VLDiscovery

Does qstlink2 support Stlink v1?
I saw this message in 49-stlinkv2.rules
# stm32 discovery boards, with onboard st ...
by PavloT
Fri Mar 30, 2012 9:29 pm
Forum: User Projects
Topic: USART Code-snippets
Replies: 12
Views: 23122

USART Code-snippets

ChibiOS is a new platform for me, so while I'm studying it I'd like to make some notes about it usecases.
First problem I faced: there is no clean examples on USART usage, so here is my assumptions.
The easiest way to start with it - use SerialDriver. Each platform has it's own implementation for it ...
by PavloT
Thu Mar 29, 2012 4:36 pm
Forum: Development and Feedback
Topic: Load firmware with st-link Linux
Replies: 5
Views: 6059

Load firmware with st-link Linux

My 2-cents about STM32 under Linux:
Today I notice that st-link implementation from Texane has flash utility.
Usage is the following (tested on STM32VL-Discovery):
st-flash write v1 demos/ARMCM3-STM32F100-DISCOVERY/build/ch.bin 0x8000000

Quite useful to use in make files when you don't need a ...