Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:16 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 : Memory loss

Author Message
PhilP

Newbie

Joined: 25/01/2017
Location: United Kingdom
Posts: 36
Posted: 10:26am 21 Feb 2023
Copy link to clipboard 
Print this post

I have been using Micromites (MM170 and MM470) for a long time. My weather station using an MM470 has been working well for years.  I now want to change the program but somehow have lost the source file on an old PC. Of course I can see the program via EDIT and can cut and paste screen full of code into Notepad however this is very tedious and error prone for a large program.
I think I recall a way to transfer the program from the MM into a file on the PC. I have tried Tera Term using XMODEM>RECEIVE but nothing happens. I uploaded the original large program using MMedit (v3.6.9 ver5.01) making use of the auto-crunch so remarks are gone. Can anyone jog my simple brain please?
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4044
Posted: 10:35am 21 Feb 2023
Copy link to clipboard 
Print this post

You probably first have to start XMODEM SEND on the MM.

John
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 10:51am 21 Feb 2023
Copy link to clipboard 
Print this post

In Teraterm, under file, start logging
then LIST ALL
then close the log and you have your program (without things that were crunched out).

If your version of MMBasic doesn't do LIST ALL, you will have to press a key for every page then edit out the press any key lines.

Jim
VK7JH
MMedit
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2640
Posted: 04:37am 22 Feb 2023
Copy link to clipboard 
Print this post

If it has an SD card(or you can hook one up) MM+ manual p20, 21

"SAVE fname$
Save the current program to the SD card."
 
PhilP

Newbie

Joined: 25/01/2017
Location: United Kingdom
Posts: 36
Posted: 10:17am 23 Feb 2023
Copy link to clipboard 
Print this post

Thanks for both suggestions gents which I have got around to trying and they both work. I stumbled a bit about having to add quotes around the filename$. Of the SD card will only work for a MM+ but the Tera Term should also work for a MM170.
 
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