Comments (3)
I have the same issue while monitoring stdio via USB on Windows 10. Dormant mode appears to shut down things without properly re-enabling them on wake-up.
I implemented the recover_from_sleep
function found here, but while that does fix some issues and appears to bring the clocks back up, it does not fix the USB and allow stdio to display on my monitor via PuTTY.
from pico-playground.
This is just a random guess (and may not actually be anything to do with your problem at all), but I wonder if Windows might be "getting confused" by the USB device suddenly becoming non-responsive, when the RP2040 goes to sleep?
from pico-playground.
Windows does seem to get confused, but I think this is more of a Pico issue than a Windows issue. I would think that a proper "wake up" after going dormant should reinitialize USB in such a way that Windows could recognize the device again. And as mentioned above, this also seems to be an issue on Mac. I've monitored the system clocks and by default the USB clock stays at 0Khz after waking up from dormant.
I tried to restore this manually but setting the clock back to its original value doesn't seem to be enough to get the connection working again.
from pico-playground.
Related Issues (20)
- USB Sound Card ceases function after some time of use HOT 3
- flash_stream
- Feature request
- convert images for sprite_demo HOT 3
- audio/sine_wave/CMakeLists.txt wrong I2S pins HOT 3
- usb_sound_card.c - line 290 "todo lie thru our teeth for now"
- LVGL for scanline generation HOT 1
- How to use vga_mode_tft_800x480_50 mode? HOT 4
- Sprite composition in ram, from flash. HOT 1
- TURBO_BOOST breaks vga color HOT 2
- Flash stream example producing messed color results HOT 5
- How to properly include tinyusb in the examples
- How to add usb printf to flash-stream dma example? HOT 5
- Update USB Sound Card Example to use TinyUSB instead of LUFA HOT 1
- VGA Connection Pinout in the scanvideo/ directory seems incorrect HOT 2
- sine_wave using interpolator
- Not much going on here - dead project?
- Issue with usb sound card at higher sample rates HOT 1
- `build` folder is not being ignored
- Not able to build repository - `Unknown CMake command Include build folder as part of .gitignore` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pico-playground.