Eurotech ZEUS Manual do Utilizador Página 52

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 72
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 51
Arcom Embedded Linux Technical Manual Developing software for AEL
The functions provided by libaim104 on AIM104-MULTI-IO are explained below:
Function Explanation
aim104_multi_io_inputs
Returns the status of the 8 digital I/O lines as a
bit mask.
aim104_multi_io_ADC
Returns a value read from one of the ADC
inputs. For an ADC input connected in single
ended mode single_ended must be set to
true/non-zero and channel must be between 0
and 15 inclusive. For an ADC input connected
in differential mode, single_ended must be set
to false/zero and channel must be between 0
and 7 inclusive.
aim104_multi_io_DAC
Writes the 12 bit unsigned value (0-4095)
output to DAC channel 0 or 1.
Transferring files to and from the target board via a serial connection
If you want to transfer a relatively small file to or from a target board running Linux
without setting up an Ethernet connection, you may want to do it via the serial line.
If you have many files to transfer or the files are large, we recommend you
configure an Ethernet connection and use the scp tool as described in Secure
Shell
, page 24. A serial connection typically runs at less than 115200 kilobits per
second, compared with up to 10 or 100 megabits per second for an Ethernet
connection.
AEL includes the lrzsz utility, which is capable of performing X-, Y- and Z-modem
transfers over a serial line. The protocol you choose depends on the protocols
supported by your terminal emulator. If possible, use Z-modem in preference to Y-
modem, and use X-modem only if nothing better is available. Z- and Y-modem are
capable of transferring multiple files in one session, while X-modem can only transfer a
single file at a time.
Before transmitting or receiving the file, you must run the appropriate utility on the target
system. The following table describes X-, Y- and Z-modem transfer utilities:
Protocol Receive on the target system Transmit from the target system
Z-modem rz sz [FILES...]
Y-modem rb sb [FILES...]
X-modem rx [FILE] sx [FILE]
© 2006 Arcom Issue G 52
Vista de página 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 71 72

Comentários a estes Manuais

Sem comentários