![]() |
Forum Index : Microcontroller and PC projects : CMM2: IO Pin40 Reset ... what should happen?
Author | Message | ||||
Womble![]() Senior Member ![]() Joined: 09/07/2020 Location: United KingdomPosts: 267 |
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 KingdomPosts: 267 |
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: AustraliaPosts: 6283 |
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 KingdomPosts: 267 |
Thanks for confirming that Jim. |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |