Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 19:07 07 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 : Using Tera Term

Author Message
Benzol
Regular Member

Joined: 07/01/2015
Location: Australia
Posts: 64
Posted: 12:03am 22 Jul 2016
Copy link to clipboard 
Print this post

I am trying to run Tera Term to load the SuperClockFonts.bas without success.
MM Edit is fine, and have have TT setup up for Com4, 38400, 8, none, 1.
I can't get a prompt from the Micromite.
What have I done wrong?
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9590
Posted: 03:52am 22 Jul 2016
Copy link to clipboard 
Print this post

Are you trying to use TT(TeraTerm) to XMODEM the BAS file over to the MM or are you just trying to talk to the command prompt?

In either event:

MM Console TXD pin goes to serial-port converter for COM4 RXD.
MM Console RXD pin goes to serial-port converter for COM4 TXD.
MM Ground goes to serial-port converter for COM4 ground.

That done, you should be able to talk to the MM at the console with your settings as above, provided you have selected the correct COM port - how sure are you that the MM is on COM4?

If you are SURE it is COM4, and it won't work in TT but does in MMEdit, then CLOSE MMEDIT if it is still running. It may well be holding onto the COM port.

If you are trying to XMODEM the BAS file to the MM, then with TT open and talking to the MM console, type XMODEM R on the MM console, and press [ENTER].

Next, go to TT: FILE/TRANSFER>/XMODEM>/SEND... and click on that.
In the box that opens, select your BAS file, and click OK - file should copy over to the MM.

You get about 60-seconds from the time you press ENTER on the MM console, to find and start the XMODEM transfer. Longer then that, and the MM will time-out.

Not sure if this is your problem - you don't say, but the fact you are mentioning trying to run the BAS file makes me think you are having issues running the XMODEM command to get the file into the MM.
Smoke makes things work. When the smoke gets out, it stops!
 
Benzol
Regular Member

Joined: 07/01/2015
Location: Australia
Posts: 64
Posted: 04:30am 22 Jul 2016
Copy link to clipboard 
Print this post

Hi Grogster
Thanks for the help. After reading your reply I figured maybe my TT is wrong so I uninstalled then reinstalled. Works OK now.
I have another question. To load the clock fonts i need to use Autosave. Do I run autosave then go into XModem?

db
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9590
Posted: 04:39am 22 Jul 2016
Copy link to clipboard 
Print this post

Interesting use of Autosave. Do you know that works? I don't think that was how it was designed to be used......

Normally, you would issue the AUTOSAVE command at the command-prompt, then type your code, then end it with a CONTROL-Z byte, and the MM will save this into program memory.

If you have a BAS file with the font in it, then I would just XMODEM it direct to the MM using the method I mention above. Once the font is in the memory, if it is a DefineFont kind of C-listing, then compile a BAS file with all your wanted fonts and any other Cfunctions or CSubs, then XMODEM that across to the MM.

That done, then you issue the command LIBRARY SAVE, and the routines and fonts will be compressed and saved to protected memory.

I'm not sure I understand fully what you are trying to do though......

Are you just trying to copy a font file across and save it in the MM so your program code can use it, or are you trying to do something else?
Smoke makes things work. When the smoke gets out, it stops!
 
Benzol
Regular Member

Joined: 07/01/2015
Location: Australia
Posts: 64
Posted: 04:54am 22 Jul 2016
Copy link to clipboard 
Print this post

Don't you ever sleep.!
Got it sorted. I used autosave in TT to load the fonts, then loaded the clock.bas from MM Edit. Runs ok.
Probably not the best use of available tools but it works and I learnt something.
I appreciate your help Grogster.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9590
Posted: 05:08am 22 Jul 2016
Copy link to clipboard 
Print this post

Something of a night-owl, me.........
Smoke makes things work. When the smoke gets out, it stops!
 
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