Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:50 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 : PicoMite and Teraterm Xmodem

Author Message
Wolfgang
Newbie

Joined: 03/11/2021
Location: Germany
Posts: 15
Posted: 04:48pm 06 Nov 2021
Copy link to clipboard 
Print this post

Hallo User,

I installed Teraterm 4.106 and start as a newbie with the Pico. After some Options input I am very proud having success in showing my own text onto at the ILI9341. Additional the SD-Card is visible and GUI Calibrate is Done.

But now, I use Notepad++ to write my programs and want to send these as *.txt via Xmodem Send *.txt to the Pico with 38400Bd.

But I have no success. These elapsed time field is empty.

Can anyone tell me step by step how to go on; which parameter should be set?
Or is it not possible to transfer *.txt files to Pico?

Thanks in advance for your hints

Wolfgang
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7937
Posted: 04:58pm 06 Nov 2021
Copy link to clipboard 
Print this post

The PicoMite doesn't bother about the file extension, it just regards everything as ASCII text.

On the PicoMite type
XMODEM RECEIVE
and it will appear to hang.
In Tera Term select Files / Transfer / Xmodem / Send
You should get a pop-up box. Select the file to send.
The file should transfer.

(I hope I've got this right, it's been a while since I did it. :) )
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2170
Posted: 05:00pm 06 Nov 2021
Copy link to clipboard 
Print this post

I too use N++, my software load is Ctrl-A, Ctrl-C onto the terminal emulator (I use putty - no experience of terraterm but i doubt it lacks the necessary ability next). Press F10 this activates AUTOSAVE. Paste your clipboard contents into the terminal, when it finishes going across, press Ctrl-Z (EOF) and the mite will stash the code and report the size.

If you want to reduce key presses, embed character 26 at the bottom of your file


ymmv
Edited 2021-11-07 03:01 by CaptainBoing
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7937
Posted: 06:56pm 06 Nov 2021
Copy link to clipboard 
Print this post

Very slight correction. The Tera Term command path is:
File menu / Transfer / XMODEM / Send...
After selecting your file nothing appears to happen for a few seconds then you get something like
Saved nnn bytes
and your file has loaded.

Note that you don't use the Tera Term "Send File" command!

You can also send a file from the PicoMite. Enter
XMODEM SEND
and it hangs.
In Tera Term use
File menu / Transfer / XMODEM / Receive...
you get a pop-up box where you can select where to save the file.


Tera Term keyboard shortcuts for the above
Send:
Alt-F T X S
Receive
Alt-F T X R
Edited 2021-11-07 05:03 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 08:13pm 06 Nov 2021
Copy link to clipboard 
Print this post

And if you can wait a week or two, I will give you the option of drag and drop using MMEdit V5 - still with the ability to stick with Notepad++ and TeraTerm as your main tools.

Jim
VK7JH
MMedit
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1642
Posted: 09:08pm 06 Nov 2021
Copy link to clipboard 
Print this post

Personally, I just use MMEdit for my programming and use that to transfer the program to the 'mite (thanks Jim). Just click on the 'running man' and it all just happens.

I don't have a Pico and I have not tried it for the CMM2 yet though.

Bill
Keep safe. Live long and prosper.
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 09:09pm 06 Nov 2021
Copy link to clipboard 
Print this post

  TassyJim said  And if you can wait a week or two, I will give you the option of drag and drop using MMEdit V5 - still with the ability to stick with Notepad++ and TeraTerm as your main tools.

Jim


Very cool

Are we able to change the font in MMEdit yet, Jim?
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 12:57am 07 Nov 2021
Copy link to clipboard 
Print this post

  Tinine said  
Are we able to change the font in MMEdit yet, Jim?

Yes.

But you can do that now.
Edit the first line of the mmedit4.inf file



Anything that is not a mono spaced font will not work well.

Jim
VK7JH
MMedit
 
Wolfgang
Newbie

Joined: 03/11/2021
Location: Germany
Posts: 15
Posted: 08:55am 07 Nov 2021
Copy link to clipboard 
Print this post

Dear supporters,
many thanks to all for your proposals, I will try that this day and report.

Wolfgang
 
Wolfgang
Newbie

Joined: 03/11/2021
Location: Germany
Posts: 15
Posted: 09:52am 07 Nov 2021
Copy link to clipboard 
Print this post

Hallo Jim,

of course, I can wait a week or two for your MMEDIT V5.  I am very curious about it.

Wolfgang
 
Wolfgang
Newbie

Joined: 03/11/2021
Location: Germany
Posts: 15
Posted: 11:40am 07 Nov 2021
Copy link to clipboard 
Print this post

Hallo Mixtel90,

now I see that the transfer, you very well described, starts and finishes. The reason that it don't start before was: I forgot to klick in the Teraterm Windows.

But I see another situation: I send a txt-file from the Notebook++ Programm, containing only one Line  "Dim Yy as Integer".

After end of transfer, I don't see this line in complete form in the Teraterm window, but only (green colour) "Dim Yy as Inge". The last 3 characters are disappeared.

The transfer rate of both, the Teraterm and the Win Com-Port, are setting to 38400Bd.

Is there an explanation, what was happened.

Greets
Wolfgang
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7937
Posted: 01:04pm 07 Nov 2021
Copy link to clipboard 
Print this post

I've not seen that. Check that Tera Term setting for Terminal has CR set for both Receive and Transmit.

When working with the PicoMite and Tera Term I don't change any Tera Term settings at all from their defaults. Once the USB COM port is set everything is sorted out automatically - no need to set a baud rate (mine is defaulting to 230400 baud!). I've never attempted to use Notepad++ with it. I just use the built-in editor almost all of the time, but edit the text file manually (transferred using XMODEM) if I want to make big changes (like merging programs or moving large Subs around).

I seem to remember that Notepad++ has an option to do with padding out the text with NUL characters at the end. I wonder if that has something to do with your problem?

Also, you can insert a line delay into Tera Term. Try Setup menu / Copy & Paste. Try increasing Paste Delay Per Line to something like 100ms and see if that fixes it.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Wolfgang
Newbie

Joined: 03/11/2021
Location: Germany
Posts: 15
Posted: 06:20pm 07 Nov 2021
Copy link to clipboard 
Print this post

Hallo Mick,

thanks for your tipps, my Xmodem troubles are unfortunately still present; therefore may be that I feel like more in the near future to look for(solve) the troubles.

At the moment I can work of course with the built-in editor.



Wolfgang
 
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