Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:11 01 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 : MM+64 Problems

Author Message
Chrisk

Senior Member

Joined: 21/12/2014
Location: Australia
Posts: 122
Posted: 10:59pm 07 Nov 2017
Copy link to clipboard 
Print this post

Hi all
Purchased a constructed MM+ 64 but I am having a few problems.
For one when I connect using Tera Term I don’t get the "Geoff G......" preamble.
All I get is a square block cursor until I hit the return key, then I get the ">" prompt.
Is this correct?
With my CMM I could load and view files that were in the PIC using MMedit.
I am unable to do anything unless the micro SD card is inserted.
Can someone offer an explanation?
Where am I going wrong.
I thought I could reload the micromite, can this be done in the same manner as for the CMM via the USB as I don't have a Pickit3.
Appears not.

Any suggestions?

Thanks
Chris K
 
goc30

Guru

Joined: 12/04/2017
Location: France
Posts: 435
Posted: 03:39am 08 Nov 2017
Copy link to clipboard 
Print this post

hi
pb can be from power or ground (connexions or level 3.3v). look at this
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 02:28pm 08 Nov 2017
Copy link to clipboard 
Print this post

Hi there.

Missing the startup banner is normal for the E64, as it uses the PIC32's onboard USB connection, and by the time this has initialized, most of the startup message has been sent to the serial port, and it is missed. This is not a fault, rather just one of a few quirks with the onboard USB and one of the reasons why the members came up with that superb 1455 USB interface/ICSP chip. This is not present on the E64 though, sorry.

You can use an EXTERNAL USB-Serial adaptor such as a CP2102 and if you connect to that first, then press the reset button, you will see the whole startup message.

By default, the E64 ships WITHOUT the SD card socket configured, as people may want to use it's pins for something else, and enabling the SD card by default would cause problems, so you need to enable and configure the SD card using OPTION SDCARD 12,14 at the command prompt - you perhaps have already done that.

The CMM and the E64 are different beasts, and as such, comparing one to the other is a LITTLE like compariing apples and oranges, as the CMM MMBASIC is vastly different to the newer E64 MMBASIC.

Having said that, the E64 is like the CMM in that the last program you loaded into memory, will remain there after power off/on. You must manually load new programs at the console(safest) or you can use MMEDIT's little blue running-man icon, to download and run a code from MMEDIT to the E64. Personally, I still prefer XMODEM for my transfers, but this is more of a personal thing.

Updating the firmware on the E64 currently requires the use of a PK3 and the Microchip IPE. All newer version of the the MM series incorporate the lovely 1455 USB interface chip on them so that you CAN re-program the firmware via USB as you used to do with the CMM. The E28, E100 and MMX(extreme) PCB's currently support this out of the box, but the 1455 USB interface chip came along after the E64 was developed, and so does not have that ability. It is something I plan to do(update the E64 so it has a 1455 chip on-board), but I have not been able to find the time....
Smoke makes things work. When the smoke gets out, it stops!
 
erbp
Senior Member

Joined: 03/05/2016
Location: Australia
Posts: 195
Posted: 05:30pm 08 Nov 2017
Copy link to clipboard 
Print this post

  Grogster said  
Updating the firmware on the E64 currently requires the use of a PK3 and the Microchip IPE.


