Page 2 of 2
Re: UsbXlater Preview
Posted: Sat Nov 09, 2013 11:54 am
by Matlo
Thanks for the code!
I cloned the git repo and imported the UsbXlater as an eclipse project.
It didn't compile as-is, I had to replace '\' with '/' in the include paths (project properties>C/C++ Build>Settings>Tool Settings>ARM Yagarto Windows GCC C Compiler>Directories).
EDIT: I also had to replace "Stm32f2xx" with "stm32f2xx" in led.c.
Re: UsbXlater Preview
Posted: Sat Nov 09, 2013 11:04 pm
by frank26080115
yea... let's not get into OS wars
anyways, I just made some improvements, you should check for new commits and read the log, and/or subscribe to notifications if you want
the latest changes will turn the device into a virtual serial port if it detects that you are connected to a PC instead of PS3, and then it will go into a debug mode where it outputs HID report descriptor and traffic analysis data using the VCP.
Re: UsbXlater Preview
Posted: Sun Nov 10, 2013 2:43 pm
by Matlo
frank26080115 wrote:
yea... let's not get into OS wars
Not my intention!
I tried to figure out how to make the UsbXlater enter into dfu mode. How do I proceed?
Re: UsbXlater Preview
Posted: Sun Nov 10, 2013 10:23 pm
by frank26080115
oh yea, there's a jumper called boot, place a jumper block between the two pins closest to the female USB connector, then hit reset. It should then idle in system bootloader mode
there is no indication, and it won't enumerate through the micro-USB side, you need the serial port for this
the triangle symbols on the PCB are the serial port pins, and the triangles indicate the direction of the data
Re: UsbXlater Preview
Posted: Tue Nov 12, 2013 10:43 am
by Matlo
It's working

The reset button was not working, I used my soldering iron to fix it.
I'm using the stm32flash tool from
https://gitorious.org/stm32flash/stm32flash
I added the following file to prevent my system from sending stuff to the VCP when the UsbXlater is connected:
Code: Select all
cat /etc/udev/rules.d/99-stm32.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="5740", ENV{ID_MM_DEVICE_IGNORE}="1"
To read the messages coming from the VCP, I use the following commands:
Code: Select all
stty -F /dev/ttyACM0 raw
cat /dev/ttyACM0