I'm trying to build a diy adapter but I'm still unsuccessful. I'm stuck with these errors:
Code: Select all
../common/posix/async.c:196 async_read_timeout: select failed with error: No such file or directory can't read packet header
gimx.c:208 main: no adapter detected
I think that something is wrong during flashing because the CP2102 data led doesn't blink during the process (it's supposed to flash something to the CP2102 right?) and after the flash, the Arduino isn't shown at all whenever I do a 'lsusb' (is it supposed to be shown as a PS3 controller?).
Here some pictures of my wiring:
https://my.mixtape.moe/kjqdwr.jpg
https://my.mixtape.moe/bkutop.jpg
https://my.mixtape.moe/ofatdc.jpg
and the command I use to flash the firmware:
Code: Select all
avrdude -p atmega32u4 -c avr109 -P /dev/ttyACM0 -D -U flash:w:atmega32u4.hex:i
Any help appreciate!
EDIT:
Here's the flash log:
Code: Select all
[nomeji@Mako EMUPS3]$ avrdude -p atmega32u4 -c avr109 -P /dev/ttyACM0 -D -U flash:w:atmega32u4.hex:i
Connecting to programmer: .
Found programmer: Id = "CATERIN"; type = S
Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.
Programmer supports the following devices:
Device code: 0x44
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9587 (probably m32u4)
avrdude: reading input file "atmega32u4.hex"
avrdude: writing flash (4610 bytes):
Writing | ################################################## | 100% 0.44s
avrdude: 4610 bytes of flash written
avrdude: verifying flash memory against atmega32u4.hex:
avrdude: load data flash data from input file atmega32u4.hex:
avrdude: input file atmega32u4.hex contains 4610 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.15s
avrdude: verifying ...
avrdude: 4610 bytes of flash verified
avrdude: safemode: Fuses OK (E:CB, H:D8, L:FF)
avrdude done. Thank you.