An other model of RP2040


Author Message
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8815
Posted: 05:54pm 10 Apr 2024      

That's because Peter has modified MMBasic. At boot it sets a watchdog. It will try to boot at the speed set in OPTION CPU. If the watchdog times out you get "Invalid clock speed - reset to default" and the speed is set to 133000 (I think).

Here's my theory.
At the time you set the speed using OPTION I'm not sure if the watchdog gets set - it has already booted and it may only be at boot. If that's the case then it will try to run at the speed you set anyway - and may crash or lock up. Then, when you try to restart it will try with the watchdog this time.

When you set the option to 378000 it obviously managed to boot within the watchdog time.