LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 08-28-2012, 05:02 PM   #1
tekra
Member
 
Registered: Aug 2010
Location: Brisbane, Australia
Distribution: Gentoo, Slackware, PCLOS
Posts: 64
Blog Entries: 1

Rep: Reputation: 2
Maximite, linux, Minicom and Xmodem.


I've just fired up my first Maximite; all working except for being unable to transfer files. As with many such things, most discussion assumes M$, but I'm a long-term Linux user and wanting to work using it.

I reflashed the BASIC to version 3 using an old copy of XP, but now that it's running under PCLinuxOS I need to get things configured. I'm using Minicom, which brings back fond memories of Telix, and can offer connection advice if anyone else hasn't got there yet; but Xmodem transfers don't work, and I need to fix this. Minicom invokes two external binaries - rx and sx - that handle X, Y, and Zmodem transfers, and using --help lists their commandline switches. Minicom has a configuration dialogue for them, and inserting appropriate switches should do the job. However, I don't yet know what they are.

If anyone else has already solved this I'd be much obliged for the info; otherwise I'll post my findings here, and if anyone else is willing to cooperate I'd be grateful for the assistance.
 
Old 08-28-2012, 06:04 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,856

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Typically you would start rx (i.e xmodem filename_to_be_transfered) on the Maximite first. Then initiate the file transfer using the minicom command i.e. Ctrl-a s, select XMODEM protocol and then the file.

In a nutshell how file transfer protocols start is the receiver sends a character to the sender to tell it is ready. The receiver will continue sending the ready character until either the sender starts the file transfer or a time out occurs.

Last edited by michaelk; 08-28-2012 at 06:53 PM.
 
Old 08-28-2012, 07:09 PM   #3
tekra
Member
 
Registered: Aug 2010
Location: Brisbane, Australia
Distribution: Gentoo, Slackware, PCLOS
Posts: 64
Blog Entries: 1

Original Poster
Rep: Reputation: 2
OK, thanks for the tip. Not sure whether I can reverse the order of invocation; will check. Am wondering whether it's possible to invoke rx/sx directly from the commandline. Will do a bit more background research.
 
Old 08-28-2012, 07:35 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,856

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Its been awhile but you might be able to reverse the order.
 
Old 08-29-2012, 10:53 PM   #5
tekra
Member
 
Registered: Aug 2010
Location: Brisbane, Australia
Distribution: Gentoo, Slackware, PCLOS
Posts: 64
Blog Entries: 1

Original Poster
Rep: Reputation: 2
All getting too difficult. I've decided to take three steps back, which means getting on with a new Gentoo install, main reason being that most major distros these days use kernel patches, often significant, resulting in a non-standard compilation environment; so even if you resolve the b*&^%y dependencies, the d%$m thing STILL won't work because of some (probably irrelevant) kernel patch. Try to compile anything not in the repo and you're stuffed!

Will call back after I've got Gentoo working, probably with Xfce for want of anything better.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mincom xmodem transfer works, setty rx bash does not burnsb Linux - General 0 04-12-2010 12:30 AM
Minicom via ttyS0: Please help with $TERM, $MINICOM, colors, mouse/gpm. GrapefruiTgirl Linux - Software 2 07-19-2008 07:01 AM
Minicom: xmodem Paris Heng Linux - Networking 5 05-23-2008 12:22 PM
Linux on floppy, with minicom glock19 Linux - Software 1 03-08-2007 03:59 AM
uploading with 1K Xmodem jonij Linux - Newbie 4 01-18-2005 12:28 PM


All times are GMT -5. The time now is 07:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration