RfidResearchGroup / ChameleonMini

The ChameleonMini is a versatile contactless smartcard emulator compliant to NFC. The ChameleonMini was first developed by KAOS. This is NOT the official repo for KAOS's ChameleonMini. For further information see the Getting Started Page
http://chameleontiny.com/help/
Other
402 stars 76 forks source link

ubuntu chameleon mini firmware update #56

Open Blck4 opened 3 years ago

Blck4 commented 3 years ago

liu@ubuntu:~/ChameleonMini/Firmware/Chameleon-Mini$ sudo avrdude -c flip2 -p atxmega128a4u -B 60 -P usb -U application:w:Chameleon-Mini.hex:i -U eeprom:w:Chameleon-Mini.eep:i

avrdude: Error: No matching USB device found avrdude: AVR device initialized and ready to accept instructions

Reading | | 0% 0.00savrdude: error reading signature data for part "ATxmega128A4U", rc=-1 avrdude: error reading signature data, rc=-1

avrdude done. Thank you.

why? I have pressed tinty B to plug in usb and entered dfu mode.

guycalledseven commented 3 years ago

Are you sure you are in DFU mode? I was able to flash it in ubuntu (on macOS under Parallels), but I entered DFU by connecting via socat and manually issuing upgrade command:

socat - /dev/ttyACM0,crnl,raw,echo=0
upgrade

Then I was able to use avrdude to backup and flash new.