Page 1 of 2

UsbXlater Preview

Posted: Sat Nov 02, 2013 4:19 am
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


Re: UsbXlater Preview

Posted: Sat Nov 02, 2013 10:13 am
by Matlo
Great job!

The link isn't working?

Re: UsbXlater Preview

Posted: Sat Nov 02, 2013 2:29 pm
by frank26080115
it's working now

Re: UsbXlater Preview

Posted: Sat Nov 02, 2013 4:05 pm
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.

Re: UsbXlater Preview

Posted: Sun Nov 03, 2013 3:18 am
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

Re: UsbXlater Preview

Posted: Mon Nov 04, 2013 8:16 am
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.

Re: UsbXlater Preview

Posted: Tue Nov 05, 2013 7:58 pm
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)

Re: UsbXlater Preview

Posted: Tue Nov 05, 2013 9:09 pm
by Matlo
The CP2102 adapter I have runs at 3.3V :)

Re: UsbXlater Preview

Posted: Fri Nov 08, 2013 11:00 pm
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.

Re: UsbXlater Preview

Posted: Fri Nov 08, 2013 11:05 pm
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.