Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu chameleon mini firmware update #56

Open
Blck4 opened this issue Jan 9, 2021 · 1 comment
Open

ubuntu chameleon mini firmware update #56

Blck4 opened this issue Jan 9, 2021 · 1 comment

Comments

@Blck4
Copy link

Blck4 commented Jan 9, 2021

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants