Beetle Atmega32u4

Need help? Ask here and someone will help
Post Reply
User avatar
k1LLb0x
Posts: 4
Joined: Wed Nov 09, 2011 6:58 pm

Beetle Atmega32u4

Post by k1LLb0x »

Hi matlo,

Im trying to get GIMX working on the ps4.
Not living in EU now but working in the Philippines, so getting a Teensy 2.0 here is impossible, So I found a Atmega32u4 "Beetle" which is compatible with the "Arduino leonardo" and uses the same micro controller as the teensy 2.0.

Image

I downloaded your .Hex file for the PS4.

But cant upload it to the beetle. :(

Do I need a Serial to USB to connect on the TX and RX, as in the PS3 adapter or for the PS4 do you only use the Teensy 2.0



Many thanks in advance,
Mike.
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Beetle Atmega32u4

Post by Matlo »

Hi,

I think you can load a hex file using this:
http://arduinodev.com/arduino-uploader/
GIMX creator
User avatar
k1LLb0x
Posts: 4
Joined: Wed Nov 09, 2011 6:58 pm

Re: Beetle Atmega32u4

Post by k1LLb0x »

Cant get passed here.
Unplug the bluetooth dongle, then press enter.

Plug the bluetooth dongle.
The bluetooth dongle address is 00:15:83:4C:ZZ:ZZ.
The bluetooth hci number is 0.
Plug the DS4 with a USB cable.
The DS4 address is 1C:66:6D:49:ZZ:ZZ.
Unplug the DS4.
Plug the teensy.
Unplug the teensy.
Plug the teensy to the PS4, and wait a few seconds.
Then plug the teensy back to the PC.
The PS4 address is B0:05:94:AF:ZZ:ZZ.
Everything was successful: setting dongle link keys.
To run gimx, type:
gimx -t DS4 -c config.xml -h 0 -b B0:05:94:AF:ZZ:ZZ
mike@mike-K55VJ:~$ gimx -t DS4 -c PS4_KillZoneShadowFall.xml -h 0 -b B0:05:94:AF:ZZ:ZZ --status
option -t with value `DS4'
option -c with value `PS4_KillZoneShadowFall.xml'
option -h with value `0'
option -b with value `B0:05:94:AF:ZZ:ZZ'
status flag is set
listening on psm: 0x0001
listening on psm: 0x0011
listening on psm: 0x0013
using default refresh period: 10.00ms

accepted connection from 1C:66:6D:49:ZZ:ZZ (psm: 0x0001)
connecting with hci0 = 00:15:83:4C:ZZ:ZZ to ZZ:05:94:AF:ZZ:ZZ psm 0x0011
connecting with hci0 = 00:15:83:4C:ZZ:ZZ to ZZ:05:94:AF:ZZ:ZZ psm 0x0013
accepted connection from 1C:66:6D:49:ZZ:ZZ (psm: 0x0011)
accepted connection from 1C:66:6D:49:ZZ:ZZ (psm: 0x0013)
connection failed: Connection refused
can't connect to control psm
connection failed: Connection refused
can't connect to interrupt psm
is it the dongle...??
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Beetle Atmega32u4

Post by Matlo »

Could you go through the setup part of the wiki again? (including the wget command)

There was an issue that should be fixed.
GIMX creator
User avatar
k1LLb0x
Posts: 4
Joined: Wed Nov 09, 2011 6:58 pm

Re: Beetle Atmega32u4

Post by k1LLb0x »

Hi Matlo.

Ok, theres been nice progress, the beetle works and im able to control the PS4 on the keyboard "left and right" on the controller selection page. :D

issues:
-once I pick a PS4 controller profile I get "EXIT"

Reinstalled everything, trying again with a diferent profile.
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Beetle Atmega32u4

Post by Matlo »

Please post the content of the config file that triggers the issue.
GIMX creator
Post Reply