Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:41 27 Nov 2024 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 : File Transfer from Pico

     Page 2 of 2    
Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6099
Posted: 08:55pm 06 Dec 2023
Copy link to clipboard 
Print this post

It looks like that at some time you created the file, possibly when starting an edit.
For some reason the file buffer was not flushed, leaving an empty file.

You may also have created the empty file during your experiments with XMODEM.

You can also create empty files using Basic easily enough but we will never know now as you have overwritten the (assumed) empty file with your 'save'.


When you requested the file with TFTP, MMBasic correctly reported a successful send of zero bytes.

Jim
VK7JH
MMedit   MMBasic Help
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2135
Posted: 09:03pm 06 Dec 2023
Copy link to clipboard 
Print this post

Two quite different things seem to be getting mixed together in this thread.

XMODEM transfers data over the serial/USB link so "sudo usermod -a -G DIALOUT $USER" is relevant to that.
It requires a terminal that supports it at the PC end such as GFXterm. It can transfer the loaded program, flash slots or files on A: or B: to/from the Pico as per the WebMite manual p20.

TFTP transfers FILES only to/from A: or B: via WiFi, not serial/USB. The loaded program isn't a file until you save it (as you have found).
See WebMite manual "WiFi and Internet Functions" and page 25 for the details.
 
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 311
Posted: 09:34pm 06 Dec 2023
Copy link to clipboard 
Print this post

Hi All

I guess that's why we can ask questions on the Forum.
Some of us can read a lot more into a manual statement then others.
Me, I am an example kind of person.
After that it is embedded.
Regards
Hervey Bay Qld.
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024