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

usbhost example won't compile due to missing usbh_cdc_ecm #206

Open
harbaum opened this issue Apr 22, 2024 · 5 comments
Open

usbhost example won't compile due to missing usbh_cdc_ecm #206

harbaum opened this issue Apr 22, 2024 · 5 comments

Comments

@harbaum
Copy link

harbaum commented Apr 22, 2024

The cmakefiles refer to a file named class/cdc/usbh_cdc_ecm.c

sdk_library_add_sources(class/cdc/usbh_cdc_ecm.c)

but in the repository only a file named class/cdc/usbh_cdc_acm.c is actually included:

https://github.com/bouffalolab/bouffalo_sdk/tree/master/components/usb/cherryusb/class/cdc

This prevents the usbhost demo from being compilable.

@harbaum
Copy link
Author

harbaum commented Apr 22, 2024

Perhaps ECM should just be disabled in the project config:

set(CONFIG_CHERRYUSB_HOST_ECM 1)

It's not enabled by default in the demo itself, anyway:

#define TEST_USBH_CDC_ECM 0

@harbaum harbaum changed the title usbhost example won't compile due to cdc_acm / cdc_ecm mixture usbhost example won't compile due to missing usbh_cdc_ecm Apr 22, 2024
@WGR7
Copy link

WGR7 commented May 8, 2024

Hi,

Do you got the new release version of CherryUSB running on this SDK?

@harbaum
Copy link
Author

harbaum commented May 8, 2024

Yes. But I only tested the host part.

@WGR7
Copy link

WGR7 commented May 8, 2024

Yes. But I only tested the host part.

I've ported the CherryUSB lib, but seems that interrupt isn't happening. Could you share your port?
I'm facing a strange problem with my composite device(MSC+CDC). Sporadically, in the middle of transfer, the device is enumerated again but without a CPU reset. I will update the lib to test and open a case, but is really a mess because the problem should be with BL616 port. And the Boufallo support is worse and don't care about a single customer issue. Here on GitHub, there's no answers to the majority of issues opened. The SDK has weeks and months without an update. The documents are missing description about USB peripheral.

BL616 is a great device, but the more important thing is a good ecosystem and SDK are missing. I'm really excited to the esp32-p4 release.

Do you get to debug BL616 through JTAG interface?

@harbaum
Copy link
Author

harbaum commented May 8, 2024

See https://github.com/harbaum/bouffalo_sdk/

This repo includes an updated cherry USB as a submodule.

Yes, the chip is cool and has a lot of potential and the SDK support is rather disappointing ...

I have not tried to use jtag.

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

No branches or pull requests

2 participants