Home  |  Contents 

Microcontroller and PC projects
  Forum Index : Microcontroller and PC projects         Section
Subject Topic: E64: file xferred with xmodem not saved Post ReplyPost New Topic
Page of 2 Next >>
Author
Message << Prev Topic | Next Topic >>
lizby
Guru
Guru


Joined: 17 May 2016
Location: United States
Online Status: Offline
Posts: 304
Posted: 10 October 2018 at 9:53am | IP Logged Quote lizby

I just tried the XMODEM RECEIVE, FILENAME$ command on my Explore-64, sending with Teraterm. It reported success--"Saved 2386 bytes", but no file appears when I execute "FILES".


> xmodem receive, GEOsets.dat
Saved 2386 bytes
> files
\
    2798  GEOTHERM.HTM
    4107  GEOTMPL2.TXT
    2823  GEOTMPLT.TXT
  426819  LOG.TXT
  415029  LOGFILE.TXT
    1024  LOGPL.TXT
      82  TEST.TXT
   65762  TESTSD.TXT
0 directories, 8 files

I also tried putting the filename in quotes, "GEOsets.dat". That also reported success, but no file. I tried assigning "GEOsets.dat" to a variable. and trying XMODEM with the variable name. That again reported success, but no file of that name is listed with "FILES".

XMODEM SEND, "TEST.TXT" worked. This is version 5.0302

What am I doing wrong?



Edited by lizby on 10 October 2018 at 10:35am



Back to Top View lizby's Profile Search for other posts by lizby
 
TassyJim
Guru
Guru
Avatar

Joined: 07 August 2011
Location: Australia
Online Status: Offline
Posts: 2755
Posted: 10 October 2018 at 10:24am | IP Logged Quote TassyJim

try without the comma after receive
I would also use the quotes.
xmodem receive "GEOsets.dat"


It certainly works with firmware V5.04.10

Jim

__________________
It all started with the ZX81....
VK7JH
http://www.c-com.com.au/MMedit.htm
Back to Top View TassyJim's Profile Search for other posts by TassyJim Visit TassyJim's Homepage
 
lizby
Guru
Guru


Joined: 17 May 2016
Location: United States
Online Status: Offline
Posts: 304
Posted: 10 October 2018 at 10:39am | IP Logged Quote lizby

No joy, Jim.


xmodem receive "GEOSETS.DAT"
Saved 2386 bytes
> files
\
    2798  GEOTHERM.HTM
    4107  GEOTMPL2.TXT
    2823  GEOTMPLT.TXT
  426819  LOG.TXT
  415029  LOGFILE.TXT
    1024  LOGPL.TXT
      82  TEST.TXT
   65762  TESTSD.TXT
0 directories, 8 files
>

