Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6960

Other RP2040 boards • Problem with RP2350-USB-A - WaveShare

$
0
0
I'm having a great trouble with RP2350-USB-A board.
Have somebody tried to use it successfully? Did you manage to compile and upload examples provided on their wiki?
At first I tried to build and flash to the board their example for host but it was a very painful task (cmake errors) and after building the file just wouldn't flash on board (it didn't reset automatically). Then I tried some pico provided examples and they worked so I started from their host_cdc which I wanted to be working on PIO USB and after some changes in CMakeList and adding sekigon-gonnoc/Pico-PIO-USB src files all errors were gone but the one connected to HCD (Host Controller Driver) which makes my CMake app break. On their wiki there is this note:
Note: When compiling this demo, you need to comment the return statement in the SDK\lib\tinyusb\src\portable\raspberrypi\pio_usb\hcd_pio_usb.c file, as follows:
bool hcd_edpt_abort_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr) {
uint8_t const pio_rhport = RHPORT_PIO(rhport);
// return pio_usb_host_endpoint_abort_transfer(pio_rhport, dev_addr, ep_addr);
}
uint32_t hcd_frame_number(uint8_t rhport) {
(void) rhport;
// return pio_usb_host_get_frame_number();
}

But doing so didn't help. Errors say that they couldn't find sources for 7 functions all hdc connected.

Have somebody manage to make it work? Could somebody help me understand why it may not work? What else can I do?
I would be grateful for every replay! Thank you

BTW I'm using Windows10 and Visual Studio Code and I'm trying to program a project that would allow communication for board as a host to some device with CDC and I also need the board to communicate (also on CDC) as a device to PC.

Statistics: Posted by Stanty — Fri Sep 19, 2025 5:28 pm — Replies 0 — Views 51



Viewing all articles
Browse latest Browse all 6960

Trending Articles