Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:55 01 Aug 2025 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 : CMM2: IO Pin40 Reset ... what should happen?

Author Message
Womble

Senior Member

Joined: 09/07/2020
Location: United Kingdom
Posts: 267
Posted: 12:15am 13 Aug 2020
Copy link to clipboard 
Print this post

I think I'm being particularly thick tonight

The manual as of 5.05.05b7 states:


I was expecting the CMM2 to be reset to its "original configuration" as stated, and that when I power cycled the machine with pin40 pulled to ground (I used a motherboard jumper across pins 39 & 40) the initial setup program would run, allowing me to select keyboard type, and to set the date and time.

I know that these can be set using:
 from a program or the console
  DATE$ = "DD-MM-YY"
  TIME$ = "HH:MM:SS"
 from the console only, and restarting the CMM2
  OPTION USBKEYBOARD nn
  where nn = UK, US, FR, DE, ES

I have also observed that the last program run displayed on the status bar is cleared, and assume that any other options/settings that I may have changed will have been reset too.

I'm not seeing the initial "setup" program ...  is that normal?

I have been doing so much messing around with the hardware, swapping Waveshares, and failing to identify a duff USB cable, that I had gotten used to seeing that little setup utility when I fired up the machine in a factory fresh state.  Paranoia makes me wonder if everything is working correctly, and I couldnt find the answer (probably because its so obvious) in the documentation.

Regards

Womble
 
Womble

Senior Member

Joined: 09/07/2020
Location: United Kingdom
Posts: 267
Posted: 12:19am 13 Aug 2020
Copy link to clipboard 
Print this post

Popping the battery out of its holder, or swapping the Waveshare board does run the little setup program.  Obviously this also resets any saved settings.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 02:08am 13 Aug 2020
Copy link to clipboard 
Print this post

Shorting pin 40 to ground will clear all saved options.
It will not re-run the first run setup. That is normal.
The saved options share the backup battery with the RTC which is why removing the battery also resets the options.

I keep files with all my options in them. One for each system.
That way I can quickly redo all options by dragging and dropping that file onto the MMUploader shortcut on my desktop.

This is one of them:
'onload com14:115200 command settime
OPTION USBKEYBOARD US

option ram

OPTION EDIT FONT medium
option rtc calibrate -1

option F12 "RUN "+chr$(34)+"A:/fm.bas"+chr$(34)+chr$(13)

option list


The extra blank lines allow time for the resets that happen with some option changes.
I need Windows for firmware updates so I drop the settings after every update, just in case.

Jim
VK7JH
MMedit
 
Womble

Senior Member

Joined: 09/07/2020
Location: United Kingdom
Posts: 267
Posted: 11:12am 13 Aug 2020
Copy link to clipboard 
Print this post

  TassyJim said  Shorting pin 40 to ground will clear all saved options.
It will not re-run the first run setup. That is normal.

Thanks for confirming that Jim.
 
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 2025