Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:42 04 Jul 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: Bug reports

     Page 10 of 17    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10194
Posted: 06:34pm 16 Jun 2020
Copy link to clipboard 
Print this post

  Quote  Option for US keyboard reverts to UK both from the selection of the initial power-on message and also if OPTION USBKEYBOARD US is used.


Not if there is a battery - just tested. Are you updating from <RC36?
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 06:36pm 16 Jun 2020
Copy link to clipboard 
Print this post

  matherp said  
  Quote  Option for US keyboard reverts to UK both from the selection of the initial power-on message and also if OPTION USBKEYBOARD US is used.


Not if there is a battery - just tested. Are you updating from <RC36?


This is a brand new board. Only ever programmed with V5.05.03b1n. Battery is at 3.08V.

Same results if I insert battery prior to powering on, or after the prompting.
Micromites and Maximites! - Beginning Maximite
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 06:42pm 16 Jun 2020
Copy link to clipboard 
Print this post

I do OPTION LIST and get:

OPTION USBKEYBOARD UK

With battery still in, I type:

OPTION USBKEYBOARD US

After the reset, I type OPTION LIST and get:

OPTION USBKEYBOARD UK


It is a Y processor, if that matters.
Edited 2020-06-17 04:44 by CircuitGizmos
Micromites and Maximites! - Beginning Maximite
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10194
Posted: 06:48pm 16 Jun 2020
Copy link to clipboard 
Print this post

Just done the following (thrice on three different Waveshare, 2 V and one Y):

full chip erase
remove battery
power off - should now be a virgin chip
power on
load firmware as per manual
power off
power on
first use dialogue - set US keyboard
install battery
power off
wait 1 minute
short 3.3 rail to gnd
power on
check option - US keyboard set

I'm pretty confident there is no firmware issue but you and your clients seem to be having issues, bad batch of batteries? bad battery holders? must be some common cause
Edited 2020-06-17 05:05 by matherp
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 07:03pm 16 Jun 2020
Copy link to clipboard 
Print this post

Even more odd, after I use the up-arrow to get the last command, the screen progresses as if the enter were being typed a couple times per second.

I'm going to re wash this board and let it bake dry.
Micromites and Maximites! - Beginning Maximite
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6266
Posted: 10:42pm 16 Jun 2020
Copy link to clipboard 
Print this post

  CircuitGizmos said  I do OPTION LIST and get:

OPTION USBKEYBOARD UK

With battery still in, I type:

OPTION USBKEYBOARD US

After the reset, I type OPTION LIST and get:

OPTION USBKEYBOARD UK


It is a Y processor, if that matters.


Just tried on my Y and V boards and everything worked as is should.

Try programming the board with an earlier version of the firmware.

Jim
Edited 2020-06-17 08:44 by TassyJim
VK7JH
MMedit
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1865
Posted: 11:05pm 16 Jun 2020
Copy link to clipboard 
Print this post

Same here, everything works as it should, along with Keyboard History (up/down arrow)

Jim, just out of curiosity, do you know what the difference is between the Y and V CPU?

Mike.
NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6266
Posted: 12:19am 17 Jun 2020
Copy link to clipboard 
Print this post

  KeepIS said  
Jim, just out of curiosity, do you know what the difference is between the Y and V CPU?

Mike.

The V chip is the newer of the two. I know, my alphabet has V before Y but who knows?

The V chip is slightly faster but the main difference were a few bug fixes. These bug fixes caught us out during the development. I had a V and Peter only had Y chips so there was a lot of trawling through the manuals and errata and test versions trying to sort out some strange bugs.
The way the drive level for the RTC oscillator was set was back to front.
and a few other odd differences.

Now we know all(?) the differences and how to allow for them in the firmware, there is no practical difference for end users.

There is always a chance that we will find another gotcha which is why Peter needs to know what revision of the chip is in use.

I am really looking forward to the next chip revision!

Jim
VK7JH
MMedit
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1865
Posted: 12:46am 17 Jun 2020
Copy link to clipboard 
Print this post

Thanks Jim - great info and nice to know  

Mike.
NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1865
Posted: 03:54am 17 Jun 2020
Copy link to clipboard 
Print this post

A question for Peter, apology if this has been mentioned before. It concerns the key repeat rate of the USB keyboard. I assume this is under software control in MM firmware, and if so, is there any way to speed this up, that slow repeat rate sure makes writing & editing a bit tiresome at the moment
NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
MauroXavier
Guru

Joined: 06/03/2016
Location: Brazil
Posts: 303
Posted: 11:31am 17 Jun 2020
Copy link to clipboard 
Print this post

  KeepIS said  A question for Peter, apology if this has been mentioned before. It concerns the key repeat rate of the USB keyboard. I assume this is under software control in MM firmware, and if so, is there any way to speed this up, that slow repeat rate sure makes writing & editing a bit tiresome at the moment


I develop my programs always using the internal editor of CMM2 and I agree about a option to control the repeat rate of the keyboard. Even with OPTION CONSOLE SCREEN, if I can have a option to speed up the rate will be very welcome.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10194
Posted: 11:41am 17 Jun 2020
Copy link to clipboard 
Print this post

Check the main thread - already done
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 02:38pm 17 Jun 2020
Copy link to clipboard 
Print this post

  TassyJim said  
  CircuitGizmos said  I do OPTION LIST and get:

OPTION USBKEYBOARD UK

With battery still in, I type:

OPTION USBKEYBOARD US

After the reset, I type OPTION LIST and get:

OPTION USBKEYBOARD UK


It is a Y processor, if that matters.


Just tried on my Y and V boards and everything worked as is should.

Try programming the board with an earlier version of the firmware.

Jim


Thank you for trying that, too. I've had various odd problems and that is why I decided to rewash and bake the boards. This design might be sensitive to something, so I just need to eliminate everything I can.

When I get a chance to rewash and bake I'll test all of this again.
Micromites and Maximites! - Beginning Maximite
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10194
Posted: 03:33pm 17 Jun 2020
Copy link to clipboard 
Print this post

  Quote  When I get a chance to rewash and bake I'll test all of this again.


I know that it is commonly done but the only people I know who have had these sorts of problems are you and WhiteWizzard - common factor you both wash boards.

I only ever clean with a solvent based flux remover and have never had a board hasn't worked (except when I put the wrong components in the wrong place), never had a board that needed OPTION SD TIMING CONSERVATIVE and certainly never seen issues with OPTIONS being lost.

Perhaps the water is somehow impacting the vias or leaving a residue creating some stray capacitance or resistance
Edited 2020-06-18 01:36 by matherp
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 06:34pm 17 Jun 2020
Copy link to clipboard 
Print this post

Correct me if I'm wrong, but with no battery shouldn't the setting survive the reboot?

Power up w/o battery.
Enter 2 for US, + time/date

- system reboots -

OPTION LIST shows UK keyboard.
Micromites and Maximites! - Beginning Maximite
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10194
Posted: 07:04pm 17 Jun 2020
Copy link to clipboard 
Print this post

  Quote  Correct me if I'm wrong, but with no battery shouldn't the setting survive the reboot?


No: all settings are stored in a battery backed area in the RTC domain on the chip. Without the battery there is no power to that RAM
Edited 2020-06-18 05:05 by matherp
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 07:09pm 17 Jun 2020
Copy link to clipboard 
Print this post

  matherp said  
  Quote  Correct me if I'm wrong, but with no battery shouldn't the setting survive the reboot?


No: all settings are stored in a battery backed area in the RTC domain on the chip. Without the battery there is no power to that RAM


I see. I would have thought that the battery is the backup source for that RAM, not the only source.
Micromites and Maximites! - Beginning Maximite
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 07:55pm 17 Jun 2020
Copy link to clipboard 
Print this post

I built a board and cleaned only with solvent. The battery-RAM settings are not maintained.

I assume that you have some sort of checksum over that 2k of RAM to see that on powerup the settings are not valid. If the checksum fails, you go on to the keyboard/time/date message.

If you detect that the RAM is "not formatted", would you be able to do a walking ones test to test that RAM? At this point the only thing that I can suspect is that the processor chip (rev Y) that JLC is stuffing has bad internal RAM.
Micromites and Maximites! - Beginning Maximite
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1127
Posted: 08:30pm 17 Jun 2020
Copy link to clipboard 
Print this post

  CircuitGizmos said  Even more odd, after I use the up-arrow to get the last command, the screen progresses as if the enter were being typed a couple times per second
I have had a similar auto-repeating [ENTER] key in the past too, although only after using the CTRL-W command in the editor. (Circuit Gizmo Waveshare version.) No problems with a random micro-sd card in an adapter though.

====================
Not a bug but it seems to me that the [PAGE-UP] and [PAGE-DOWN] keys move the cursor too far. If you are a number of pages down a long program and you are arrowing down at the bottom of the screen, [PAGE-UP] takes you 98 lines up. Getting to the top of the page you are on takes ages with the relatively slow repeat rate.

Could [PAGE-UP] take you on first press to the top of the current page, then a page at a time for subsequent presses? Or possibly even just half a page at a time given that a page is almost 50 lines? And having the cursor centered vertically on the screen (if possible) after a page up or down would be icing on the cake. Just a thought.
Visit Vegipete's *Mite Library for cool programs.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10194
Posted: 09:39pm 17 Jun 2020
Copy link to clipboard 
Print this post

  Quote   At this point the only thing that I can suspect is that the processor chip (rev Y) that JLC is stuffing has bad internal RAM.


Send me a "bad" board and I'll test. Can't see a better solution. Email me direct and I'll let you have my address

  Quote  I have had a similar auto-repeating [ENTER] key in the past too, although only after using the CTRL-W command in the editor. (Circuit Gizmo Waveshare version.) No problems with a random micro-sd card in an adapter though.


Completely unrelated, should be fixed in latest releases?
Edited 2020-06-18 07:40 by matherp
 
     Page 10 of 17    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025