I guess I have to see if I can find my never-used PICKIT3 clone. (If I recall correctly, there's no over-USB firmware update available for the E64--is that right?)
Back to Top View lizby's Profile Search for other posts by lizby
 
TassyJim
Guru
Guru
Avatar

Joined: 07 August 2011
Location: Australia
Online Status: Offline
Posts: 2755
Posted: 10 October 2018 at 11:10am | IP Logged Quote TassyJim

The E64 needs a pickit or preferably a microbridge.
http://geoffg.net/microbridge.html
I have modified my E64 by replacing the USB with a microbridge. It makes using the E64 easier and allows easy updates of the firmware. I rarely bring the pickit out anymore.

I assume that you have tried saving with a different name and/or a different file?

You could also try using MMEdit instead of Teraterm but I don't think it will make any difference.

Jim



__________________
It all started with the ZX81....
VK7JH
http://www.c-com.com.au/MMedit.htm
Back to Top View TassyJim's Profile Search for other posts by TassyJim Visit TassyJim's Homepage
 
TassyJim
Guru
Guru
Avatar

Joined: 07 August 2011
Location: Australia
Online Status: Offline
Posts: 2755
Posted: 10 October 2018 at 11:16am | IP Logged Quote TassyJim

Extract fro the Change log:
Quote:
Change log for Micromite MMBasic Ver 5.04.01

The XMODEM command can now transfer a file to or from a file on the SD card. This
is in addition to the standard behaviour of transferring to/from program memory.



You do need to update the firmware


__________________
It all started with the ZX81....
VK7JH
http://www.c-com.com.au/MMedit.htm
Back to Top View TassyJim's Profile Search for other posts by TassyJim Visit TassyJim's Homepage
 
Grogster
Guru
Guru
Avatar

Joined: 31 December 2012
Location: New Zealand
Online Status: Offline
Posts: 6306
Posted: 10 October 2018 at 7:37pm | IP Logged Quote Grogster

Without updating as Jim is saying, you will just have to use the old way, which is to say XMODEM R, wait for it to transfer across, then SAVE "GEOSETS.DAT"

__________________
Smoke makes things work. When the smoke gets out, it stops!
Back to Top View Grogster's Profile Search for other posts by Grogster Visit Grogster's Homepage
 
lizby
Guru
Guru


Joined: 17 May 2016
Location: United States
Online Status: Offline
Posts: 304
Posted: 10 October 2018 at 11:24pm | IP Logged Quote lizby

Ok, then, gotta find my PICKIT3.

Thanks, Grogs. That worked, and then this printed the file:

open "geosets.dat" for input as #1
do until eof(#1) : line input #1, a$ : if a$ <> "" then : print a$ : endif : loop : close #1 : end

Back to Top View lizby's Profile Search for other posts by lizby
 
lizby
Guru
Guru


Joined: 17 May 2016
Location: United States
Online Status: Offline
Posts: 304
Posted: 11 October 2018 at 10:16am | IP Logged Quote lizby

Ok, flashed 5.0409 to the E64 with the PICKIT3 clone. "Programming Complete" reported; after "OPTION SDCARD 12,14", "PRINT mm.ver" prints 5.0409.

'xmodem receive "test.dat"' worked (without the comma shown in my version--5.04--of the Micromite Plus Manual).

Thanks Jim & Grogs
Back to Top View lizby's Profile Search for other posts by lizby
 
TassyJim
Guru
Guru
Avatar

Joined: 07 August 2011
Location: Australia
Online Status: Offline
Posts: 2755
Posted: 11 October 2018 at 11:45am | IP Logged Quote TassyJim

Good to see it working.

The syntax is correct in the micromite manual in the detailed listing.
I had to check the plus manual and you are right, there is an error on page 21
Quote:
XModem Transfer
In addition to the standard method of XModem transfer which copies to or from the program memory the Micromite Plus can also copy to and from a file on the SD card. The syntax is:
XMODEM SEND, filename$
or
XMODEM RECEIVE, filename$


The commas shouldn't be there and will cause a "syntax error"

Jim


__________________
It all started with the ZX81....
VK7JH
http://www.c-com.com.au/MMedit.htm
Back to Top View TassyJim's Profile Search for other posts by TassyJim Visit TassyJim's Homepage
 
lizby
Guru
Guru


Joined: 17 May 2016
Location: United States
Online Status: Offline
Posts: 304
Posted: 12 October 2018 at 3:11am | IP Logged Quote lizby

TassyJim wrote:
You could also try using MMEdit instead of Teraterm but I don't think it will make any difference.


I don't see how to initiate XMODEM on the PC side with MMEdit--how do you do it?
Back to Top View lizby's Profile Search for other posts by lizby
 
TassyJim
Guru
Guru
Avatar

Joined: 07 August 2011
Location: Australia
Online Status: Offline
Posts: 2755
Posted: 12 October 2018 at 6:40am | IP Logged Quote TassyJim

First, make sure you have the correct syntax file selected. It has to be one of the versions that allows saving to SD.

Open the file manager.


select the file on the PC and transfer to the 'mite.

Check out 'file manager' in the help.

Jim

__________________
It all started with the ZX81....
VK7JH
http://www.c-com.com.au/MMedit.htm
Back to Top View TassyJim's Profile Search for other posts by TassyJim Visit TassyJim's Homepage
 
lizby
Guru
Guru


Joined: 17 May 2016
Location: United States
Online Status: Offline
Posts: 304
Posted: 12 October 2018 at 7:49am | IP Logged Quote lizby

Ok, thank you, Jim. Got it.

One snag along the way--when I click on the version-choosing item to the right of "Help", I can only see some of the options, and see no way to scroll. I clicked the bottom option, clicked the chosen item again, hit the down arrow, which chose the next, invisible option, and then repeated that until I got to Micromite_Plus_V5.3.


Edited by lizby on 12 October 2018 at 7:49am
Back to Top View lizby's Profile Search for other posts by lizby
 


Page of 2 Next >>
In the news...
 
Post ReplyPost New Topic
Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.8
Copyright ©2001-2004 Web Wiz Guide

This page was generated in 0.1250 seconds.
Privacy Policy     Process times : 0, 0, 0, 0.12