avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] Safer timing in par_txrx()?


From: axel
Subject: Re: [avrdude-dev] Safer timing in par_txrx()?
Date: Sat, 24 Jan 2004 18:27:53 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4) Gecko/20030821

hallo,
mybe I can help with some messurements.
http://hoxel.no-ip.org/pio/basteln/avr/isoprog/mess.html
Ciao Axel

Jan-Hinnerk Reichert schrieb:

Hi,

after the latest post from address@hidden, I had a look at the way PPI-programmers work.

Currently par_txrx() works like this:
- read MISO
- set MOSI
- put SCK high
- put SCK low

The target chip reads MOSI on the rising edge of SCK with some setup-time and it shifts MISO out at the falling edge of SCK.

So, I believe that we would gain some immunity to delays, if we change the order to:
- set MOSI
- read MISO
- put SCK high
- put SCK low

Any comments on this?
Is it really safe to change it?
Should we do it before the release?

Cheers
Jan-Hinnerk



_______________________________________________
avrdude-dev mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/avrdude-dev







reply via email to

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