Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 19:15 05 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 : Maximite Commands Failure

Author Message
Gdavid
Newbie

Joined: 13/11/2016
Location: Australia
Posts: 4
Posted: 10:40pm 14 Nov 2016
Copy link to clipboard 
Print this post

Hi

I'm new to the forum and thanks to Glenn for the welcome.

I have retrieved my Colour Maximite from the archives after about 2-3 years; installed MMBASIC 4.5 and set up TERATERM for my laptop - checked baud rate, Com port, screen size.

My apologies if this is a blast from the past but the CMM is adequate for the tasks in hand.

My MMBASIC skills are at newbie level but the CMM was working previously.

The problem is that apart from some print commands and maths functions no other MMBasic commands are working.

I can't change directory or list with FILES message; can't find DRIVE or SD card.

Failing commands produce error messages; syntax errors; unrecognised command.

Could anyone help with suggestions or is the micro likely to be in a terminal condition? Your help would be appreciated.

G'david
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4034
Posted: 11:02pm 14 Nov 2016
Copy link to clipboard 
Print this post

I guess it's fine. Don't be too concerned and definitely don't give up at this stage.

Exactly which file did you install?

Then, show the output when it boots and commands you type with their output. Right now we know next to nothing despite quite a long post...

JohnEdited by JohnS 2016-11-16
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 982
Posted: 11:53pm 14 Nov 2016
Copy link to clipboard 
Print this post

G'david, it seems from my interpretation that you are trying to execute basic commands from the command prompt. You may need to type EDIT to establish a programming environment.

GM
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1114
Posted: 12:21am 15 Nov 2016
Copy link to clipboard 
Print this post

G'david,
As John said, what is the power on/reset message? If this is the standard message (can't remember exact wording but should include Maximite and the version number) then MMBasic is probably working ok so you need to look at possible external factors. Using MMEdit, write a simple loop program like

10 for x=1 to 50
20 print x
30 next x

download to the Maximite and enter RUN

If this spews out 50 lines with numbers from 1 to 50 then MMBasic is definately ok.
So, next step, pull out you 4.5 manual and read! ☺☺
Good luck but give us some more detail with any program you are trying to run - I am sure someone here can assist you,
Doug.

... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 09:53am 15 Nov 2016
Copy link to clipboard 
Print this post

If you are having problem with the CMM itself, the first thing to check is C10 and the soldering associated with it.

As far as the CD card, check the soldering around it too and try a different card.
Worry about that once you are satisfied that the rest is working.

Although the CMM hasn't changed, has your PC changed to a different version of Windows. You might need to reload the driver.
"Syntax errors and unrecognised commands" looks like a comms error (if you are using the correct MMBasic manual).

Jim

VK7JH
MMedit
 
Gdavid
Newbie

Joined: 13/11/2016
Location: Australia
Posts: 4
Posted: 03:38am 22 Nov 2016
Copy link to clipboard 
Print this post

Thanks for the helpful suggestions. Problems are far from resolved but some progress has been made.

To make sure the problem wasn't with serial driver, terminal emulation and USB I tested the CMM with a VGA screen and PS2 keyboard. There was no difference with this arrangement.

I also realised that I had forgotten the basics re needing the PRINT command to display some material on screen. I can now use the Predefined Read Only Variable commands (P23) and Function commands (P46-53)

Panky's suggested program works

PRINT HEX$ 72 returns 48
PRINT MM.VER returns 4.05 (sic)
FILES returns files and directories in B:\ - suggests SD card is working
FILES "B:\COLOUR~1' lists files in this directory

I haven't managed to access files in A:

EDIT "B:\COLOUR~1\JULIA.BAS" lists program on screen (a fractal drawing program)
F2:RUN returns - Error: Cannot access the SD card

> RUN "B:\TEST.BAS"
Error: Cannot find file

CIRCLE (100, 100), 50, CYAN moves to '>'

> LOAD "HELLO.BAS"
Error: Cannot find file
> LOAD "b:\HELLO.BAS"
Error: Cannot find file

Though I am succeeding in getting a few commands to work most won't and I find syntax directions often confusing.

I haven't yet tackled my soldering

Any suggestions?

David
 
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 05:06am 22 Nov 2016
Copy link to clipboard 
Print this post

It's a long while since I played with a Maximite. However, I seem to recall some of the file names were case sensitive. Try typing the file names in lower case. Many of the commands do not support using a drive letter. Change to the drive using the DRIVE command. Look very carefully at the structure of each command in the manual.

Try
[code]drive "B:"
load "hello.bas"[/code]
 
Gdavid
Newbie

Joined: 13/11/2016
Location: Australia
Posts: 4
Posted: 04:04pm 22 Nov 2016
Copy link to clipboard 
Print this post

Bob

I appear to be able to change to A: using DRIVE but can't list files with FILES

> DRIVE "A:"
> FILES
A:\
0 files, 167116 bytes free

> PRINT MM.DRIVE$
A:

I can return to B: and list files with FILES

> DRIVE "B:": FILES
B:\
<DIR> 2012-0~1
<DIR> ANDROI~1
<DIR> COLOUR~1
<DIR> DCIM etc

Case doesn't vary operation of the LOAD command

> drive "B:": LOAD "hello.bas"
Error: Cannot find file
> drive "b:": load "HELLO.BAS"
Error: Cannot find file
> LOAD "B:\HELLO.BAS"
Error: Cannot find file
>

Thanks for your suggestions

David
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4034
Posted: 09:35pm 22 Nov 2016
Copy link to clipboard 
Print this post

That looks like you have an empty A: and a B: that's reused from somewhere (and has no BAS files?).

So, looks working.

When you used EDIT it also sounds like it was working. Try a simple short program (count to 10 or whatever).

I don't know if the version of mmbasic you have needs line numbers - early ones do (standard for BASIC).

JohnEdited by JohnS 2016-11-24
 
Gdavid
Newbie

Joined: 13/11/2016
Location: Australia
Posts: 4
Posted: 10:50pm 22 Nov 2016
Copy link to clipboard 
Print this post

John

I agree but if there were no files in A: drive MMBasic shouldn't run at all. Autorun.bas would be missing????

Line numbers are optional but in command prompt mode allow a sequence of command on separate lines to be run with return

I am currently reloading MMBasic as some BAS files in B: seem to be working and it may be that HELLO.BAS is corrupt.

David
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4034
Posted: 10:56pm 22 Nov 2016
Copy link to clipboard 
Print this post

As I recall AUTORUN.BAS is optional :)

MMBASIC lives in the flash and just runs from there when the CPU is reset. If it can't find autorun it prompts (with '>').

JohnEdited by JohnS 2016-11-24
 
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