GIMX with Arduino2560

Need help? Ask here and someone will help
Post Reply
ErikStat
Posts: 2
Joined: Sun Nov 09, 2014 9:29 am

GIMX with Arduino2560

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

Re: GIMX with Arduino2560

Post 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).
GIMX creator
ErikStat
Posts: 2
Joined: Sun Nov 09, 2014 9:29 am

Re: GIMX with Arduino2560

Post by ErikStat »

Works fine when Rx and Tx Pins are configured as inputs.
Thank you Matlo :)
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: GIMX with Arduino2560

Post by Matlo »

You're welcome :D
GIMX creator
Post Reply