![]() |
Forum Index : Microcontroller and PC projects : upload and download code from micromites
Author | Message | ||||
Turrican Newbie ![]() Joined: 24/06/2019 Location: SwedenPosts: 10 |
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: AustraliaPosts: 1993 |
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: SwedenPosts: 10 |
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 KingdomPosts: 1646 |
It's the button in the middle ![]() |
||||
Turrican Newbie ![]() Joined: 24/06/2019 Location: SwedenPosts: 10 |
/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 KingdomPosts: 1646 |
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: SwedenPosts: 10 |
Ok, Thanks. I will try again. :) There is NO need for more than 8-bits. |
||||
Turrican Newbie ![]() Joined: 24/06/2019 Location: SwedenPosts: 10 |
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 KingdomPosts: 10315 |
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: AustraliaPosts: 3292 |
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: NetherlandsPosts: 5091 |
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 StatesPosts: 3378 |
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: SwedenPosts: 10 |
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: AustraliaPosts: 2642 |
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. |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |