URL:
<http://savannah.nongnu.org/patch/?6144>
Summary: Problem with LPT after SLEEP MODE
Project: AVR Downloader/UploaDEr
Submitted by: romansoft
Submitted on: Вторник 07.08.2007 at 11:11
Category: None
Priority: 7 - High
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
After sleep mode computer don't reinit LPT port, and after flashing my micros
by pony-stk200, buffer don't disconnected from AVR.
I'm made changes in source like this and have no problem:
In par.c in void par_close()
WAS:
par_setpin(pgm, pgm->pinno[PPI_AVR_BUFF], 1);
I write:
par_setmany(pgm, pgm->pinno[PPI_AVR_BUFF], 1);
This is more correctly, because in pony-stk200 in use
2 pin for driving buffer:
id = "pony-stk200";
desc = "Pony Prog STK200";
type = par;
buff = 4, 5;
sck = 6;
mosi = 7;
reset = 9;
miso = 10;
pgmled = 8;
Sorry for bad english, i'm from Ukraine.
PS. I dont understand, can I myself edit source in this site, and please, do
it.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?6144>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev