Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 13:35 26 Nov 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Curious AutoRun quirk

Author Message
Malibu
Senior Member

Joined: 07/07/2018
Location: Australia
Posts: 265
Posted: 10:36pm 25 Nov 2026
Copy link to clipboard 
Print this post

I've been working on some code the last couple of weeks... any changes to the code and I'll do an upload, The WebMite will go straight into autorun as it should because my settings are - OPTION AUTORUN  ON,NORESET
As expected and that's all good.
The last couple of days, for some reason the autorun is not working after an upload. It works after a W/D fires and also a power up, but now I need to type in the RUN command (or hit F2) for it to start running.

I'm using MMedit 5.4.3 with MMCC on a WebMite MMBasic RP2350A Edition V7.00.00RC7

I'm suspecting it's the code size.
I did 2 tests for autorun with these results ...
  Quote  ****** TEST 1 ******

Uploading using:  'target port\COM14:115200 s\picomite
Upload started
NEW
>
>
AUTOSAVE
Progress: 2400/2414
Enter ctrl-Z, F1, or F2 to exit

Time taken: 9257mS
Saved 90789 bytes
>
>
>

****** TEST 2 ******

Uploading using:  'target port\COM14:115200 s\picomite
Upload started
NEW
>
>
AUTOSAVE
Progress: 2200/2200
Enter ctrl-Z, F1, or F2 to exit

Time taken: 8411mS
Saved 82688 bytes
>
>
> RUN
Code Good
>
>


Test 1 is 2415 lines of code and comments and doesn't autorun, Test 2 is 2200 lines of code and comments, but will autorun. (Both are pretty much the same code; Test 2 is just an earlier version)

My suspicion is that the MMCC might be sending a RUN command before the WebMite is ready to receive it. Maybe it's still saving the file or otherwise busy in some way.

Is there a way that I can change the delay time before the RUN is sent?
John
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6645
Posted: 12:05am 26 Nov 2026
Copy link to clipboard 
Print this post

in MMCC.inf
about line 110 there is an option
Autosave end delay


increase that value to allow more time to process the file

Remember to have MMCC shut down when you alter the inf file

The 'RUN' that MMCC sends has nothing to do with AUTORUN options
Edited 2026-11-26 10:06 by TassyJim
VK7JH
MMedit
 
Malibu
Senior Member

Joined: 07/07/2018
Location: Australia
Posts: 265
Posted: 12:54am 26 Nov 2026
Copy link to clipboard 
Print this post

Thanks Jim, that did the trick. I looked at the .inf file, but I didn't jerry that was the setting to change
John
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026