-
I try to directly write to an external flash (16MB). The final code uses littlefs on the flash and allows the device to run in 2 modes: After modifying and embedding the MSC example, I can read from flash:
"Writing" (ie. just
The next step is adding some "busyness":
This does not work at all!
dmesg report:
What am I doing wrong here? On my way to this minimum code snipped, I found, that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@WilheJo I was having similar issues - high speed MSC device on CH32V307 reading just fine, but failing to complete writes. It seems that I'm not sure what the underlying cause is, but I noticed #2392 and found that cherry-picking the commits from that MR seems to make things work as intended for me; it's worth giving that a try! |
Beta Was this translation helpful? Give feedback.
@WilheJo I was having similar issues - high speed MSC device on CH32V307 reading just fine, but failing to complete writes. It seems that
tud_msc_write10_cb
simply wasn't getting called again when it should have been.I'm not sure what the underlying cause is, but I noticed #2392 and found that cherry-picking the commits from that MR seems to make things work as intended for me; it's worth giving that a try!