USB MSC/CDC not re-enumerating upon #3065
Unanswered
smessmacher
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Operating System
Others
Board
RP2040 Custom board
Firmware
What happened ?
I am setting up my rp2040 as an MSC/CDC device. All fucntions emulate a USB properly when drag/dropping and moving files. I want to send a file via UART to the pico (succesful) and have it refresh itself to show the new file on an iPad (unsuccesful). However, the same process works just fine on my windows computer.
Process after file is recieved:
What happens: pico disconnects from ipad but does not reconnect. I am attaching my custom main.c script to ilustrate better. Not sure if this is how to format it as it didn't let me attach .c files, hope this is ok.
How to reproduce ?
Just running a tud_disconnect and tud_connect should be enough to see what I mean, i dont care about the rest of the process as I know that works well. Just need to know how to show the new file on the iPad once downloaded
Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)
On my windows I see dosplayed on my oled screen
show_message("disco","success");which menas it is accesing my callback tud_cdc_line_state_cb. However I dont see this on iOS so I am unsure as to what could cause that
Screenshots
No response
I have checked existing issues, dicussion and documentation
Beta Was this translation helpful? Give feedback.
All reactions