Search found 13631 matches

by Giovanni
Fri Feb 04, 2011 2:04 pm
Forum: Development and Feedback
Topic: I2C implementation for STM32
Replies: 346
Views: 111556

Re: I2C implementation for STM32

Hi Albi,

Thanks for the contribution, I hope that the best of the both works will go into the final driver, lets see what Barthess thinks about it. I decided to stay in spectator mode about this I2C development until the end, the process is even more important than the final result.

Giovanni
by Giovanni
Fri Feb 04, 2011 12:45 pm
Forum: AVR Support
Topic: fprintf() to serial port on AVR
Replies: 1
Views: 1984

Re: fprintf() to serial port on AVR

You should read the WinAVR C library documentation, I did something like that for ARM using newlib, a mechanism must exist for WinAVR too.

Be careful that the prinft-like functions can eat a lot of stack space.

Giovanni
by Giovanni
Fri Feb 04, 2011 12:43 pm
Forum: General Support
Topic: Increasing stack size seems to cause failure
Replies: 15
Views: 7969

Re: Increasing stack size seems to cause failure

I never tested C++ on the AVR, not sure.

There is a C++ wrapper for ChibiOS under ./os/various but it has only been tested on ARM. You may try to start from that code and see if there are problems on AVR. There is also a C++ demo for LPC2148 in the distribution.

Giovanni
by Giovanni
Fri Feb 04, 2011 12:38 pm
Forum: Development and Feedback
Topic: Post rate throttling
Replies: 2
Views: 2113

Re: Post rate throttling

Dialed back to 60 seconds, I increased it because the spam attacks before setting up the Q/A for registration.

Giovanni
by Giovanni
Thu Feb 03, 2011 2:38 pm
Forum: Development and Feedback
Topic: I2C implementation for STM32
Replies: 346
Views: 111556

Re: I2C implementation for STM32

start_condition{ ISR{ callback{ start_condition{ ISR{ ...etc}}}}} infinite loop/nesting or something totally unpredicted? It cannot cause infinite nesting because an ISR can only be preempted by an higher priority ISR and the number of IRQ priority levels is finite. It is correct to call a start_so...
by Giovanni
Thu Feb 03, 2011 9:21 am
Forum: General Support
Topic: sdGetWouldBlock and sdPutWouldBlock invalid
Replies: 1
Views: 1335

Re: sdGetWouldBlock and sdPutWouldBlock invalid

Thanks for reporting, I must have forgot this. Anyway, probably those wouldblock functions probably should be deprecated because it is not possible to atomically check for the channel status and then read/write, there are no I-class get/put/read/write. I think the best way to check the channel statu...
by Giovanni
Wed Feb 02, 2011 10:18 pm
Forum: Development and Feedback
Topic: I2C implementation for STM32
Replies: 346
Views: 111556

Re: I2C implementation for STM32

Nice to see you are making progresses, I noticed all the commits you are doing but I haven't looked into the code yet, I am trying to finalize the USB driver right now. There is no DMA sharing currently, this would require also IRQ sharing among different drivers but ISRs are statically linked in th...
by Giovanni
Wed Feb 02, 2011 5:55 pm
Forum: Development and Feedback
Topic: STM32 on the STM8S Discovery Kit
Replies: 4
Views: 4673

Re: STM32 on the STM8S Discovery Kit

Thanks, I will make sure to try it, I just have 3 unused STM8S-Discovery kits waiting for this :)

Giovanni
by Giovanni
Wed Feb 02, 2011 12:48 pm
Forum: AVR Support
Topic: Getting events from a pin change interrupt
Replies: 3
Views: 3243

Re: Getting events from a pin change interrupt

You may use as example the serial driver interrupt handlers. In ChibiOS/RT the interrupt handlers are written in the same way on all architectures, learn once use everywhere. There is also an "how to" in the documentation that may help you.

Giovanni
by Giovanni
Wed Feb 02, 2011 12:46 pm
Forum: AVR Support
Topic: Problems reading serial port
Replies: 7
Views: 4340

Re: Problems reading serial port

It always happens this way to me too :-)

Go to advanced search