Chapter 2 setup and operation – Remote Processing RPC-52 User Manual
Page 7
CHAPTER 2
SETUP AND OPERATION
Page 5
new
Perform the following when using PC SmartLINK:
1.
Press the < F1> key to view the main menu.
2.
Smar tLINK has a buffer which is used to
temporarily store the program. If you followed
these instructions without exiting SmartLINK, the
previously uploaded program is in the buffer and
may be dow nloaded. Howeve r, lets assume you just
started SmartLIN K. P ress the L key to get the
program from the disk.
3.
Enter the filename you saved it under then press the
< F2> key.
4.
P r e ss D to d ow n lo a d t he p r og r a m .
5.
Press the < F2> key to return to the programing
mode. List the program by typing:
list
NOTE: Some PC SmartL INK ver sions drop the first
line of uploaded code. To make sure the entire
program is uploaded, make the first program
line a REM.
Other communications software
The following is general information when using another
terminal emulation program (Procomm, Windows
Term inal, etc.).
When uploading or downloading files, select ASCII text
format. XMODEM, YMODEM, or other formats are
not used.
RPBASIC-52 does not know w hen you are typing in a
progr am or if something else (laptop or mainfr ame) is
sending it char acters. The uploa d and dow nload file
does not conta in any special c odes; th ey are sim ply
ASCII cha racters.
Uploading programs is simply a process of receiving an
ASCII file. Y ou or your progr am simply need to send
"LIST " to receive the entire program . The default baud
rate (9600) is rather high. M ake sure your PC and
comm unications software ca n work at these bau d rates.
PRO COM M w as tested on a 12 Mhz 2 86 PC and it
worked fine. Windows Term inal on the same PC had
problems at m uch slower ba ud rates.
Downloading a program requires transmitting an ASCII
file. As you type in (or download) a line, RP BASIC-52
tokenizes that line . T he time to do this depends up on its
complexity and how many lines of code have been
entered.
RPBASIC-52 m ust finish compiling a line before starting
the next one. When a line is compiled, a "> " character
is sent. This should be your terminal progra ms pacing
c h ar a c te r w he n do w n lo a di ng a pr o g ra m .
If your communications program cannot look for a
pacing prompt, set it to delay transmission after each line
is sent. A 100 ms delay is usually adequate, but your
program may be long and complex and require more
time. A r esult of a short transmission time is missing or
incomplete pro gram lines.
COM 0 on the RPC-52 does not recognize the CT S or
RTS lines. T he CTS line is pulled high on the RPC-52.
The effect of not recognizing these lines is your PC or
terminal cannot hold off the RPC-52' s transmission.
Converse, the RPC-52 cannot hold off the host from
sending it data.