tinyusb icon indicating copy to clipboard operation
tinyusb copied to clipboard

dcd_rusb2.c MSC enum error

Open tyustli opened this issue 10 months ago • 5 comments

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

  • [X] I confirm I have checked existing issues, dicussion and documentation.

tyustli avatar Apr 17 '24 13:04 tyustli

no debug tool

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

HiFiPhile avatar Apr 17 '24 13:04 HiFiPhile

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/)

tyustli avatar Apr 17 '24 14:04 tyustli

ra8d1_ek is not supported yet in the bsp.

hathach avatar Apr 17 '24 14:04 hathach

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

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

Rbb666 avatar Apr 17 '24 15:04 Rbb666

这个问题也可以在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

hathach avatar Apr 17 '24 16:04 hathach