Describe the current behavior
The TUSB msc demos will encounter a runtime assertion if you attempt to disconnect the removable drive.
xrun: Program received signal ET_LOAD_STORE, Memory access exception.
xud_data_get_start (ep=874200, buffer=0x909cc "\002\001") at /home/jmccarthy/xmos/xcore_sdk/modules/rtos/modules/drivers/usb/src/xud_xfer_data.h:25
25 asm ("stw %0, %1[0]"::"r"(ep),"r"(chan_array_ptr));
Current language: auto; currently minimal
make[3]: *** [CMakeFiles/run_example_freertos_usb_tusb_demo_msc_dual_lun.dir/build.make:71: CMakeFiles/run_example_freertos_usb_tusb_demo_msc_dual_lun] Error 125
Describe the expected behavior
No runtime assertion
Standalone code to reproduce the issue
make run_example_freertos_usb_tusb_demo_msc_dual_lun
Disconnect one of the drives that shows up.
Other info or logs
It also appears that building the msc demo in FULL speed no longer functions.
First found by @jcarrier-xmos
System information
Describe the current behavior The TUSB msc demos will encounter a runtime assertion if you attempt to disconnect the removable drive.
xrun: Program received signal ET_LOAD_STORE, Memory access exception. xud_data_get_start (ep=874200, buffer=0x909cc "\002\001") at /home/jmccarthy/xmos/xcore_sdk/modules/rtos/modules/drivers/usb/src/xud_xfer_data.h:25 25 asm ("stw %0, %1[0]"::"r"(ep),"r"(chan_array_ptr)); Current language: auto; currently minimal make[3]: *** [CMakeFiles/run_example_freertos_usb_tusb_demo_msc_dual_lun.dir/build.make:71: CMakeFiles/run_example_freertos_usb_tusb_demo_msc_dual_lun] Error 125
Describe the expected behavior No runtime assertion
Standalone code to reproduce the issue make run_example_freertos_usb_tusb_demo_msc_dual_lun Disconnect one of the drives that shows up.
Other info or logs It also appears that building the msc demo in FULL speed no longer functions. First found by @jcarrier-xmos