Removed some comments
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@863 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
1008b85c79
commit
e59cded5cb
|
@ -2570,7 +2570,7 @@ static int jtagmkII_avr32_reset(PROGRAMMER * pgm, unsigned char val, unsigned ch
|
||||||
|
|
||||||
status = jtagmkII_recv(pgm, &resp);
|
status = jtagmkII_recv(pgm, &resp);
|
||||||
if (status != 2 || resp[0] != 0x87 || resp[1] != ret1) {
|
if (status != 2 || resp[0] != 0x87 || resp[1] != ret1) {
|
||||||
fprintf(stderr,
|
if(verbose) fprintf(stderr,
|
||||||
"%s: jtagmkII_avr32_reset(): "
|
"%s: jtagmkII_avr32_reset(): "
|
||||||
"Get_IR, expecting %2.2x but got %2.2x\n",
|
"Get_IR, expecting %2.2x but got %2.2x\n",
|
||||||
progname, ret1, resp[1]);
|
progname, ret1, resp[1]);
|
||||||
|
@ -2586,7 +2586,7 @@ static int jtagmkII_avr32_reset(PROGRAMMER * pgm, unsigned char val, unsigned ch
|
||||||
|
|
||||||
status = jtagmkII_recv(pgm, &resp);
|
status = jtagmkII_recv(pgm, &resp);
|
||||||
if (status != 2 || resp[0] != 0x87 || resp[1] != ret2) {
|
if (status != 2 || resp[0] != 0x87 || resp[1] != ret2) {
|
||||||
fprintf(stderr,
|
if(verbose) fprintf(stderr,
|
||||||
"%s: jtagmkII_avr32_reset(): "
|
"%s: jtagmkII_avr32_reset(): "
|
||||||
"Get_XXX, expecting %2.2x but got %2.2x\n",
|
"Get_XXX, expecting %2.2x but got %2.2x\n",
|
||||||
progname, ret2, resp[1]);
|
progname, ret2, resp[1]);
|
||||||
|
@ -3409,9 +3409,7 @@ static int jtagmkII_paged_load32(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m,
|
||||||
|
|
||||||
serial_recv_timeout = otimeout;
|
serial_recv_timeout = otimeout;
|
||||||
|
|
||||||
//status = jtagmkII_reset32(pgm, AVR32_SET4RUNNING | AVR32_RELEASE_JTAG);
|
status = jtagmkII_reset32(pgm, AVR32_SET4RUNNING);
|
||||||
//if(status < 0) {lineno = __LINE__; goto eRR;}
|
|
||||||
status = jtagmkII_reset32(pgm, AVR32_SET4RUNNING); // AVR32_SET4RUNNING | AVR32_RELEASE_JTAG
|
|
||||||
if(status < 0) {lineno = __LINE__; goto eRR;}
|
if(status < 0) {lineno = __LINE__; goto eRR;}
|
||||||
|
|
||||||
return addr;
|
return addr;
|
||||||
|
|
Loading…
Reference in New Issue