Page 1 of 1

GIMX with Arduino2560

Posted: Sun Nov 09, 2014 9:46 am
by ErikStat
Hi,

I wanted to use 2 Arduino2560 with an ATMega8u2 as usb to serial converter for GIMX .
The first one is for the serial communication and the other one for the firmware.
Image
Image
Flashing the Firmware for the at90usb162 with an AVRISP mkII on the ATMega8u2 let my computer recognize it as PS3 Controller.
But the Software says:

Code: Select all

gimx -c PS3_Battlefield3_McKack.xml -p COM3
option -c with value `PS3_Battlefield3_McKack.xml'
option -p with value `COM3'
WaitForSingleObject failed: timeout expired.
No controller detected.
connector_init failed
On the USB to Serial Arduino the RX lamp blinks one time.
On the other Arduino no reaction...

Do I need a firmware specialized for the AtMega8u2 that it works?
Is it possible to port the Firmware? I read that it was possible back in times when the project was called diyps3controller. So why not today?

Greetings from Germany, ErikStat

Re: GIMX with Arduino2560

Posted: Mon Nov 10, 2014 1:07 pm
by Matlo
Hi,
The problem is probably that the atmega2560 pulls its tx line high, which prevents the atmega8u2 on the the other board from pulling it low.
If you want to make it work with these boards you have to disable the UART of both the atmega2560 chips (configure both rx and tx pins as inputs).

Re: GIMX with Arduino2560

Posted: Tue Nov 11, 2014 4:26 pm
by ErikStat
Works fine when Rx and Tx Pins are configured as inputs.
Thank you Matlo :)

Re: GIMX with Arduino2560

Posted: Wed Nov 12, 2014 8:20 am
by Matlo
You're welcome :D