-
Notifications
You must be signed in to change notification settings - Fork 179
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
Help with mounting errors on GigaDevice GD32VF103 port #131
Comments
you should try to get the stack debug log with |
Thank you very much 🙂! I have openend a draft PR at tinyusb. I have run the tinyuf2 again with tinyutf2 log_hid.txt tinyusb examples This is an output of the cdc_msc example, that seems to work fine (?): The cdc dual ports example fails with an assert though: log_demo_csc_dual_ports.txt (corrected) I'll try the rest of the examples maybe something else does come up. |
@KarlK90 would you mind confirming if we could close this ? |
@hathach I'll finally open a PR to support tinyuf2 on GD32VF103 in the next days, we could close it afterwards? |
sure things 👍 |
I started porting tinyuf2 (great project!) to the RISC-V GigaDevice GD32VF103 on the Sipeed Longan Nano Board, which has supposedly the same USB OTG peripheral as the STM32F105/107 or STM32F4s. Flash writing and jumping to the application is not possible ATM, but that should be easy to implement. Now to my problem:
So far I got it to boot and enumerate successfully. But it crashes the moment that it tries to mount the ghost fast partition, already the first READ10 command of the boot block never succeeds. I have attached an dmesg dump of the problem, I can also post the debug log of
LOG=2
if this is any help. When stepping into the code with a debugger it sometimes hits this breakpoint. Unfortunately I have limited experienced when it comes to debugging USB and I'm a bit lost where to look for the root cause, that's why I'm asking directly here. (although a logic analyzer and oscilloscope is at hand). To be clear I don't want anybody else to do my work but maybe point in a direction where to look 🙂.I have uploaded the current state of affairs in my personal fork, which should be easily compileable e.g. with an embecosm toolchain if somebody want to have a look.
DMESG output
The text was updated successfully, but these errors were encountered: