"OPTION AUTORUN ON" disappears


Author Message
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2301
Posted: 09:53pm 22 Sep 2024      

  Quote  the option "autorun on" disappears...If the problem is already known, is there a solution?
My understanding is it isn't a problem, it is a deliberate escape mechanism.
People have encountered problems when a program crashes and causes a reboot. The Pico gets stuck in an endless cycle of crash - reboot - autorun - crash from which there is no escape other than using clear-flash.
By removing autorun it reboots to the prompt so you can fix the problem without loosing everything.

If you want to override this add this Sub to the start of the program.
Sub MM.Startup
 Pause 2000 'An opportunity to use Ctrl-C should there be a reboot loop problem.
 RUN
End Sub

Edit.
More people would see your post if it was on the "Microcontrollers and PC projects" page.
Edited 2024-09-23 09:25 by phil99