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 : Sending files to Maximite
Page 1 of 2 | |||||
Author | Message | ||||
elchucko Regular Member Joined: 09/11/2011 Location: United StatesPosts: 86 |
How does one send text files from a PC to the Maximite via HyperTerminal? I want to send Basic program files from my PC to the Maximite. Thank you |
||||
sparkey Senior Member Joined: 15/06/2011 Location: AustraliaPosts: 819 |
read "sparkeys spot its in the first couple of pages ...sparkey... technicians do it with least resistance |
||||
Vikingboy Regular Member Joined: 23/09/2011 Location: AustraliaPosts: 82 |
An easy way is to just copy and paste the code into the terminal window, hyperterm and others also have a transfer textfile command which will work for basic code and is basically the same thing.Then save the program from the maximite. For non text file formats the newest firmware now supports Xmodem transfer. rgds, Andrew |
||||
CircuitGizmos Guru Joined: 08/09/2011 Location: United StatesPosts: 1425 |
Or use MMIDE: http://www.themaximitecomputer.com/max/Programs/index.php?di r=Software%2FMMIDE+Terminal+Program+by+Rob+Severson%2F Micromites and Maximites! - Beginning Maximite |
||||
elchucko Regular Member Joined: 09/11/2011 Location: United StatesPosts: 86 |
Copy/paste does not work. |
||||
elchucko Regular Member Joined: 09/11/2011 Location: United StatesPosts: 86 |
While I'm at it, can the SD card be inserted or removed with power on? I guess one way would be to load files to the SD on the PC then move the SD card to the Maximite but that's only a workaround. |
||||
donmck Guru Joined: 09/06/2011 Location: AustraliaPosts: 1313 |
Chuck, try what CircuitGizmo suggested. You don't have to set anything. It just works. Cheers Don... https://www.dontronics.com |
||||
CircuitGizmos Guru Joined: 08/09/2011 Location: United StatesPosts: 1425 |
Actually Chuck is having some odd MMIDE problems. So am I, for that matter. Backspace behaves oddly. Working on it... Micromites and Maximites! - Beginning Maximite |
||||
Vikingboy Regular Member Joined: 23/09/2011 Location: AustraliaPosts: 82 |
Hi, Paste should work, in hyperterm on windows right clicking in the term window brings up a requester including 'paste to host' , this will transfer the clipboard.I believe also the hot-keyfor it is the ususal ctrl-V. What OS, term software are you running ? just re-read your post, this should work, I use it regularly. Andrew |
||||
ajkw Senior Member Joined: 29/06/2011 Location: AustraliaPosts: 290 |
Yes it can, I have done transfers this way often. One thing to watch is if you have a Prompt that displays the CWD$ variable as does mine. Without a card you will get a repeating error until you put the card back in. |
||||
elchucko Regular Member Joined: 09/11/2011 Location: United StatesPosts: 86 |
Paste should work, in hyperterm on windows right clicking in the term window brings up a requester including 'paste to host' , this will transfer the clipboard.I believe also the hot-keyfor it is the ususal ctrl-V. What OS, term software are you running ? just re-read your post, this should work, I use it regularly. Andrew Hi, I'm using Windows 7. "Paste to host" stays grayed out. |
||||
crackerjack Senior Member Joined: 11/07/2011 Location: AustraliaPosts: 164 |
Use TeraTerm and the XMODEM commands. Works a treat. |
||||
Vikingboy Regular Member Joined: 23/09/2011 Location: AustraliaPosts: 82 |
Hmmm, Don't understand why paste won't work ? to use xmodem is a little tricky due to timing, the easiest way I found is first type into the maximite 'xmodem recieve "file.bas" ' Then open Hyperterm and do the same RMB and select transfer file or the send file menu, use the xmodem protocol and browse and select the file.then hit the send button, then immediately hit return to enter the command on the Maximite. That should transfer the file direct to the sdcard on maximite. Hopefully that works ;) Andrew |
||||
elchucko Regular Member Joined: 09/11/2011 Location: United StatesPosts: 86 |
OK, I've gotten to the point where I can display files and load them from the SD card to a PC via HyperTerminal. When I attempt to send a file in HT, the operation times out without sending the file. Suggestions? Thank you for all the assistance you have given. |
||||
BobDevries Senior Member Joined: 08/06/2011 Location: AustraliaPosts: 266 |
How about you insert a time delay before the XMODEM command? For example: PAUSE 30000:XMODEM RECEIVE file$ Please note, I haven't tried this myself. It just seems like an idea to try. Regards, Bob Devries Dalby, QLD, Australia |
||||
sparkey Senior Member Joined: 15/06/2011 Location: AustraliaPosts: 819 |
it is possable to do "sending files as i have been doing it as long as the xmodem command has been in use ..and yes that time out is a little quick i asked geoff to see if he could lenthen this period he said he would get round to it but havent heard any more "but that pause statement sounds like a good idea ..once you know exactly where your file is if you do a dry run in hy0term and then use the command the dialouge box should already have selected the folder and as you have already selected the "xmodem " in the box that should be set to on your second run you will find that you will have more time ...i got used to it so others can too... technicians do it with least resistance |
||||
crackerjack Senior Member Joined: 11/07/2011 Location: AustraliaPosts: 164 |
Start the XMODEM RECEIVE "file" command on the Maxi first, then send from the PC via the terminal app. In fact, I've found that XMODEM commands should always be started on the Maxi first regardless of if sending or receiving. Never had an issue doing it that way using TeraTerm. Cannot vouch for HyperTerminal because I never use it. Remember to not delay more than 30 seconds before starting the xfer action on the PC. |
||||
sparkey Senior Member Joined: 15/06/2011 Location: AustraliaPosts: 819 |
i use hyper terminal soory i for got to secify that....sparkey technicians do it with least resistance |
||||
elchucko Regular Member Joined: 09/11/2011 Location: United StatesPosts: 86 |
Got Tera Term to work. Looks good! Thank you |
||||
elchucko Regular Member Joined: 09/11/2011 Location: United StatesPosts: 86 |
Well I wasn't correct in my assessment of my problem. OK, I've tried both Hyper Terminal and Tera Term. Using Tera Term as an example, if I select a file located on my PC to send to the Maximite and while using xmodem, the program shows a box with the file name and a send or receive bar that never moves. After several seconds the function fails. Hyper Terminal also "hangs" in a similar fashion. There is something real basic I'm failing to see. I will note that while using Tera Term and in a folder labled tera term, a file called "00XJFSM" transfer is made, too fast to see the send/receive time bar. The file displayed is garbage as it's not a text file. Can I assume the program files to be transferred to the Maximite have to be text only? I apologize for these questions. Thank you |
||||
Page 1 of 2 |
Print this page |