Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 19:16 03 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 : Introducing the Colour Maximite 2

     Page 21 of 25    
Author Message
GregZone
Senior Member

Joined: 22/05/2020
Location: New Zealand
Posts: 114
Posted: 04:11am 16 Jun 2020
Copy link to clipboard 
Print this post

  TassyJim said  So, start (or reset) the CMM2 without a card present.
The activity light should be on constantly.

Check. On constantly.

  TassyJim said  Inset the adapter without a card.
The activity light should flash briefly every second or so.
If that happens, the card present circuit is working.

Check. Card present is working.

  TassyJim said  Inset the card into the holder and the polling will stop and 'check disk' disappears.
If that doesn't happen, the problem is with one of the control/data lines rather than the card present switch.

Fail! I even tried a 4th SD Card (a microSD card in the Adapter I used above).

I've also thoroughly inspected all soldering again, and used some IPA to clean the header pins etc.

The SD holder joints all appear good, but I might reflow these with some fresh solder as well.

Then I think I might need to start on desoldering the 80-pin female headers to replace.  Only other option I can think of is soldering patch wires from PC10, PC11, PC12 on the Waveshare board directly to the SD Socket pins (to bypass the header connection). I suppose the other possibilities are: a. The Waveshare board I received has a fault on one of these pins.  b. There is a contact issue / fault in the SD Socket.
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1094
Posted: 04:14am 16 Jun 2020
Copy link to clipboard 
Print this post

Sorry

OPTION SD TIMING CONSERVATIVE

edit Totally confused........

Typed in above. OPTION LIST comes up with OPTION SD SPEED CONSERVATIVE

Have to type in TIMING.

Brian
Edited 2020-06-16 14:25 by Chopperp
ChopperP
 
GregZone
Senior Member

Joined: 22/05/2020
Location: New Zealand
Posts: 114
Posted: 04:26am 16 Jun 2020
Copy link to clipboard 
Print this post

  Chopperp said  I have to use :-

OPTION SD SPEED CONSERVATIVE

to get mine to read the cards reliably.

Thanks. I tried:
OPTION SD TIMING CONSERVATIVE

The CMM2 screen blanked and came back (restarted?).

But... no joy. Same "Check Disk" / brief flashing red LED.

I'm also curious about whether the OPTION settings are actually taking effect.

eg. If I do:
OPTION USBKEYBOARD US

Then (after the screen blank / restart), I check:
> OPTION LIST
OPTION DISPLAY 50,100
OPTION USBKEYBOARD UK
CURRENT VGA mode 800x600 RGB332
>

ie. It doesn't appear that the US Keyboard option actually took effect?

Also, there is no other OPTION listed by the LIST command!
ie. Like the "OPTION SD SPEED CONSERVATIVE" you indicated appears on your OPTION LIST response?

This is doing my head in! LOL
Edited 2020-06-16 14:30 by GregZone
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1094
Posted: 04:32am 16 Jun 2020
Copy link to clipboard 
Print this post

The screen will go blank for the SD TIMING & comes up with the command prompt when the OPTION takes effect.

option list
OPTION DISPLAY 50,100
OPTION USBKEYBOARD US
OPTION SD SPEED CONSERVATIVE
OPTION RTC CALIBRATE -100
CURRENT VGA mode 800x600 RGB332

Mine does anyway
Edited 2020-06-16 14:36 by Chopperp
ChopperP
 
GregZone
Senior Member

Joined: 22/05/2020
Location: New Zealand
Posts: 114
Posted: 04:36am 16 Jun 2020
Copy link to clipboard 
Print this post

  Chopperp said  The screen will go blank for the SD TIMING & comes up with the command prompt when the OPTION takes effect.

Mine does anyway

Thanks. At least that confirms that part is normal.

But, note I edited my post above noting that the OPTION changes don't appear to be retained / taking effect (based on the subsequent OPTION LIST).

What might this indicate?
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1094
Posted: 04:40am 16 Jun 2020
Copy link to clipboard 
Print this post

Have you tried setting the keyboard to US to see if that takes?

OPTION USBKEYBOARD US
ChopperP
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6266
Posted: 04:41am 16 Jun 2020
Copy link to clipboard 
Print this post

  GregZone said  

I'm also curious about whether the OPTION settings are actually taking effect.

This is doing my head in! LOL

Try
OPTION RESET
One of the firmware updates require a clean out of the OPTION storage.
After OPTION RESET, you can reset your keyboard and it should stick (provided your backup battery is working).
Whenever you unplug the Waveshare module, any settings are lost so that 'should' have done the same as OPTION RESET but it is worth a try.

Back to the SDcard.

The likely culprits are either a solder joint on the card holder or a faulty via in one of the lines.
With the Waveshare module removed, you should be ably to check for continuity from the header to the SDcard holder tags.
Because it worked once, it is going to be something like that rather than permanent faults.

Jim
VK7JH
MMedit
 
GregZone
Senior Member

Joined: 22/05/2020
Location: New Zealand
Posts: 114
Posted: 05:11am 16 Jun 2020
Copy link to clipboard 
Print this post

  TassyJim said  Try
OPTION RESET
One of the firmware updates require a clean out of the OPTION storage.
After OPTION RESET, you can reset your keyboard and it should stick (provided your backup battery is working).
Whenever you unplug the Waveshare module, any settings are lost so that 'should' have done the same as OPTION RESET but it is worth a try.

I've done an OPTION RESET before.
But here is the result of trying this sequence again:

> OPTION RESET
> OPTION LIST
OPTION DISPLAY 50,100
OPTION USBKEYBOARD UK
CURRENT VGA mode 800x600 RGB332
> OPTION USBKEYBOARD US
> OPTION LIST
OPTION DISPLAY 50,100
OPTION USBKEYBOARD UK
CURRENT VGA mode 800x600 RGB332
>

So this appears to confirm the OPTION's are not being retained?

  TassyJim said  Back to the SDcard.

The likely culprits are either a solder joint on the card holder or a faulty via in one of the lines.
With the Waveshare module removed, you should be ably to check for continuity from the header to the SDcard holder tags.

Okay, I've now confirmed continuity is good from the header pin sockets to the SDcard holder pins.  Re-inserted Waveshare board. No joy. :(

  TassyJim said  Because it worked once, it is going to be something like that rather than permanent faults.

Jim

Yes, a good observation! But so far I'm not making any sense of this.

Continuity all checking out good.  Magnified visual inspection all good.

But can't get rid of "Check Disk" error again.  And OPTIONS don't appear to be taking effect.

I think I need to take a break. :(
 
GregZone
Senior Member

Joined: 22/05/2020
Location: New Zealand
Posts: 114
Posted: 05:17am 16 Jun 2020
Copy link to clipboard 
Print this post

  TassyJim said  After OPTION RESET, you can reset your keyboard and it should stick (provided your backup battery is working).

Note, battery checks out Okay (2.983 volts), and the date / time is retained across power disconnects.  So, I don't believe there is any RTC backup power / retention issue.
 
KeepIS

Guru

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

You might try these also:
 
print MM.INFO$(SDCARD)

print PIN("BAT")

Just to see what mm basic reports on SD status and Backup battery voltage.

The fact that RTC is retained and Keyboard is not indicates a deeper problem, I'd be getting that to work first.

Have you reloaded the Firmware a second time just in case it's causing a problem?

Mike.
NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
GregZone
Senior Member

Joined: 22/05/2020
Location: New Zealand
Posts: 114
Posted: 05:48am 16 Jun 2020
Copy link to clipboard 
Print this post

  KeepIS said  You might try these also:
 
print MM.INFO$(SDCARD)

print PIN("BAT")

Just to see what mm basic reports on SD status and Backup battery voltage.

The fact that RTC is retained and Keyboard is not indicates a deeper problem, I'd be getting that to work first.

Have you reloaded the Firmware a second time just in case it's causing a problem?

Mike.

Here's the output:
> Colour Maximite 2
MMBasic Version 5.05.03b1j
Copyright 2011-2020 Geoff Graham
Copyright 2016-2020 Peter Mather

>
> print MM.INFO$(SDCARD)
Unused
> print PIN("BAT")
3.043442435
>

I have reloaded the firmware twice. First was the 5.05.02 version. Then, I tried again (ealier today) with the latest 5.05.03b1j (as can be seen above).

ps. I've searched for what "Unused" means, in relation to the SDCARD, but I haven't found anything explaining this?
Edited 2020-06-16 15:54 by GregZone
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6266
Posted: 06:00am 16 Jun 2020
Copy link to clipboard 
Print this post

Latest beta version is m
http://geoffg.net/Downloads/Maximite/CMM2_Beta.zip

With no SDcard and then with a card present should be:

  Quote  Colour Maximite 2
MMBasic Version 5.05.03b1m
Copyright 2011-2020 Geoff Graham
Copyright 2016-2020 Peter Mather

> print MM.INFO$(SDCARD)
Not present
> print MM.INFO$(SDCARD)
Ready
>


You might have to wait for Peter to wake up to give his opinion on "Unused"

This probably should be on the Bugs thread instead of here.

Jim
VK7JH
MMedit
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1094
Posted: 06:01am 16 Jun 2020
Copy link to clipboard 
Print this post

We are up to b1m
here

Jim beat me to it
Edited 2020-06-16 16:02 by Chopperp
ChopperP
 
KeepIS

Guru

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

Unused once mean not allocated, as in, no pins allocated and free for use. Something really strange going on there.

Like the others I'm also running 1m version.
NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
GregZone
Senior Member

Joined: 22/05/2020
Location: New Zealand
Posts: 114
Posted: 06:36am 16 Jun 2020
Copy link to clipboard 
Print this post

I've now reloaded with latest b1m firmware.

Results as below. ie. OPTION changes are not retained. SDCard still "Check Disk", correctly showing "Not present" when ejected, but "Unused" when inserted.
 
> Colour Maximite 2
MMBasic Version 5.05.03b1m
Copyright 2011-2020 Geoff Graham
Copyright 2016-2020 Peter Mather

> OPTION RESET
> OPTION LIST
OPTION DISPLAY 50,100
OPTION USBKEYBOARD UK
CURRENT VGA mode 800x600 RGB332
> OPTION USBKEYBOARD US
> OPTION LIST
OPTION DISPLAY 50,100
OPTION USBKEYBOARD UK
CURRENT VGA mode 800x600 RGB332
> print MM.INFO$(SDCARD)
Not present
> print MM.INFO$(SDCARD)                                                        
Unused
>

ps. @TassyJim I didn't post in Bugs thread as I'm assuming this is not a Bug as such, just a call for some advice on my potentially faulty CMM2 that I just received. I've also assumed that a whole new topic thread wasn't appropriate?
 
TassyJim

Guru

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

Next step.
Remove the RTC battery.
Turn everything off and give it a few minutes.
Leave the battery out for now.
Put the Battery jumper on the waveshare board. Its the one closest to the power switch (front right looking from the front).

When you start up, you should get the request to select your keyboard and set the time.

See what happens with the OPTIONs. Reset using the reset button on the waveshare board while keeping power on.

Jim
VK7JH
MMedit
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10189
Posted: 07:08am 16 Jun 2020
Copy link to clipboard 
Print this post

Unused means the SDcard is physically plugged (CD is valid) in but hasn't yet been accessed.

One issue that is documented in the construction manual relates to the soldering of the SDcard socket. If the back of the socket is not held tightly to the PCB when soldered it is possible that it may not sit tight to the board. In this case the connections look fine but there isn't sufficient downward pressure on the card when inserted to contact with the connectors.

I found this when re-using a card slot on a new PCB. I hadn't cleaned off the case tabs sufficiently and the SD card didn't work. I reheated the tabs one at a time while pressing down on the socket and voila it worked.
Edited 2020-06-16 17:23 by matherp
 
TassyJim

Guru

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

  matherp said  Unused means the SDcard is physically plugged (CD is valid) in but hasn't yet been accessed


I got "unused" when I removed the power lead to my breadboard setup.

reconnect the VCC lead any "Ready"

Same thing happens when I disconnect the Clock lead.

There is one of the tracks not getting where it belongs or a faulty card holder.

I would try resoldering the card holder pins next.

Jim
VK7JH
MMedit
 
GregZone
Senior Member

Joined: 22/05/2020
Location: New Zealand
Posts: 114
Posted: 08:08am 16 Jun 2020
Copy link to clipboard 
Print this post

Okay. I've now done all that was suggested in prior posts.

- Battery removed (and power removed for several minutes)
- VBat Jumper added to Waveshare board

No change to symptoms.

- SDCard holder resoldered and check to be flat / flush with PCB (already was).
- Any other possible suspect joints resoldered.

No change to symptoms.

One final note.  See below log, which interestingly shows the original power-up US keyboard selection retained.  But after another OPTION setting (SD TIMING), the OPTION LIST shows the Keyboard reverted to UK !!!  WTF?

Colour Maximite 2
MMBasic Version 5.05.03b1m
Copyright 2011-2020 Geoff Graham
Copyright 2016-2020 Peter Mather

Initial setup - all parameters can be changed later
Keyboard type: 1=UK, 2=US, 3=DE ? 2
Enter time (24hr clock) HH:MM:SS ? 20:00:30
Colour Maximite 2YY ? 16/06/20
MMBasic Version 5.05.03b1m
Copyright 2011-2020 Geoff Graham
Copyright 2016-2020 Peter Mather

> option list
OPTION DISPLAY 50,100
OPTION USBKEYBOARD US
CURRENT VGA mode 800x600 RGB332
> option sd timing conservative
> option list
OPTION DISPLAY 50,100
OPTION USBKEYBOARD UK
CURRENT VGA mode 800x600 RGB332
>
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10189
Posted: 08:19am 16 Jun 2020
Copy link to clipboard 
Print this post

Sounds like you have a faulty board or that there is some sort of issue with the battery supply.

I think the SDcard issue is a symptom of a greater malaise. The underlying issue is that the unit is not storing options correctly. Options are stored in a bit of battery backed RAM in the RTC. If this isn't working then it is unlikely that the unit can be used successfully. If it was my board my next step would be to use a heat gun on the processor chip until all the solder melts and ensure that all the pin connections are good. I would then repeat on the RTC and processor crystals and caps and the SDRAM.

Just to confirm, you have removed all jumpers from the Waveshare? Where did you buy the motherboard and Waveshare? Perhaps the vendor can help
 
     Page 21 of 25    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025