bugAVR Downloader/UploaDEr - Bugs: bug #43078, AVRDUDE crashes after sucessfully...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #43078: AVRDUDE crashes after sucessfully reading/writing eeprom

Submitted by:  None
Submitted on:  Tue 26 Aug 2014 08:38:50 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: Ready For TestPrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Name: Janne Virsunen
Originator Email: -unavailable-Open/Closed: Open
Release: NoneProgrammer hardware: 
Device type: 

Sun 14 Dec 2014 10:48:37 AM UTC, comment #4:

Empty eeprom file crashes were fixed for bug #40142.
However a new release of avrdude was not done since then.

Rene Liebscher <rliebscher>
Project Member
Sun 14 Dec 2014 09:18:56 AM UTC, comment #3:

Hello, problem solved. Turned out the .eep file was empty and that's why it could not be programmed.
As a suggestion, perhaps an error message can be included in avrdude, something like "File empty, programming not possible."

Mihai Nedelcu <mnedix>
Sat 13 Dec 2014 10:01:30 PM UTC, comment #2:

Hello,
I have the same issue with avrdude crashing when trying to program the .eep file. When crashing, it returns the following:
Detected 1e960a = ATmega644P
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

avrdude.exe: set SCK frequency to 1500000 Hz
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude.exe: Device signature = 0x1e960a
avrdude.exe: reading input file "D:\Electronics\Electronics\Nixie\Spectrum\_\main.eep"
avrdude.exe: input file D:\Electronics\Electronics\Nixie\Spectrum\_\main.eep auto detected as Intel Hex
avrdude.exe: writing eeprom (0 bytes):

Writing | ################################################## | 100% -0.00s

avrdude.exe: 0 bytes of eeprom written
avrdude.exe: verifying eeprom memory against D:\Electronics\Electronics\Nixie\Spectrum\_\main.eep:
avrdude.exe: load data eeprom data from input file D:\Electronics\Electronics\Nixie\Spectrum\_\main.eep:
avrdude.exe: input file D:\Electronics\Electronics\Nixie\Spectrum\_\main.eep auto detected as Intel Hex
avrdude.exe: input file D:\Electronics\Electronics\Nixie\Spectrum\_\main.eep contains 0 bytes
avrdude.exe: reading on-chip eeprom data:

Reading |

...and Windows is popping up the crash window.

I see in the previous response that another version of avrdude may fix the issue but I downloaded all releases and they all behave the same. Is there any solution on this?

(file #32661)

Mihai Nedelcu <mnedix>
Sun 23 Nov 2014 08:48:39 PM UTC, comment #1:

I tracked down an issue here that was also reported by
valgrind as resulting in heap corruption. I think this
would also fix your bug.

If you have the chance to test the SVN version r1344, please
do so, and report whether your problem has been solved.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Tue 26 Aug 2014 08:38:50 AM UTC, original submission:

Using version 6.1 of AVRDUDE, with an additional custom part "m6490p" (included avrdude.conf, line 6000-6012), the program crashes after a successful read or write of the eeprom and thusly does not return '0' as expected after a successful execution.

Operating system used is Windows 7.
Log file of output from AVRDUDE included, additional information from the crash box that appears in Windows aswell as the eeprom.eep file that is written into the eeprom of the m6490p.

Drivers used for jtag3-programmer is libusb0 (v1.2.6.0)

Anonymous

 

Attached Files
file #32661:  main.eep added by mnedix (13B - application/octet-stream)
file #31962:  log.txt added by None (7KiB - text/plain)
file #31963:  eeprom.eep added by None (2KiB - application/octet-stream)
file #31964:  avrdude.conf added by None (464KiB - application/octet-stream)
file #31965:  crashbox.txt added by None (572B - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rliebscher (Posted a comment)
  • -unavailable- added by mnedix (Updated the item)
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 13 Dec 2014 10:01:30 PM UTCmnedixAttached File-=>Added main.eep, #32661
    Sun 23 Nov 2014 08:48:39 PM UTCjoerg_wunschStatusNone=>Ready For Test
      Assigned toNone=>joerg_wunsch
    Tue 26 Aug 2014 08:38:50 AM UTCNoneAttached File-=>Added log.txt, #31962
      Attached File-=>Added eeprom.eep, #31963
      Attached File-=>Added avrdude.conf, #31964
      Attached File-=>Added crashbox.txt, #31965

    Back to the top


    Powered by Savane 3.1-cleanup1