UsbXlater Preview

Talk about anything concerning the source code.
frank26080115
Posts: 20
Joined: Sun Oct 20, 2013 7:36 pm

UsbXlater Preview

Post by frank26080115 »

This circuit is a STM32F2 chip with a USB host interface and USB device interface. The original goal of this project is to allow me to play Playstation 4 games using a keyboard and mouse (as opposed to using a gamepad).

Image

More info:

http://eleccelerator.com/usbxlater-preview/

Edit: added a video

Last edited by frank26080115 on Sun Nov 03, 2013 6:38 am, edited 2 times in total.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: UsbXlater Preview

Post by Matlo »

Great job!

The link isn't working?
GIMX creator
frank26080115
Posts: 20
Joined: Sun Oct 20, 2013 7:36 pm

Re: UsbXlater Preview

Post by frank26080115 »

it's working now
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: UsbXlater Preview

Post by Matlo »

Thanks.

I'd like to get one :)
I'm not familiar with smd soldering, so it would be great if you could sell me an assembled circuit.
GIMX creator
frank26080115
Posts: 20
Joined: Sun Oct 20, 2013 7:36 pm

Re: UsbXlater Preview

Post by frank26080115 »

I just got the PS3 to work with it, to celebrate, I purchased BF4 to test

Assembled unit heading to you. Privately contact me with your shipping details.

Do you have a FTDI cable or something similar? What about SWD debugger?

If you don't have either, then I need to add in a USB bootloader before I ship it.

edit: I posted a short video
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: UsbXlater Preview

Post by Matlo »

I have several USB to TTL UART adapters (FT232RL, CP2102, PL2303). Is that what you mean by "FTDI cable"?

I also have a "high-level" USB sniffer, which is a beagleboard XM programmed as a USB proxy.

I'll send you a private message.
GIMX creator
frank26080115
Posts: 20
Joined: Sun Oct 20, 2013 7:36 pm

Re: UsbXlater Preview

Post by frank26080115 »

Any of those converters should work, but try making sure you are using 3.3V and not 5V

I'm not sure about the capabilities of your sniffer, but anything helps

I'll provide more instructions soon, meanwhile, read http://eleccelerator.com/wiki/index.php ... rter_Guide , you'll need to use the system bootloader, and you'll need some way of building the code (I will have it up on github sometime soon)
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: UsbXlater Preview

Post by Matlo »

The CP2102 adapter I have runs at 3.3V :)
GIMX creator
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: UsbXlater Preview

Post by Matlo »

I received it today :)

I installed the eclipse plugins and the toolchain.
I'll have a look at the tools and documents from ST.
GIMX creator
frank26080115
Posts: 20
Joined: Sun Oct 20, 2013 7:36 pm

Re: UsbXlater Preview

Post by frank26080115 »

Wow that was surprisingly fast. I haven't even put up the code yet. Please wait. Edit: https://github.com/frank26080115/UsbXlater

My mouse code only works with my mouse right now because it's hardcoded to decode 12 bit axis coordinates. I don't have a good strategy for decoding arbitrary reports on a embedded platform. If you have a specific mouse you need to support, send me the HID report descriptor and a sample report packet.

The keyboard decoder should be fairly generic but does not support N-key rollover.
Post Reply