Olimex E407 USB HS + FS null modem

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderators: RoccoMarco, barthess

broucari
Posts: 15
Joined: Mon Aug 17, 2015 3:23 pm
Been thanked: 2 times

Olimex E407 USB HS + FS null modem

Postby broucari » Tue Aug 03, 2021 2:47 pm

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

User avatar
Giovanni
Site Admin
Posts: 14455
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

Postby Giovanni » Tue Aug 03, 2021 3:31 pm

Hi,

The closest thing is the demo STM3F4xx-USB_CDC_IAD which implements 2 ports.

Giovanni

broucari
Posts: 15
Joined: Mon Aug 17, 2015 3:23 pm
Been thanked: 2 times

Re: Olimex E407 USB HS + FS null modem

Postby broucari » Tue Aug 03, 2021 6:32 pm

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 ?

User avatar
Giovanni
Site Admin
Posts: 14455
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

Postby Giovanni » Tue Aug 03, 2021 7:22 pm

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


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 30 guests