Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loopback FTDI implementation on the FX2 using USB descriptors from the linux-descriptors branch #21

Open
wants to merge 4 commits into
base: linux-descriptors
Choose a base branch
from

Conversation

RacingTornado
Copy link

@RacingTornado RacingTornado commented Jul 8, 2016

This commit adds example firmware in the directory examples/loopback_ftdi.
To run this first clone the repository, then cd to the fx2lib directory and checkout this particular branch(loopback_merge).
After this run 2 commands:
git submodule init
git submodule update
After this , navigate to the examples/loopback_ftdi directory and execute the following commands:
make
Now push the FX2 device inside B port(remove any udev rules you may have set up for Cypresse's VID and PID) and run
make fx2_download
After this open minicom
sudo minicom -H -w name_of_configuration
The configuration should point to the correct USB port and baud rate is 115200.
You should see the data on your terminal when you press any key.

…been sent to it via minicom or any other serial terminal program via the ftdi_sio driver
__code __at(0x3e00) struct usb_descriptors code_descriptors =
{
.device = {
.bLength = USB_DT_DEVICE_SIZE,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mixing tab and spaces here which is causing the weird indentation issues.

@mithro
Copy link
Owner

mithro commented Jul 11, 2016

This CL is getting there, however it needs a whole lot of clean up.

@RacingTornado
Copy link
Author

The git rebase and squash will be done at the end before the merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants