Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:55 02 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 OPTION BUG

     Page 1 of 2    
Author Message
frnno967
Senior Member

Joined: 02/10/2020
Location: United States
Posts: 104
Posted: 09:01pm 11 Oct 2020
Copy link to clipboard 
Print this post

About 50% of the time when I type OPTION CONSOLE SAVE the CMM2 reboots and enters initial setup mode and loses all of my settings. At first a low battery was suspected but I measured it with a multimeter and it's strong at 2.95V. Other times it enters initial setup mode when I first power on.

Could this be a bug?

I'm running 5.05.05

Thanks
Jay Crutti: Ham Radio Operator, K5JCJ. Computer Enthusiast. Musician. Engineer.
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 09:15pm 11 Oct 2020
Copy link to clipboard 
Print this post

Do you have anything connected to pin 40? If on startup the system thinks pin 40 is low it will reset OPTIONS.
Micromites and Maximites! - Beginning Maximite
 
frnno967
Senior Member

Joined: 02/10/2020
Location: United States
Posts: 104
Posted: 09:16pm 11 Oct 2020
Copy link to clipboard 
Print this post

  CircuitGizmos said  Do you have anything connected to pin 40? If on startup the system thinks pin 40 is low it will reset OPTIONS.


Nope, pin 40 is disconnected. The only connections I have going to the expansion port are the RS232 circuit described in the manual, connected to COM2.


Edited 2020-10-12 07:18 by frnno967
Jay Crutti: Ham Radio Operator, K5JCJ. Computer Enthusiast. Musician. Engineer.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 09:22pm 11 Oct 2020
Copy link to clipboard 
Print this post

By "Initial setup mode" do you mean that it asks you to set the date and time or do you just loose your saved options?
VK7JH
MMedit
 
frnno967
Senior Member

Joined: 02/10/2020
Location: United States
Posts: 104
Posted: 09:27pm 11 Oct 2020
Copy link to clipboard 
Print this post

  TassyJim said  By "Initial setup mode" do you mean that it asks you to set the date and time or do you just loose your saved options?


The prompts asking for my keyboard region (UK, US, etc,.), the time then date. And all options that I usually change like repeat rate, disabling the serial console, etc, are  reset to defaults.
Jay Crutti: Ham Radio Operator, K5JCJ. Computer Enthusiast. Musician. Engineer.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 09:34pm 11 Oct 2020
Copy link to clipboard 
Print this post

Replace the battery - almost certainly the issue. If you have a Waveshare based system make sure all the jumpers are removed
Edited 2020-10-12 07:35 by matherp
 
frnno967
Senior Member

Joined: 02/10/2020
Location: United States
Posts: 104
Posted: 10:17pm 11 Oct 2020
Copy link to clipboard 
Print this post

  matherp said  Replace the battery - almost certainly the issue. If you have a Waveshare based system make sure all the jumpers are removed





What's strange about it though is that it hasn't actually lost the settings.

I just noticed that if I power cycle it instead of entering the requested information,  on subsequent reboot it will still have the previous time, date, and options remembered from before. It's like the routine that checks for the RTC and OPTION ram info is failing sometimes.

But I'll start with the battery and report back. I have the SMD version.
Edited 2020-10-12 08:19 by frnno967
Jay Crutti: Ham Radio Operator, K5JCJ. Computer Enthusiast. Musician. Engineer.
 
frnno967
Senior Member

Joined: 02/10/2020
Location: United States
Posts: 104
Posted: 10:37pm 11 Oct 2020
Copy link to clipboard 
Print this post

If it helps at all, here's a video of the "bug" in action. Going to buy a battery now.

https://photos.app.goo.gl/dVsmZG9enZv9cwpp8
Jay Crutti: Ham Radio Operator, K5JCJ. Computer Enthusiast. Musician. Engineer.
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 490
Posted: 11:14pm 11 Oct 2020
Copy link to clipboard 
Print this post

  frnno967 said  If it helps at all, here's a video of the "bug" in action. Going to buy a battery now.

https://photos.app.goo.gl/dVsmZG9enZv9cwpp8

I posted on another post about power supplies.  Was getting that same fault as well when I had it on a finicky fluctuating powered USB hub.  I switched to a good USB charger and have never had it happen again. Just another thing to try.
 
frnno967
Senior Member

Joined: 02/10/2020
Location: United States
Posts: 104
Posted: 11:23pm 11 Oct 2020
Copy link to clipboard 
Print this post

  mclout999 said  
