Hi,
For debugging board, I want to use my E407 as a null modem usb adapter, It will take a usb CDC on port HS (as master), and slave on the FS port;
I understand, I need to thread and wakeup, but I could not achieved to get correct USB descriptor. Could you point to some code ?
Bastien
Olimex E407 USB HS + FS null modem
Moderators: RoccoMarco, barthess
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Olimex E407 USB HS + FS null modem
Hi,
The closest thing is the demo STM3F4xx-USB_CDC_IAD which implements 2 ports.
Giovanni
The closest thing is the demo STM3F4xx-USB_CDC_IAD which implements 2 ports.
Giovanni
Re: Olimex E407 USB HS + FS null modem
Hi Giovani,
I tried but it failed.
I have replaced one usbd2 by an usbd1 at the end of the testhal directory (not demo BTW).
Do you have idea why it does not work ?
I tried but it failed.
I have replaced one usbd2 by an usbd1 at the end of the testhal directory (not demo BTW).
Do you have idea why it does not work ?
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Olimex E407 USB HS + FS null modem
It could depend on a lot of things: ULPI settings, GPIOs, clocks, descriptors. I haven't tested that demo for a while, it is possible that it regressed somehow.
Make it work with a single CDC first to make sure HW is fine.
Giovanni
Make it work with a single CDC first to make sure HW is fine.
Giovanni
Who is online
Users browsing this forum: No registered users and 52 guests