AVR Downloader/UploaDEr - Bugs: bug #27507, SIGSEGV when using avrdragon...
You are not allowed to post comments on this tracker with your current authentication level.
bug #27507: SIGSEGV when using avrdragon (avrdude 5.8)
Submitter: | Łukasz Góralczyk <liku> | ||
Submitted: | Wed 23 Sep 2009 05:45:44 PM UTC | ||
Votes: | 70 | ||
Category: | None | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | None |
Status: | Fixed | Privacy: | Public |
Assigned to: | joerg_wunsch | Originator Name: | Lukasz Goralczyk |
Open/Closed: | Closed | Release: | None |
Programmer hardware: | Device type: |
( Jump to the original submission )
Thu 07 Jan 2010 03:59:46 PM UTC, comment #7: |
Joerg Wunsch <joerg_wunsch>![]() ![]() |
Wed 06 Jan 2010 09:04:04 PM UTC, comment #6: The patch applies fine to the latest tarball (5.8). I now tried the latest version (checked out from svn yesterday) and it works fine for me.
It looks to me like you have another problem. What is your development environment ?
I'm on Ubuntu karmic (9.10). |
Markus Baertschi <markus_b> |
Wed 06 Jan 2010 05:56:34 PM UTC, comment #5: Got the same problem, but the hack mentioned here doesn't work. (using trunk-881). Without the patch I get SIGSEGV, with the patch:
avrdude: jtagmkII_setparm(): bad response to set parameter command: RSP_FAILED
I'm trying to do:
avrdude -p atmega8 -B 10 -c dragon_isp -P usb -e -U flash:w:main.hex
|
Stanisław Pitucha <viraptor> |
Mon 04 Jan 2010 09:06:47 AM UTC, comment #4: This patch has solved the problem for me.
I do get the error, "jtagmkII_close(): bad response to GO command: RSP_ILLEGAL_EMULATOR_MODE".
|
Markus Baertschi <markus_b> |
Tue 27 Oct 2009 12:25:08 PM UTC, comment #3: I've stumbled into that bug also. AVR Dragon (with new firmware), ATTiny2313, segfault at initialization step:
Using Port : usb
With following patch, everything works:
It still does "jtagmkII_close(): bad response to GO command: RSP_ILLEGAL_EMULATOR_MODE" when closing connection, though.
|
Alexey <alexdm> |
Wed 23 Sep 2009 07:09:51 PM UTC, comment #2: Proposed solution: in stk500v2_dragon_isp_open() remove lines with mycookie, set chained_pdata to pgm->cookie. It works but I don't know if it's elegant. |
Łukasz Góralczyk <liku> |
Wed 23 Sep 2009 06:32:58 PM UTC, comment #1: Sorry, forgot about command line (avrdragon in ISP mode):
|
Łukasz Góralczyk <liku> |
Wed 23 Sep 2009 05:45:44 PM UTC, original submission:
Hello,
I've upgraded my system recently and avrdude stopped programming AVRs through avrdragon board. I'm using avrdude version 5.8, I'm using 64 bit system (Ubuntu Karmic Koala). Here's the backtrace:
#0 0x000000000041bf06 in jtagmkII_send (pgm=0x6996a0, data=0x7fffffffbf40 "�01277377377377177", len=1) at jtagmkII.c:378
There's a dereference of null pointer in jtakmkII_send(), the pointer (cookie variable) is being set to chained_pdata in in stk500v2_dragon_isp_open() which is initialised to zero during setup and never changed (I guess). |
Łukasz Góralczyk <liku> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 70 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2010-01-07 | joerg_wunsch | Status | None | ![]() |
Fixed |
Assigned to | None | ![]() |
joerg_wunsch | ||
Open/Closed | Open | ![]() |
Closed | ||
2010-01-06 | viraptor | Carbon-Copy | - | ![]() |
Added viraptor |
2009-11-05 | nwimpney | Carbon-Copy | - | ![]() |
Added nwimpney |
Thanks, the fix was more than appropriate. In fact, it was
merely an oversight by me to not use stk500v2_jtagmkII_setup/
stk500v2_jtagmkII_teardown because they have already been
used in the Dragon_HVSP and Dragon_PP setups correctly.