Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:57 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 : upload and download code from micromites

Author Message
Turrican
Newbie

Joined: 24/06/2019
Location: Sweden
Posts: 10
Posted: 06:49am 10 Mar 2021
Copy link to clipboard 
Print this post

Hi!

What would be the easiest way to upload and download a complete program to a micromite without sdcard, like the Explore 28 module. I have looked around but can't find a way except copy and pasting line by line.
Thanks
There is NO need for more than 8-bits.
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 06:52am 10 Mar 2021
Copy link to clipboard 
Print this post

Use MMEdit.  This should find the download  MMEdit
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Turrican
Newbie

Joined: 24/06/2019
Location: Sweden
Posts: 10
Posted: 07:35am 10 Mar 2021
Copy link to clipboard 
Print this post

I use the Load and Run function in MMEdit to send my program to the Micromite but I am still a but puzzled on how to retrive the current program from the Micromite back to the MMeditor.
There is NO need for more than 8-bits.
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 08:05am 10 Mar 2021
Copy link to clipboard 
Print this post

  Turrican said  I use the Load and Run function in MMEdit to send my program to the Micromite but I am still a but puzzled on how to retrive the current program from the Micromite back to the MMeditor.


It's the button in the middle  

 
Turrican
Newbie

Joined: 24/06/2019
Location: Sweden
Posts: 10
Posted: 08:35am 10 Mar 2021
Copy link to clipboard 
Print this post

/QUOTE]

It's the button in the middle  



Yes, that is how I have tranfered files on my Duinomite but the Micromite Explore 28, afaik dont have a file system and can not save or load files. therefore there no file to transfer. I am new to the Micromites so I may be wrong. :)
There is NO need for more than 8-bits.
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 08:47am 10 Mar 2021
Copy link to clipboard 
Print this post

I use it all the time, with no file system. It uploads from the MM-device memory to your PC.
 
Turrican
Newbie

Joined: 24/06/2019
Location: Sweden
Posts: 10
Posted: 09:49am 10 Mar 2021
Copy link to clipboard 
Print this post

  Tinine said  I use it all the time, with no file system. It uploads from the MM-device memory to your PC.


Ok, Thanks. I will try again. :)
There is NO need for more than 8-bits.
 
Turrican
Newbie

Joined: 24/06/2019
Location: Sweden
Posts: 10
Posted: 10:00am 10 Mar 2021
Copy link to clipboard 
Print this post

  Turrican said  
  Tinine said  I use it all the time, with no file system. It uploads from the MM-device memory to your PC.


Ok, Thanks. I will try again.


Can you explain how you upload the current memory from the Micromite when there is no file to upload, only the internal memory?


There is NO need for more than 8-bits.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 10:51am 10 Mar 2021
Copy link to clipboard 
Print this post

You need to set the correct protocol for the Micromite in the dropdown, far right of the top line. At the moment you seem to be set for the Maximite
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3292
Posted: 10:57am 10 Mar 2021
Copy link to clipboard 
Print this post

You can upload and/or download using the commands AUTOSAVE and XMODEM.
See page 17 of Getting Started with the Micromite.

Geoff
Geoff Graham - http://geoffg.net
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5091
Posted: 11:42am 10 Mar 2021
Copy link to clipboard 
Print this post

Hi Turrican,

I understand you started out with a maximite/duinomite platform, and you are trying to port that software to the micromite explore 28. Besides differences in MMbasic (what commands are supported) there are also differences in platform.

One difference between these 2 platforms is following:

Maximite
The maximite has a large of flash memory inside the chip itself. That flash memory is split between the MMBasic interpreter, and a file system (the A drive).
When you add a SD card to a maximite you this SD card shows up as a B drive.

Micromite
The micromite (especially the Explore28) does not have enough flash memory to create an A drive inside the chip. If you need file storage this must be added to the Explore 28 as separate hardware, and software. The Explore 28 itself can only hold it's own program in the chips memory (besides the MMBasic interpreter). The explore 28 mates very well with MMedit, where you have a good development environment, and MMedit takes care of uploading your program to the explore 28. The build in editor in the explore 28 can also be used, but then getting your program from and to the PC uses XMODEM or copy/paste from terminal screen using AUTOSAVE (F10).

I hope explains the differences in way of working with the 2 platforms.

Volhout
PicomiteVGA PETSCII ROBOTS
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 12:48pm 10 Mar 2021
Copy link to clipboard 
Print this post

As Geoff and Volhout suggest, AUTOSAVE (F10) is a very easy and quick way to move a program from your editor on the PC (say, Notepad++) to a micromite. It's quicker to do than to write out: Ctrl-A, Ctrl-C on the PC, F10 at the mmbasic prompt, right click to paste, Ctrl-Z when done.

I use XMODEM S "pgm" to go the other way.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Turrican
Newbie

Joined: 24/06/2019
Location: Sweden
Posts: 10
Posted: 01:35pm 10 Mar 2021
Copy link to clipboard 
Print this post

Thanks all!!
I now understand how to transfer code. also thanks for directing me to the "getting started guide" :)
/Tobias
There is NO need for more than 8-bits.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2642
Posted: 05:59am 12 Mar 2021
Copy link to clipboard 
Print this post

Saving files on the 28 pin MM2 can be done in a very limited way for small files by turning them into subroutines and saving to the Library.
eg.

SUB MY.FILE-01
your file
goes here
END SUB

Transfer that to the MicroMite the same way as a program then at the command prompt type:

>LIBRARY SAVE <ENTER>

Several files can be saved this way.
If the file is a program you can run it by typing its name at the command prompt.

>MY.FILE-01 <ENTER>

Deleting. You can't delete individual library entries, its all or nothing.
There is more detail in the manual.
 
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