Remote-processing RPC-220 Manual do Utilizador Página 16

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 47
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 15
WRITING, DEBUGGING, AND SAVING PROGRAMS SECTION 3
Page 3-5
MX M odify external memory
External mem ory is RA M on the RPC card. It is
accessed using a segment:memory type scheme.
Comm and format is:
MX [address[,segment]] <ret>
MI Modify internal memory
Internal memory is the RAM internal to the CPU . It
is fixed at 256 bytes. C ommand forma t is:
MI [address]
If an address is not entered, 0 is assumed.
MP Modify I/O ports
I/O devices such as real time cloc k, digital por ts,
D-A converters, counters, etc. are m odified using
this command. F ormat is:
MP [address]
If an address is not entered, 0 is assumed for both
parameters.
MS M odify Special Function R egisters
The 80C552 has several special function registers.
They are accessed in the range of 80H to FFH.
Refer to the Phillips data sheet (file
8XC552OV .P DF) for register specific information.
Comm and format is:
MS [address]
When [address] is not entered, 0 is assumed. The
monitor program does not check addresses.
Miscellaneous
F Fill External Memory
External memory is filled with a value. Command
format is:
F start_address,end_address,value[,segment]
' start_address' must be lower than ' end_address' .
Failure to do this will cause most of memory to be
written. Address values are not checked.
R Read Intel Hex file
Code and data files are downloaded using the Intel
MCS-86 object format, commonly known as Intel
Hex. This format supports both 16- and 32-bit
extended addresses. This monitor supports only the
16 bit address. A record type 04, extended linear
address recor d, does not produce an er ror but is
ignored. Any RAM memory from 0 to FFFF H may
be loaded to. The com mand for mat is:
R [offset]
' offset' is any value from 0 to F FF FH . ' offset' is
added to the address in the hex file. Data is stor ed to
offset + address. Use offset when you want to load
code starting at another address. Keep in mind that
any address loaded between 0 and 0x7FFF is kept in
external RAM and is not acce ssible as code. Data
loaded between 0x8000 and 0xFFFF is accessible as
either code or data.
If a checksum error is received during a download,
the last address stored is printed on the screen along
with a prompt to press the < esc> key to stop
printing the message.
Downloading code is done using any number of
modem communication programs. This includes PC
SmartLink, Procomm, and Windows Terminal. No
matter which comm unication program you use, first
type the letter "R" followed by the offset, if any. No
value entered assumes a 0. The monitor is now
waiting for a ":" to begin processing a line. After a
line is sent, the monitor returns a "> " character as
a pacing prompt. If there is an error in the
checksum , the progr am will continuously send out a
message until the < esc> key is pressed.
Instructions for three communication programs are
given below.
Procomm
Make sure Procomm' s ASCII download is set up
using a "> " as a pacing character. Delays between
characters and lines are not necessary. Select
Upload and then ASCII as the type. Enter the file
name then < Enter> . Y ou will see the H ex file as it
is sent.
Windows Terminal
Under the "Settings" menu selection, make sure
"Text Transfers" are set to "L ine at a time" and
under "Transfer a line at a time" is set to "Wait for
Prompt String". The prompt string is the "> "
character. To download the file, select "Tr ansfers"
then "Send text file". Select the file you wish to
transfer. The "Strip LF " option can be checked off
to see what is transferred.
Vista de página 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 46 47

Comentários a estes Manuais

Sem comentários