avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avrdude-dev] Problem with avr910


From: Charles Steinkuehler
Subject: Re: [avrdude-dev] Problem with avr910
Date: Mon, 16 Feb 2004 18:37:53 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007

Jan-Hinnerk Reichert wrote:

On Monday 16 February 2004 22:45, Charles Steinkuehler wrote:
Charles Steinkuehler wrote:

Sorry about replying to my own e-mail...I forgot to propose a fix.

I'm not sure what kind of sync problems TRoth was having (I'm not
seeing a similar problem), but the correct solution to a loss of
sync should be sending a few 0x27 escape characters (which are
ignored by the programmer if it's waiting for a command) and
flushing anything the programmer sends back.

If it is actually necessary to send the 'y' command for some
reason, perhaps it could be followed by an escape, so programmers
that expect a two byte LED command would still work?

Sorry, for this. I have disussed this issue with Ted _before_ the 4.3.0 release, IIRC. He has suggested the ESC-solution as well.
However, I simply forgot about it...

I compiled avrdude with the single byte 'y' command switched to 2 bytes ('y\027'), and all is well on my end.

I don't know enough about the code or dealys etc. to comment on usleep et. al.

--
Charles Steinkuehler
address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]