I posted on another post about power supplies.  Was getting that same fault as well when I had it on a finicky fluctuating powered USB hub.  I switched to a good USB charger and have never had it happen again. Just another thing to try.





That was it!! Thanks man, much appreciated! Changing the battery didn't fix it, but a different USB power supply did.
Edited 2020-10-12 09:24 by frnno967
Jay Crutti: Ham Radio Operator, K5JCJ. Computer Enthusiast. Musician. Engineer.
 
frnno967
Senior Member

Joined: 02/10/2020
Location: United States
Posts: 104
Posted: 01:20am 12 Oct 2020
Copy link to clipboard 
Print this post

Seems I declared victory too quickly. It's still happening. It worked for an hour then after that it went back to the previous behavior. I've replaced the battery and tried 5 different power adapters.

Jay Crutti: Ham Radio Operator, K5JCJ. Computer Enthusiast. Musician. Engineer.
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 490
Posted: 02:04am 12 Oct 2020
Copy link to clipboard 
Print this post

  frnno967 said  Seems I declared victory too quickly. It's still happening. It worked for an hour then after that it went back to the previous behavior. I've replaced the battery and tried 5 different power adapters.
So sorry, I was glad that I had helped. I hope you figure it out. EDIT: you said that you had a serial circuit on the GPIO right maybe for a moment take it off.  Could it be causing a drain or fluxuaton on the power of the system?  I really am just spitballing to figure what this could be.
Edited 2020-10-12 12:10 by mclout999
 
frnno967
Senior Member

Joined: 02/10/2020
Location: United States
Posts: 104
Posted: 02:23am 12 Oct 2020
Copy link to clipboard 
Print this post

  mclout999 said   you said that you had a serial circuit on the GPIO right maybe for a moment take it off.  Could it be causing a drain or fluxuaton on the power of the system?


Yeah, that was the first thing I tried. It's so frustrating for what is an otherwise awesome experience.
Edited 2020-10-12 12:24 by frnno967
Jay Crutti: Ham Radio Operator, K5JCJ. Computer Enthusiast. Musician. Engineer.
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 490
Posted: 02:43am 12 Oct 2020
Copy link to clipboard 
Print this post

  frnno967 said  
  mclout999 said   you said that you had a serial circuit on the GPIO right maybe for a moment take it off.  Could it be causing a drain or fluxuaton on the power of the system?


Yeah, that was the first thing I tried. It's so frustrating for what is an otherwise awesome experience.
I know how that feels. I was pulling my hair out before I figured out it was the power source.  If anything else hits me I will tell you.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 07:02am 12 Oct 2020
Copy link to clipboard 
Print this post

What options do you have set - please post a screenshot of OPTION LIST
 
frnno967
Senior Member

Joined: 02/10/2020
Location: United States
Posts: 104
Posted: 12:56pm 12 Oct 2020
Copy link to clipboard 
Print this post


Jay Crutti: Ham Radio Operator, K5JCJ. Computer Enthusiast. Musician. Engineer.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 01:02pm 12 Oct 2020
Copy link to clipboard 
Print this post

What version are your running? Try setting the keyboard repeat to >25. There was a bug in some earlier versions with this
 
frnno967
Senior Member

Joined: 02/10/2020
Location: United States
Posts: 104
Posted: 01:55pm 12 Oct 2020
Copy link to clipboard 
Print this post

  matherp said  What version are your running? Try setting the keyboard repeat to >25. There was a bug in some earlier versions with this




Jay Crutti: Ham Radio Operator, K5JCJ. Computer Enthusiast. Musician. Engineer.
 
frnno967
Senior Member

Joined: 02/10/2020
Location: United States
Posts: 104
Posted: 01:43am 14 Oct 2020
Copy link to clipboard 
Print this post

Are there any other troubleshooting steps I can take?
Jay Crutti: Ham Radio Operator, K5JCJ. Computer Enthusiast. Musician. Engineer.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 09:15am 14 Oct 2020
Copy link to clipboard 
Print this post

Load the latest version on the end of this thread  and see if the problem still happens. If it does then there is an electrical issue somewhere. The firmware checks the option area for valid data and only enters the initialisation sequence if it finds the option date invalid.
As long as the battery is OK it should always be valid after the first time. Which board are you using? Waveshare or all-in-one? Who made it?
To be pedantic, only set the keyboard type you are using and the time, don't change any other options and see it the issue still occurs
 
     Page 1 of 2    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025