bouffalo_sdk
bouffalo_sdk copied to clipboard
BL702 usb device not working
usb cdc example freeze after request device descriptor
Works good, no problem.
Crash is there: https://github.com/bouffalolab/bl_mcu_sdk/blob/master/drivers/lhal/src/bflb_usb_v1.c#L548
host is MacOS, presumably endpoint control data readed as out data.
No other information i cannot help you.
@andryblack it seems that macOS have some weird issue with USB CDC generally. I was forced to reduce CDC buffer sizes to get anything to work at all during ISP omde.
It is not cdc issue, crash occur on early, enumeration stage after request first descriptor. CDC on Mac OS works perfectly with correct code, for example with stm32 chips. I can produce minimal example.
@andryblack it seems that macOS have some weird issue with USB CDC generally. I was forced to reduce CDC buffer sizes to get anything to work at all during ISP omde.
I'm having the same problem on macos, can't upgrade via BLDevCude, how did you reduce the cdc buffer sizes to get the ISP to work, can you share? thanks
@LynnL4 I used my flashing tool "blisp"
I am experiencing the same issue. SOC: BL702 Board:RV-Debugger Plus. I think it may relevant to clock or host os. I 'm less occur this issue on linux.
However, I found the old sdk which sipeed used to develop RV-Debugger Plus are very stable. https://github.com/sipeed/bl_mcu_sdk/tree/1cf3d1455b3baf66a9e3237365fcdfd69d821487 Demo project which easy to build: https://github.com/metro94/RV-DAP-Plus