v.lenzer Regular Member Joined: 04/05/2024 Location: GermanyPosts: 53
Posted: 11:10am 22 Sep 2024
Has this happened to other users too, that the option "autorun on" disappears? This is of course unpleasant because then the entire circuit fails. If the problem is already known, is there a solution?
(PicoMite MMBasic Version 5.08.00 on RP2040)
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2301
Posted: 09:53pm 22 Sep 2024
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
v.lenzer Regular Member Joined: 04/05/2024 Location: GermanyPosts: 53
Posted: 08:01am 24 Sep 2024
Thank you for the explanation! I will add the sub.
I have no idea how I got into the "Windmill thread". What do I have to do to change that? I'm afraid only the admin can do that. If that's the case, I would ask the admin to move this thread to the Microcontroller forum.
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2301
Posted: 08:31am 24 Sep 2024
This may have happened by selecting "Start new thread" while in "Active Topics". Windmills is the first in the Forum Index list so that is where your post went.
Next time go to Forum Index and open Microcontrollers before starting a thread.
As for moving a thread, I am not sure even admin can do that.
v.lenzer Regular Member Joined: 04/05/2024 Location: GermanyPosts: 53