bugAVR Downloader/UploaDEr - Bugs: bug #56970, avrdude exit code -1073741819 on...

 
 

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

bug #56970: avrdude exit code -1073741819 on Windows 10

Submitter:  Jozef Chovan <chovanj>
Submitted:  Mon 30 Sep 2019 05:45:23 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Need Info Privacy:  Public
Assigned to:  None Originator Name:  Joe
Open/Closed:  Open Release:  6.3
Programmer hardware:  usbasp Device type:  ATtiny9

Sat 05 Oct 2019 06:44:17 PM UTC, comment #3: 

The script I am using is in the repository, under

tools/build-mingw32.sh

It's a cross-platform build using MinGW32 on my FreeBSD host.

Unfortunately, I cannot really tell you how to build under Windows natively. Never did that myself.

Joerg Wunsch <joerg_wunsch>
Group administrator
Sat 05 Oct 2019 12:03:48 PM UTC, comment #2: 

Hi,

is there any guide how to built it all for Windows or better question: How do you build the binary which is on your site for downloading? It would be very helpful to know for debugging it.

Thank you.

Jozef Chovan <chovanj>
Mon 30 Sep 2019 07:48:43 PM UTC, comment #1: 

Well, -1073741819 is 0xc0000005.

Microsoft says 0xc0000005 is the error code for an access violation.

Since the entire programming went fine, this probably happens during the final cleanup. It would be great if someone with a debugger under Windows could find out where that access violation actually happens.

Joerg Wunsch <joerg_wunsch>
Group administrator
Mon 30 Sep 2019 05:45:23 PM UTC, original submission:  

Hi,

avrdude returns -1073741819 in Windows 10 for ATtiny9.
It uploads the file correctly just that exit value is strange.

I've tested it for ATtiny10,5,4 and it works fine and it returns 0 for them.
Only for ATtiny9 it returns this code which is a problem when I call it from make.

d:\Solutions\Microcontrollers\Architecture\AVR\8-bit\AVRTiny\SimpleBlink>avrdude -c usbasp -p attiny9 -U simple_blink.bin

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.04s

avrdude: Device signature = 0x1e9008 (probably t9)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "simple_blink.bin"
avrdude: input file simple_blink.bin auto detected as ELF
avrdude: writing flash (72 bytes):

Writing | ################################################## | 100% 0.49s

avrdude: 72 bytes of flash written
avrdude: verifying flash memory against simple_blink.bin:
avrdude: load data flash data from input file simple_blink.bin:
avrdude: input file simple_blink.bin auto detected as ELF
avrdude: input file simple_blink.bin contains 72 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.21s

avrdude: verifying ...
avrdude: 72 bytes of flash verified

avrdude done.  Thank you.


d:\Solutions\Microcontrollers\Architecture\AVR\8-bit\AVRTiny\SimpleBlink>echo %ERRORLEVEL%
-1073741819


Thank you for your hard work!

Jozef Chovan <chovanj>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by chovanj (Submitted the item)
  • -email is unavailable- added by chovanj
  •  

    There are 0 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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-07 joerg_wunsch StatusNone Need Info
    2019-09-30 chovanj Carbon-Copy- Added chovanj

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code