PS4 G25 help with GIMX-launcher

Need help? Ask here and someone will help
Anzeb
Posts: 9
Joined: Sat Mar 12, 2016 9:37 am

PS4 G25 help with GIMX-launcher

Post by Anzeb »

Hey guys,

i've been trying to get this thing set up and im having some issues right at the end.

Basicly, when i start up GIMX launcher and press check it says this config is ok, then when i press start the console runs for a bit then i get the errors:

Cannot open file for writing: C:\users\xxx\AppData\Roaming\gimx-launcher/output
Cannot open file for writing: C:\users\xxx\AppData\Roaming\gimx-launcher/outputChoice
Cannot open file for writing: C:\users\xxx\AppData\Roaming\gimx-launcher/input
Cannot open file for writing: C:\users\xxx\AppData\Roaming\gimx-launcher/inputChoice

When i ran the log file i got this:

option -l with value `log.txt'
option -c with value `config.xml'
option -p with value `COM3'
status flag is set
subpos flag is set
force_updates flag is set
GIMX 5.7 x86_64
Windows 8.1 x64
Kernel version: 6.3 (9600)
native mode is already enabled for HID device \\?\hid#vid_046d&pid_c299#6&349acdad&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (PID=c299)
ReadFile failed: timeout expired.
can't read packet header
No controller detected.
adapter_detect failed



Some more info: I flashed the board with arduino builder tool and it took the flash ok, so i think its connected the right way. I have the ps4 controller connected, i also installed both CP201x and usbDK. I have the g25 connected to the computer, and ps4 is turned on and connected over the arduino board. I also installed the g25 drivers from the official logitech site

Human interface devices:
HID-compliant consumer control device
HID-compliant game controller
Logitech G25 Racing Wheel USB
Logitech G25 Racing Wheel USB (HID)
Logitech Virtual HID device
Logitech Virtual HID device
Razer (mouse)
USB input (3x)

Under ports i have:
Communication Port (Com1)
Silicon Labs CP210x USB to UART Bridge (COM3)


The config file i have loaded is this one: https://github.com/matlo/GIMX-configura ... 25_G29.xml since i could not load the ones that the program offers at the start.


Im lost here, does anybody have an idea what can be wrong? If you need more information i'd be happy to supply it.
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: PS4 G25 help with GIMX-launcher

Post by Matlo »

The wiring is probably wrong. Post a clear picture of your adapter showing how it's wired.
GIMX creator
Anzeb
Posts: 9
Joined: Sat Mar 12, 2016 9:37 am

Re: PS4 G25 help with GIMX-launcher

Post by Anzeb »

http://imgur.com/apdi9Lk
http://imgur.com/lB2WsLU

Green
Usb GND to arduino pin4 GND

Red
Usb RXD to arduino pin2 RX1

Yellow
Usb TXD to arduino pin1 TX0
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: PS4 G25 help with GIMX-launcher

Post by Matlo »

The soldering of the TXO pin looks defective.
RXD should be connected to TXO, and TXD to RXI.
GIMX creator
Anzeb
Posts: 9
Joined: Sat Mar 12, 2016 9:37 am

Re: PS4 G25 help with GIMX-launcher

Post by Anzeb »

I resoldered the TXO pin and switched the pins

I get the same error.

Do i need to reflash the board?
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: PS4 G25 help with GIMX-launcher

Post by Matlo »

Which firmware did you load?
GIMX creator
Anzeb
Posts: 9
Joined: Sat Mar 12, 2016 9:37 am

Re: PS4 G25 help with GIMX-launcher

Post by Anzeb »

Firmware i loaded was firmwares-5.4\EMUG29PS4\atmega32u4.hex


I tried to repeate the entires process. I loaded in avrdude:

C:\Users\Anže\Desktop\volan\arduino\bin>avrdude -p atmega32u4 -c avr109 -P COM7
-D -U flash:w:C:\Users\Anže\Desktop\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
avrdude: reading input file "C:\Users\An×e\Desktop\atmega32u4.hex"
avrdude: writing flash (4376 bytes):

Writing | ################################################## | 100% 0.56s

avrdude: 4376 bytes of flash written
avrdude: verifying flash memory against C:\Users\An×e\Desktop\atmega32u4.hex:
avrdude: load data flash data from input file C:\Users\An×e\Desktop\atmega32u4.h
ex:
avrdude: input file C:\Users\An×e\Desktop\atmega32u4.hex contains 4376 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.25s

avrdude: verifying ...
avrdude: 4376 bytes of flash verified

avrdude: safemode: Fuses OK (H:CB, E:D8, L:FF)

avrdude done. Thank you.



After that, i opened up arduino builder tool but the COM7 port does not always stay on when the board is connected to the computer. What am i doing wrong here?

On the arduino the light next to RX0 is burning, in the usb side i have the one next to GND running and the one next to TXD running but dimmed.
Anzeb
Posts: 9
Joined: Sat Mar 12, 2016 9:37 am

Re: PS4 G25 help with GIMX-launcher

Post by Anzeb »

I got the arudino builder tool to upload something:

Forcing reset using 1200bps open/close on COM1... COM7 found!

Connecting to porgrammer: .
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.exe:AVR device initialized and ready to accept instruction



After that the 3 graps i get show FLASH SRAM and EEPROM all blue, so no memory has been burned
Last edited by Anzeb on Sun Mar 13, 2016 9:12 pm, edited 1 time in total.
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: PS4 G25 help with GIMX-launcher

Post by Matlo »

The exact procedure for loading a firmware is here: http://gimx.fr/wiki/index.php?title=DIY ... sed_boards

That said, if you loaded the right firmware first, there's no need to load it again.
Your issue is probably a wiring or soldering issue.
Make sure the connections are fine. Use an ohmmeter if you have one.
GIMX creator
Anzeb
Posts: 9
Joined: Sat Mar 12, 2016 9:37 am

Re: PS4 G25 help with GIMX-launcher

Post by Anzeb »

I've read and reread you guide and im missing a few things.

Download the Arduino Leonardo drivers and save them into the same folder:
arduino.cat
arduino.inf
Right-click on the arduino.inf file and click on Install.

Done

Make sure that the USB to UART board (e.g. CP2102) is connected and powered, and that the wiring with the atmega32u4 board is correct.

CP2102 is connected to the computer using USB

Make sure that the atmega32u4 board is connected and powered.

atmega32u4 is connected to the computer using Micro USB


Download the Arduino Builder tool and extract the archive (using 7zip).
Run ArduinoBuilder.exe.
Click on "Load Sketch / HEX", and select the desired atmega32u4.hex firmware.
Click on "Board Type" and select "Arduino Leonardo".

Done

Click on the COM port that matches the "Silicon Labs CP210x ... (COMX)" COM port in the device manager (or whatever the name of your USB to UART board is). This is a trick to make the Arduino Builder tool look for a new COM port.

Can you explain this part? If you mean COM3, when i restart the board i get a COM7 found and it loads up nothing, if i reconnect the usb it doesnt find a reset happening.

The following message should appear: "Forcing reset using 1200bps open/close on COMX...".
Quickly unplug/replug the atmega32u4 board, or connect RST to GND twice.
The atmega32u4 board should run the bootloader. The Arduino builder tool should find the Arduino Leonardo COM port and flash the firmware.
Upon success a "Uploading completed!" message should be displayed.



Currently in mi Ports i have:

Communications Port (COM1)
Silicon Labs CP210x USB to UART Bridge (COM3)

if i reset the board for about 5 seconds i get:

Arduino Leonardo bootloader (COM7)



can you figure anything out from this?
Post Reply