mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 06:55:27 +00:00
debugging
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@70 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -981,9 +981,16 @@ int main ( int argc, char * argv [] )
|
|||||||
ppidata = 0; /* clear all bits at exit */
|
ppidata = 0; /* clear all bits at exit */
|
||||||
goto main_exit;
|
goto main_exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fprintf(stderr, "initial port data = 0x%02x, pins %s\n",
|
||||||
|
ppidata, vccpins_str(ppidata));
|
||||||
|
|
||||||
ppidata &= ~ppiclrbits;
|
ppidata &= ~ppiclrbits;
|
||||||
ppidata |= ppisetbits;
|
ppidata |= ppisetbits;
|
||||||
|
|
||||||
|
fprintf(stderr, "apply exit specs, port data = 0x%02x, pins %s\n",
|
||||||
|
ppidata, vccpins_str(ppidata));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* turn off all the status leds
|
* turn off all the status leds
|
||||||
*/
|
*/
|
||||||
@@ -1190,6 +1197,8 @@ int main ( int argc, char * argv [] )
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
avr_powerdown(fd);
|
avr_powerdown(fd);
|
||||||
|
fprintf(stderr, "port data = 0x%02x, pins %s\n",
|
||||||
|
ppidata, vccpins_str(ppidata));
|
||||||
ppi_setall(fd, PPIDATA, ppidata);
|
ppi_setall(fd, PPIDATA, ppidata);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user