[bug #53609] Avrdude verification error

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #53609] Avrdude verification error

Joerg Wunsch-6
URL:
  <http://savannah.nongnu.org/bugs/?53609>

                 Summary: Avrdude verification error
                 Project: AVR Downloader/UploaDEr
            Submitted by: johnbarr
            Submitted on: Wed 11 Apr 2018 01:56:58 AM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: John Barrington
        Originator Email:
             Open/Closed: Open
                 Release: 6.3
         Discussion Lock: Any
     Programmer hardware:
             Device type: ATTiny84

    _______________________________________________________

Details:

Adafruit USBtinyISP in-system programmer
Windows 10

avrdude: Device signature = 0x1e930c (probably t84)
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 "0xff"
avrdude: writing eeprom (1 bytes):

Writing |                                                    | 0% 0.00s
avrdude: error: usbtiny_send:  (expected 128, got -116)

(The AVRDUDE Manual needs an exhaustive list of error codes. )




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?53609>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

[bug #53609] Avrdude verification error

Joerg Wunsch-6
Follow-up Comment #1, bug #53609 (project avrdude):

It looks like your problem is that you're trying to write the literal value
0xff to one of the AVR memories. However it looks like you didn't use a
completely correct command line syntax as evidenced by the line that says
`avrdude: reading input file "0xff"` which I'm betting is not what you wanted
to do. It would be very helpful if you also posted the full avrdude command
line options that you're trying to run avrdude with.

As to your second point about error codes, I'm assming you're thinking that
`128` and `-116` are error codes that mean something. That is, I believe,
simply avrdude reporting the raw values it is reading from the AVR. This is
not an "error code".

To your point however, when I was learning avrdude, the errors are quite
confusing and it would be beneficial to all to clear up those confusions.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?53609>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

[bug #53609] Avrdude verification error

Joerg Wunsch-6
Additional Item Attachment, bug #53609 (project avrdude):

File name: Firstbyte.bat.txt              Size:2 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?53609>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

[bug #53609] Avrdude verification error

Joerg Wunsch-6
Additional Item Attachment, bug #53609 (project avrdude):

File name: Firstbyte.bat.txt              Size:2 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?53609>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

[bug #53609] Avrdude verification error

Joerg Wunsch-6
Follow-up Comment #2, bug #53609 (project avrdude):

The error codes are those from the underlying operating system.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?53609>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev