yogesh4ever / mega-isp

Automatically exported from code.google.com/p/mega-isp
0 stars 0 forks source link

MOSI and SCK set to output before Reset goes LOW #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I noticed that in the function "start_pmode()" MOSI and SCK are set to
output before RESET is active.
That would mean that if the program currently running on the target uC has
set the pins corresponding to MOSI and SCK to HIGH, then there would be a
very high current (from target AVR to programmer AVR) for a short time.

shouldn't reset go active (LOW) first?

Original issue reported on code.google.com by wah_...@gmx.net on 18 Oct 2008 at 12:28

GoogleCodeExporter commented 9 years ago
Sounds good, changed in the svn and in avrisp.03.zip.

Original comment by rsb...@gmail.com on 12 Feb 2009 at 2:09