With respect to Grogs, that is not entirely true. You can use the Microbridge developed by Geoff and described in Silicon Chip magazine - May 2017 issue. it essentially adds the 1455 interface as a standalone module, which you can connect to the ICSP pins on the E64 (or any other Mites that you have that don't include the 1455 interface!). Makes updating firmware a breeze - and a lot cheaper that a PK3 too!

It can also double as a USB Console connection if you connect to the Console Tx/Rx pins on the target Mite.

Cheers,
Phil.
 
Chrisk

Senior Member

Joined: 21/12/2014
Location: Australia
Posts: 122
Posted: 07:11pm 08 Nov 2017
Copy link to clipboard 
Print this post

Thanks guys
Good to know it not a fault but a "facility". Saves me chasing around for something that doesn't exist.
I will have a look at the issue of Silicon Chip for the 1455 interface just for interest.

How does one implement the instruction MM.VER - within the program?

Regards,
Chris K
 
Chrisk

Senior Member

Joined: 21/12/2014
Location: Australia
Posts: 122
Posted: 08:01pm 08 Nov 2017
Copy link to clipboard 
Print this post

Hi Grogster
Tried out the instruction OPTION SDCARD 12,14 at the command prompt and I get the error message "Error: Pin 12 is reserved on startup"



Chris K
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 08:19pm 08 Nov 2017
Copy link to clipboard 
Print this post

@ erbp - Touche'

@ Chrisk - Type OPTION LIST at the command prompt, and see what it spits back at you. If you get a line that says OPTION SDCARD 12,14 then you have already configured the SD card, so it is moaning that you are trying to assign pins that have already been assigned(to the SD card!) again.
Smoke makes things work. When the smoke gets out, it stops!
 
erbp
Senior Member

Joined: 03/05/2016
Location: Australia
Posts: 195
Posted: 09:02pm 08 Nov 2017
Copy link to clipboard 
Print this post

  Chrisk said   How does one implement the instruction MM.VER - within the program?

MM.VER returns a float so you could do the following:

DIM FLOAT FWVer
FWVer = MM.Ver
PRINT FWVer


You could also simply do:

PRINT MM.Ver


Depends what you want to do with the value.

Cheers,
Phil.
 
Chrisk

Senior Member

Joined: 21/12/2014
Location: Australia
Posts: 122
Posted: 09:21pm 08 Nov 2017
Copy link to clipboard 
Print this post

Thanks Grogster
That was it.


In Tera Term what is the command to download a file from the SD card to my PC because strange things are happening when I use MMedit.

Chris K
 
Chrisk

Senior Member

Joined: 21/12/2014
Location: Australia
Posts: 122
Posted: 09:30pm 08 Nov 2017
Copy link to clipboard 
Print this post

And thanks to erbp.
Using this I found out that I have the latest version.

Chris K
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 01:07pm 09 Nov 2017
Copy link to clipboard 
Print this post

  Chrisk said  In Tera Term what is the command to download a file from the SD card to my PC because strange things are happening when I use MMedit.


I don't think that MMEDIT supports talking directly to the SD card as did the CMM.
Again, different beasts.
To transfer a file from the SD card on the E64 to the PC, you need to load the file into the E64 from the SD card first, then use XMODEM S to send the file to the PC.

Open XMODEM/RECEIVE FILE in Tera-Term, give the new file a name, and click on OK - the file will be transferred and named based on the name you just stated.

This is how I do it, but I would not be surprised at this point if erbp comes back with a method to do what you want! Edited by Grogster 2017-11-10
Smoke makes things work. When the smoke gets out, it stops!
 
erbp
Senior Member

Joined: 03/05/2016
Location: Australia
Posts: 195
Posted: 01:27pm 09 Nov 2017
Copy link to clipboard 
Print this post

  Grogster said  This is how I do it, but I would not be surprised at this point if erbp comes back with a method to do what you want!


Sorry to disappoint. I don't use SD Cards on any of my Mites so have nothing to offer on this topic.

Cheers,
Phil.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 04:51pm 09 Nov 2017
Copy link to clipboard 
Print this post

  Chrisk said  
In Tera Term what is the command to download a file from the SD card to my PC because strange things are happening when I use MMedit.

Chris K


Explain "strange things"?
Provided you are using the latest version of MMEdit and have set the syntax to Micromite_Plus_V5.3 (I haven't done V5.4 yet) it should work.
It does for me.

There are so many different devices and firmware versions about with different requirements that it is difficult to keep up. It is now up to the user to set the syntax to match the device rather than using 'auto-detect'.

The ability to send files to/from the SD card like you can with Maximites only appeared in recent versions of MMBasic for micromites.


For the record, MMEDit uses XMODEM when in the file manager and for 'load and run'
It uses AUTOLOAD when selecting 'load' in the chat terminal.

JimEdited by TassyJim 2017-11-11
VK7JH
MMedit
 
Chrisk

Senior Member

Joined: 21/12/2014
Location: Australia
Posts: 122
Posted: 07:11pm 11 Nov 2017
Copy link to clipboard 
Print this post

Hi Jim
I love your MM Edit, downloaded the latest and it sorted the problems I was having.
Thanks for the great effort you guys put in to TBS.
Regards

Chris K
 
Chrisk

Senior Member

Joined: 21/12/2014
Location: Australia
Posts: 122
Posted: 07:21pm 11 Nov 2017
Copy link to clipboard 
Print this post

Sorry forgot to mention re strange things. I was using an old version of MM Edit with my MM+ 64, I didn't realise that I needed to change the syntax for the different MMs. Matherp put me straight in another post which fixed the problem.

Chris K
 
BrianP
Senior Member

Joined: 30/03/2017
Location: Australia
Posts: 292
Posted: 10:15pm 12 Nov 2017
Copy link to clipboard 
Print this post

This one's for Jim while developing next MM Edit version...

I'm using MM Edit 3.7.0, syntax Micromite_MK2_V5.3.

The connect option says "Connect to Maximite".

Pedantic I know, but we do strive for that unobtainable perfection!

(Aside) The Japanese have a saying to the effect "Perfection attracts evil spirits. Always have some (controlled) imperfection to keep them away!

My programming skills obviously take this into account, although I'm not so sure about the "controlled" bit...

(BTW I can live with this particular imperfection.)

Cheers

Brian P.
 
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