Pyboard D: Can't switch to 216 MHz

The official PYBD running MicroPython, and its accessories.
Target audience: Users with a PYBD
ThomasChr
Posts: 121
Joined: Sat Nov 25, 2017 7:50 am

Re: Pyboard D: Can't switch to 216 MHz

Post by ThomasChr » Mon Apr 01, 2019 7:07 am

That was a completely fresh started Pyboard without anything running.

ThomasChr
Posts: 121
Joined: Sat Nov 25, 2017 7:50 am

Re: Pyboard D: Can't switch to 216 MHz

Post by ThomasChr » Mon Apr 01, 2019 9:37 am

There is now an issue for my problem: https://github.com/micropython/micropython/issues/4662

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Pyboard D: Can't switch to 216 MHz

Post by Roberthh » Mon Apr 01, 2019 4:00 pm

machine.lightsleep(ms) should also work, but the USB will not during a lightsleep, you need to do pyb.usb_mode(None) to disable it.
That worked. Deactivating USB and reactivating after lightsleep() works.

ThomasChr
Posts: 121
Joined: Sat Nov 25, 2017 7:50 am

Re: Pyboard D: Can't switch to 216 MHz

Post by ThomasChr » Mon Apr 01, 2019 4:31 pm

I have absolutely no problem switching to 216 MHz on my Linux Box with 'screen' or with Putty.

So either Putty on Windows has a problem or the USB Driver has some kind of problem...

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Pyboard D: Can't switch to 216 MHz

Post by pythoncoder » Mon Apr 01, 2019 4:37 pm

Both @Damien and myself have encountered (on Linux) the problem where the prompt does not appear until you press Enter. I've not been able to replicate the crash (so far).
Peter Hinch
Index to my micropython libraries.

Post Reply