bug #27507: SIGSEGV when using avrdragon (avrdude 5.8)

* stk500v2.c (stk500v2_dragon_isp_initpgm): Use
stk500v2_jtagmkII_setup/stk500v2_jtagmkII_rather than their
jtagII counterparts, to get the private data properly
initialized.




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@887 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch 2010-01-07 15:53:50 +00:00
parent 2110c28be5
commit ee8a473945
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2010-01-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
bug #27507: SIGSEGV when using avrdragon (avrdude 5.8)
* stk500v2.c (stk500v2_dragon_isp_initpgm): Use
stk500v2_jtagmkII_setup/stk500v2_jtagmkII_rather than their
jtagII counterparts, to get the private data properly
initialized.
2010-01-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de> 2010-01-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
* buspirate.c: Cosmetics: remove UTF-8 dashes, adjust for 8-column * buspirate.c: Cosmetics: remove UTF-8 dashes, adjust for 8-column

View File

@ -3586,8 +3586,8 @@ void stk500v2_dragon_isp_initpgm(PROGRAMMER * pgm)
pgm->paged_load = stk500v2_paged_load; pgm->paged_load = stk500v2_paged_load;
pgm->print_parms = stk500v2_print_parms; pgm->print_parms = stk500v2_print_parms;
pgm->set_sck_period = stk500v2_set_sck_period_mk2; pgm->set_sck_period = stk500v2_set_sck_period_mk2;
pgm->setup = jtagmkII_setup; pgm->setup = stk500v2_jtagmkII_setup;
pgm->teardown = jtagmkII_teardown; pgm->teardown = stk500v2_jtagmkII_teardown;
pgm->page_size = 256; pgm->page_size = 256;
} }