no adapter detected

Need help? Ask here and someone will help
Post Reply
Nomeji
Posts: 2
Joined: Fri Jan 06, 2017 5:22 pm

no adapter detected

Post by Nomeji »

Hi everyone,

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'm using a CP2102, Arduino Pro Mirco (atmega32u4) and I tried both the EMUPS3 and the EMUG27PS3 5.8 firmware.
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
I also tried to swap tx and rx in case that it would be mislabelled, I'm getting exactly the same result.

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.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: no adapter detected

Post by Matlo »

Hi,

Your post misses a few details, especially a full log file.
viewtopic.php?f=5&t=691

The soldering looks bad. Tin should cover all the pin base.
GIMX creator
Nomeji
Posts: 2
Joined: Fri Jan 06, 2017 5:22 pm

Re: no adapter detected

Post by Nomeji »

Thanks a lot for you help!

Following your advices, I solder the header pin to the board but I'm still getting the same error. I did a full log file this time.

Code: Select all

global option -l with value `log.txt'
global option -c with value `test.xml'
controller #1: option -p with value `/dev/ttyUSB0'
now reading arguments for controller #2
status flag is set
subpos flag is set
force_updates flag is set
GIMX 0.00 x86_64
"Arch Linux"
Linux 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 unknown
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M
    |__ Port 3: Dev 2, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
    |__ Port 4: Dev 2, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M
../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
The console is a PS3 slim and the controller, a keyboard for now. What else do you need?

EDIT:
I did had done some crap with the placement of the Arduino on the breadboard. It's now working just fine. Sorry for bothering!
The only problem was that I didn't solder the header to the Arduino, I'm a total noob, sorry.
Post Reply