Follow-up Comment #3, bug #27507 (project avrdude):
I've stumbled into that bug also. AVR Dragon (with new firmware), ATTiny2313,
segfault at initialization step:
Using Port : usb
Using Programmer : dragon_isp
avrdude: stk500v2_dragon_isp_open()
avrdude: usbdev_open(): Found AVRDRAGON, serno: 00A20000327A
avrdude: usbdev_open(): using read endpoint 0x82
avrdude: jtagmkII_getsync()
avrdude: jtagmkII_getsync(): Sending sign-on command:
avrdude: jtagmkII_send(): sending 1 bytes
make: *** [program] Segmentation fault
With following patch, everything works:
$ diff -Nru stk500v2.c.old stk500v2.c
--- stk500v2.c.old 2009-07-11 04:39:37.000000000 +0600
+++ stk500v2.c 2009-10-27 17:04:04.000000000 +0500
@@ -3586,8 +3593,8 @@
pgm->paged_load = stk500v2_paged_load;
pgm->print_parms = stk500v2_print_parms;
pgm->set_sck_period = stk500v2_set_sck_period_mk2;
- pgm->setup = jtagmkII_setup;
- pgm->teardown = jtagmkII_teardown;
+ pgm->setup = stk500v2_jtagmkII_setup;
+ pgm->teardown = stk500v2_jtagmkII_teardown;
pgm->page_size = 256;
}
It still does "jtagmkII_close(): bad response to GO command:
RSP_ILLEGAL_EMULATOR_MODE" when closing connection, though.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?27507>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev