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

dcd_rusb2.c MSC enum error #2602

Open
1 task done
tyustli opened this issue Apr 17, 2024 · 5 comments
Open
1 task done

dcd_rusb2.c MSC enum error #2602

tyustli opened this issue Apr 17, 2024 · 5 comments
Labels

Comments

@tyustli
Copy link
Contributor

tyustli commented Apr 17, 2024

Operating System

Windows 11

Board

ra8d1_evk

Firmware

device cdc_msc

What happened ?

cdc demo is ok

msc demo or cdc_msc demo error log
image

How to reproduce ?

add dcd_rusb.c to ra8d1 project, no rtos.

void hal_entry(void) {
  board_init();

  // init device stack on configured roothub port
  tud_init(BOARD_TUD_RHPORT);

  if (board_init_after_tusb) {
    board_init_after_tusb();
  }

  while (1) {
    tud_task(); // tinyusb device task
    led_blinking_task();
    cdc_task();
  }
}

Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)

no debug tool

Screenshots

image

I have checked existing issues, dicussion and documentation

  • I confirm I have checked existing issues, dicussion and documentation.
@HiFiPhile
Copy link
Collaborator

no debug tool

Isn't the board has on-board jlink debugger ?

@tyustli
Copy link
Contributor Author

tyustli commented Apr 17, 2024

no debug tool

Isn't the board has on-board jlink debugger ?

sorry I don't have jlink tool

The original capture log file cannot be uploaded either.

The picture is a screenshot of the usb packet capturer
https://www.totalphase.com/products/control-center-serial/)

@hathach
Copy link
Owner

hathach commented Apr 17, 2024

ra8d1_ek is not supported yet in the bsp.

@Rbb666
Copy link
Contributor

Rbb666 commented Apr 17, 2024

这个问题也可以在RA6M5/其他RA系列MCU平台上重现。

This problem can also be reproduced on other RA series MCU platforms.

@hathach
Copy link
Owner

hathach commented Apr 17, 2024

这个问题也可以在RA6M5/其他RA系列MCU平台上重现。

This problem can also be reproduced on other RA series MCU platforms.

Please provide specific board information. Make sure you use the stock example from tinyusb repo, the 1st post seems to use example from other repo

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

No branches or pull requests

4 participants