Moxa Technologies 331 Manuel d'utilisateur Page 16

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 101
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 15
UC-7112-LX Plus Software User’s Manual Getting Started
2-8
Step 3: The SD socket is located on the back of bottom board. Insert the SD memory card as
shown in the figure.
NOTE: To remove the SD card from the slot, press the SD card in slightly with your finger, and
then remove your finger to cause the card to spring out partially. You may now grasp the top of the
card with two fingers and pull it out.
Before removing the SD card, remember to type /sync to ensure that your data has been written.
Test ProgramDeveloping Hello.c
In this section, we use the standard “Hello” programming example to illustrate how to develop a
program for the UC-7112-LX Plus. In general, program development involves the following seven
steps.
Step 1:
Connect the UC-7112-LX Plus to a Linux PC.
Step 2:
Install the Tool Chain (GNU Cross Compiler & glibc).
Step 3:
Set the cross compiler and glibc environment variables.
Step 4:
Code and compile the program.
Step 5:
Download the program to the UC-7112-LX Plus by
FTP or NFS.
Step 6:
Debug the program
Æ If bugs are found, return to Step 4.
Æ If no bugs are found, continue with Step 7.
Step 7:
Back up the user directory (distribute the program to
additional UC-7112-LX Plus units if needed).
68x
Cross
Compiler
P1 P2
TX
RX
P1
P2
TX
RX
Ready
RESET
12-48V
LAN1
RS-232/422/485
Socket Inside
LAN2
UC-7112 Plus
Universal Communicator
Vue de la page 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 100 101

Commentaires sur ces manuels

Pas de commentaire