Search found 719 matches

by steved
Thu May 09, 2013 1:29 pm
Forum: General Support
Topic: chVTSetI infinite loop
Replies: 5
Views: 1710

Re: chVTSetI infinite loop

Giovanni wrote:Hi,

This is scheduled for 3.0, I don't to break the API for the current version.

Giovanni

Could it be achieved with a new function retriggerTimer()?

Or, better still, createOrRetriggerTimer()?

(I often have a need for the retriggerTimer() function - mainly for comms timeouts and the like)
by steved
Thu May 09, 2013 1:24 pm
Forum: Development and Feedback
Topic: [RFC] Changes to the I2C driver API
Replies: 12
Views: 3653

Re: [RFC] Changes to the I2C driver API

I have done some work on an interrupt-driven receive, and came up with an interface which extends the existing structures but keeps the same interface. For me, it is important to be able to swap between interrupt-driven (i.e. variable receive length) and DMA-driven (or, at least, fixed receive lengt...
by steved
Fri Apr 19, 2013 6:24 pm
Forum: Development and Feedback
Topic: [DONE] I2C driver for STM32F0
Replies: 51
Views: 17631

Re: [DONE] I2C driver for STM32F0

In the course of finding some problems in my code, I had a closer look at some of the flow within the I2C driver. I'm not sufficiently familiar with the entrails of ChiboOS to say that there is definitely a problem, but there looked to be a couple of places where interrupts might cause some receive-...
by steved
Wed Apr 10, 2013 5:55 pm
Forum: Development and Feedback
Topic: [DONE] I2C driver for STM32F0
Replies: 51
Views: 17631

Re: [DONE] I2C driver for STM32F0

Given things a better test - works with both short and long data transfers, and on two different sets of hardware (Discovery and board of my own build), and with three different devices (DS2483, FM24V02, DS1340). All looks good to me. Also discovered that the ADC driver is suffering from lack of def...
by steved
Wed Apr 10, 2013 9:20 am
Forum: Development and Feedback
Topic: [INFO] Sourceforge ChibiOS project being updated
Replies: 24
Views: 5499

Re: [INFO] Sourceforge ChibiOS project being updated

Dmytro wrote:PS. I'm a command line person so I don't know whether there is the problem with tortoiseGit and tortoiseSvn.

They do work together - you potentially lose some of the pretty 'status' icons against files in Windoze explorer, which is a Windows constraint (one of the Tortoise sites does explain it).
by steved
Wed Apr 10, 2013 9:16 am
Forum: Development and Feedback
Topic: [DONE] I2C driver for STM32F0
Replies: 51
Views: 17631

Re: [DONE] I2C driver for STM32F0

Been trying to track down an unhandled exception on this new code, and found a couple of things: 1. In the stm32f0 dma driver, the DMA ISRs are defined as function names, apparently with no define to link them with 'Vector64', 'Vector68' and 'Vector6C'. This was the cause of my exception. I suspect ...
by steved
Tue Apr 09, 2013 1:23 pm
Forum: Development and Feedback
Topic: [INFO] Sourceforge ChibiOS project being updated
Replies: 24
Views: 5499

Re: [INFO] Sourceforge ChibiOS project being updated

Hi, Already tried it, it conflicts with Tortoise SVN and corrupts the Windows desktop icons when used together. Giovanni I've ended up using both SVN and Git (and CVS!), and while they do 'visually' clash when installed on the same machine, they do still all work. As someone who doesn't use version...
by steved
Tue Apr 09, 2013 8:58 am
Forum: Development and Feedback
Topic: [INFO] Sourceforge ChibiOS project being updated
Replies: 24
Views: 5499

Re: [INFO] Sourceforge ChibiOS project being updated

Small point for anyone switching to the new repository - the svn:: protocol uses port 3690 - so if you have a firewall which defaults to prohibiting all outgoing traffic not specifically enabled, the port needs opening.
by steved
Wed Apr 03, 2013 8:12 am
Forum: Development and Feedback
Topic: [DONE] I2C driver for STM32F0
Replies: 51
Views: 17631

Re: [TODO] I2C driver for STM32F0

Haven't had any success with the update of 24 hours or so ago (there's been another update since then) - getting fatal errors which I have yet to pin down. Will also try reverting to the 'original' when I can. One problem which only appears when some of the debugging capabilities are enabled is that...
by steved
Mon Apr 01, 2013 10:21 pm
Forum: Development and Feedback
Topic: [RFC] Changes to the I2C driver API
Replies: 12
Views: 3653

Re: [RFC] Changes to the I2C driver API

You could just have the I2CConfig structure in RAM and change the timeout value before each call, it would work just like now. I am trying to simplify the API because that timeout handling is heavy on performance (and stack size because the virtual timer), it is also not really required except on t...

Go to advanced search