Skip to content

Error: DFU_Upload #88

@MrBuushy

Description

@MrBuushy

Ubuntu Terminal:

finnley@finnley-laptop:~/ChameleonMini/Firmware/Chameleon-Mini$ avrdude -c flip2 -p ATXMega128A4U -B 60 -P usb -U application:w:Chameleon-RevG.hex:i -U eeprom:w:Chameleon-RevG.eep:i

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9746 (probably x128a4u)
avrdude: NOTE: "application" 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 "Chameleon-RevG.hex"
avrdude: writing application (123898 bytes):

Writing | ################################################## | 100% 2.34s

avrdude: 123898 bytes of application written
avrdude: verifying application memory against Chameleon-RevG.hex:
avrdude: load data application data from input file Chameleon-RevG.hex:
avrdude: input file Chameleon-RevG.hex contains 123898 bytes
avrdude: reading on-chip application data:

Reading | #####################                              | 42% 0.30savrdude: Error: DFU_UPLOAD failed: error sending control message: Broken pipe
avrdude: Error: DFU status STALL
avrdude: Error: Failed to read 0x0100 bytes at 0xD700
Reading | ######################                             | 43% 0.31savrdude: Error: DFU_UPLOAD failed: error sending control message: Broken pipe
avrdude: Error: DFU status STALL
avrdude: Error: Failed to read 0x0001 bytes at 0x003B
avr_read(): error reading address 0x003b
    read operation not supported for memory "application"
avrdude: failed to read all of application memory, rc=-2

avrdude done.  Thank you.

finnley@finnley-laptop:~/ChameleonMini/Firmware/Chameleon-Mini$ 

I am currently on Ubuntu and I am trying to install the latest firmware on this Chameleon Tiny I have.
The error occurring keeps happening and each time the % changes. I have tried different cables and also different ports yet the same error occurs. I am pretty sure that I am putting it into bootloader mode each time I plug it in (I have it unplugged, hold "B" button, plug it in and then let go off "B". The CHG light glows and then un-glows (I think it used to stay glowing until I ran the command but I don't know if it did)). Using python3 ./chamtool.py in the Software folder doesnt seem to recognize that there is any Chameleon plugged in:

finnley@finnley-laptop:~/ChameleonMini/Software$ python3 ./chamtool.py
Use -p COMPORT to specify the communication port (see help).
List of potential Chameleons connected to the system:
finnley@finnley-laptop:~/ChameleonMini/Software$ 

I have even tried reinstalling avrdude as well but still nothing works. I tried using the "RFID Hacking By Iceman" "chameleon-mini" channel but I did not get many responses so I thought I should ask here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions