background image

UC-7400-CE User’s Manual 

Introduction

 

 

1-7

Memory and File Systems 

The UC-7400-CE file system allows file storage on the system RAM or on the onboard flash 
memory. Files can also be stored on external media such as a USB drive or CompactFlash card. 

RAM-based Storage 

About 20 MB of the 128 MB SDRAM is available for user applications and data. The operating 
system and kernel image occupy the rest of the space. The root directory is stored in RAM, along 
with subdirectories such as “Windows”, “Temp”, “My Documents”, “Network”, and “Program 
Files”. Files can be temporarily stored in these directories, but they will be deleted when the 
system is shut down or restarted. Persistent files and programs should be placed in the 
“NORFlash” directory. 

Onboard Flash Memory Storage 

Onboard flash memory storage is provided through the “NORFlash” directory. Anything that is 
saved in this directory will be retained when power is disconnected or lost. 15.5 MB of storage is 
available. 

The flash memory file system supports TFAT (Transaction-Safe File Allocation Table), which is 
safer than FAT. TFAT protects the file system from write corruption during critical events such as 
a sudden power loss. After a sudden power loss, the file state is rolled back. TFAT is a superset of 
FAT, which means that the embedded computer is able to mount external FAT file systems. 

External Media Storage 

When external media is installed, such as a USB drive or CompactFlash card, it will be found as 
an additional directory. For data that is intended to be shared with a PC, the external media should 
be formatted using the PC’s FAT file system instead of the TFAT file system. PCs may not 
recognize the TFAT format. 

Caution When Storing Data 

It is recommend that the onboard NOR flash be used for storing programs only. For log data 
generated by your programs, use external storage media such as CompactFlash or a Network File 
System. CompactFlash is much easier to replace if it is damaged or full. 

NOR flash memory has a life cycle of 100,000 write operations at the block (128 KB) level. It 
does not support BBM (Bad Block Management). For this reason, a FAT file system would not 
know if a flash block has reached the end of its life cycle. The FAT file system would continue to 
scan the block again and again, eventually resulting in an unpredictable state. 

In addition, the FAT file system searches for free space sequentially when performing write 
operations. As files are deleted, free storage space becomes more and more fragmented, making it 
difficult to search. When a file is frequently updated, data is deleted and rewritten to the same 
memory blocks over and over again. Eventually, the FAT file system would be unable to read 
those blocks, causing the operating system to hang. 

Although CompactFlash cards also have a life cycle, most use NAND flash memory with 
hardware controllers that implement BBM. This feature allows the FAT file system to flag and 
skip any bad blocks. Furthermore, there is much more storage space available on CompactFlash 
cards than on the NOR flash memory. This space can be used cautiously to maximize the media’s 
life cycle. An effective method is to create a large empty file (around 30 MB) to store log data. 
Data is written evenly over the space, and when the end of the space is reached, the write 
operations start over from the beginning of the space. This method reduces the number of write 
operations performed on each block. 

Summary of Contents for UC-7408-CE

Page 1: ... s Manual Second Edition July 2007 www moxa com product Moxa Systems Co Ltd Tel 886 2 2910 1230 Fax 886 2 2910 1231 Web www moxa com MOXA Technical Support Worldwide support moxa com The Americas support usa moxa com ...

Page 2: ...on the part of MOXA MOXA provides this document as is without warranty of any kind either expressed or implied including but not limited to its particular purpose MOXA reserves the right to make improvements and or changes to this manual or to the products and or the programs described in this manual at any time Information provided in this manual is intended to be accurate and reliable However MO...

Page 3: ... Card 1 9 RS 232 422 485 Serial Ports 1 9 Chapter 2 Getting Started 2 1 Starting the UC 7400 CE 2 2 Resetting the UC 7400 CE 2 2 Operating the UC 7400 CE from the Serial Console 2 2 Changing the Network Settings 2 2 Operating the UC 7400 CE by Telnet 2 3 User Group Management 2 4 Adjusting the System Time and RTC Time 2 5 Troubleshooting Network Connectivity 2 6 Simple Network Management Protocol ...

Page 4: ...400 series of ready to run embedded computers including the UC 7420 UC 7410 and UC 7408 MOXA s experience with developing embedded small footprint communication devices provides the intense technological skill required while porting the Windows CE 5 0 kernel The following topics are covered in this chapter Overview Model Descriptions and Package Checklist UC 7400 Product Features Product Hardware ...

Page 5: ...C 7400 s PCMCIA port to attach a wireless LAN card The UC 7400 CE series of ready to run embedded computers use the Microsoft Windows CE 5 0 operating system OS which makes them suitable for new system development and legacy system migration All of the necessary device drivers such as a PCMCIA wireless LAN module and keypad LCM and buzzer control are included with UC 7400 CE The operating system d...

Page 6: ...ion y Robust fanless design UC 7420 UC 7410 UC 7408 The UC 7420 CE and UC 7408 CE have a PCMCIA slot and CompactFlash interface for wireless communication and flash storage expansion In addition the UC 7420 CE integrates two USB hosts a USB device port and an LCM display for mass storage capability and other uses The UC 7408 CE which does not have an LCM or USB port features 8 digital input channe...

Page 7: ...nector RS 232 1 RJ45 connector DI DO N A DI 8 DO 8 N A USB 2 0 Hosts 2 N A N A USB 1 1 Client 1 1 1 PCMCIA Cardbus 1 N A Cardbus 1 Storage Expansion Compact Flash 1 N A Compact Flash 1 LCM 128 64 dots 128 64 dots N A Keypad 5 5 N A Real time Clock Yes Yes Yes Buzzer Yes Yes Yes Reset Button HW Reset 1 Reset to Default 1 HW Reset 1 Reset to Default 1 HW Reset 1 Reset to Default 1 Power Input 12 to ...

Page 8: ...OM based components in the same process space in other processes or on remote machines y Microsoft Foundation Classes MFC MFC is a comprehensive class library and complete object oriented application framework designed to help build applications COM components and controls y SOAP Toolkit SOAP is an XML based protocol for object exchange and remote procedure calls Microsoft Windows CE 5 0 provides ...

Page 9: ...ion to its development and communication capability the UC 7400 CE also has the following embedded services and daemons These common and easy to use application servers make it easy for users to migrate the UC 7400 CE embedded computer to industrial communication applications y Telnet Server Sample server that allows remote administration through a standard Telnet client y FTP Server Sample server...

Page 10: ...ad of the TFAT file system PCs may not recognize the TFAT format Caution When Storing Data It is recommend that the onboard NOR flash be used for storing programs only For log data generated by your programs use external storage media such as CompactFlash or a Network File System CompactFlash is much easier to replace if it is damaged or full NOR flash memory has a life cycle of 100 000 write oper...

Page 11: ...es I and II Since mass storage cards are considered to be standard attachments when an empty mass storage card is inserted in the slot the computer automatically formats it in FAT format Note that the formatting process takes a few minutes to complete When a mass storage card is inserted the UC 7400 CE creates a directory named CFFloder under the root directory For programming purposes use CFFlode...

Page 12: ...PCMCIA Ethernet Card 10 100M The UC 7420 CE should be work with most RTL8139 and NE2000 PCI PCMCIA cards RS 232 422 485 Serial Ports The UC 7400 CE computer has a total of 10 serial ports named COM1 COM2 COM10 COM1 is reserved for use by MOXA to test the firmware COM1 is located inside the UC 7400 CE s outer casing and is not available to end users COM2 is the console port COM2 provides users with...

Page 13: ...vity etc Some of these operations can be done using system commands after gaining access to the computer and others can be done using a web based management system The web based management system is described in a later chapter The following topics are covered in this chapter Starting the UC 7400 CE Resetting the UC 7400 CE Operating the UC 7400 CE from the Serial Console Changing the Network Sett...

Page 14: ...ry default settings press and hold the Reset to Default button for at least 5 seconds The buzzer will sound when the factory default settings are loaded After the factory default settings have been loaded the computer will reboot itself Do not confuse this with the Reset button Operating the UC 7400 CE from the Serial Console The serial console port located next to the two LAN ports gives users a ...

Page 15: ...ating your UC 7400 CE computer using the Telnet client we suggest that you change the network settings of the computer see the previous section so that at least one of the two network ports is on the same LAN as your development workstation Use a cross over Ethernet cable to connect your development workstation directly to the target computer or a straight through Ethernet cable to connect the com...

Page 16: ...he same as the user name useradd xxxx user xxxx has been added In addition you can permit this user to access a particular service by typing g followed by the user group name of the service I e useradd g groupName newUserID For example useradd g telnetd xxxx user xxxx is existent group telnetd is existent user xxxx has been added to group yyyy Deleting a User Use the command userdel userID to dele...

Page 17: ...17 PM Enter the new time hh mm ss 16 02 00 time T 4 02 04 PM Adjusting RTC Time Use the command hwclock w to convert the system time to the RTC time hwclock w Use the command hwclock w YYYY MM DD hh mm ss to update the RTC time manually hwclock w 2005 12 23 15 00 00 Use the command hwclock to query the updated RTC time hwclock 2005 12 23 15 00 00 Starting and Stopping Services After booting up the...

Page 18: ...y Enabled NO Use the ping command to troubleshoot network connectivity reachability and name resolution This command verifies IP level connectivity to another TCP IP computer by sending Internet Control Message Protocol ICMP Echo Request messages The corresponding return Echo Reply messages are displayed along with round trip times For more information type ping without parameters ping www moxa co...

Page 19: ...t to serve as an SNMP device You should install the SNMP manager on the workstation computer for example a Linux system that monitors the network After installing the nodes you need to configure the SNMP manager and agent To check SNMP agent capabilities on a target UC 7400 CE computer e g network IP address of 192 168 3 127 log on to the workstation e g a Linux based computer on which the SNMP ma...

Page 20: ...these computers control they often reside in harsh environments away from the system administrator To manage these computers operations such as networking server configuration file management and process thread monitoring control become a critical area to consider The following topics are covered in this chapter Logging Onto Web based Management System System Information Networking Server Configur...

Page 21: ...C 7400 CE To open the web based management system follow these steps 1 Point your PC s web browser to the UC 7400 CE s IP address When the main page opens select Web Based Management 2 When prompted enter the required authentication data including case sensitive user ID and password The default user ID and password are as follows User ID admin Password admin System Information After logging in the...

Page 22: ...pe the network parameters in the text input boxes and then click Update to activate the changes Serial Port Configuration The embedded computer has multiple high performance serial ports that can be set for RS 232 RS 422 or RS 485 operation All serial ports are set to RS 232 by default and serial ports can be set independently from one another Changes will take effect when the system is rebooted a...

Page 23: ...nu bar The processes that are running will be displayed You can kill a process by clicking the kill button next to the process name Launching Processes Automatically To have your application start on boot do the following Step 1 Click the Processes item on the main menu bar In the lower part of the page there is an area marked Automatic Launching Step 2 Fill in the full path of the application in ...

Page 24: ... a PC it is convenient to have a friendly window based file manager to browse delete and organize files and directories On the UC 7400 CE computer such a convenient feature is simulated by the web based management system Just click File Manager to view the directory tree of your target UC 7400 CE computer You can use the File Manager to perform the following operations y To browse a child director...

Page 25: ...t workstation you can use this mechanism to upload the application to the current directory of the target computer Step 1 Click Upload File A browser window pops up Step 2 From the pop up browser window click Browse to bring up a local file manager Step 3 Browse to and select the file that you want to upload and click open Step 4 Navigate back to the File Upload browser window and then click OK Th...

Page 26: ...tem A list without items comes with no action to be executed Each action item can be in plain text or an application that you develop The former is normally used for a reminder message such as a manual for operating the function keys The latter can be an LCM application Nevertheless this application is required to use the LCM APIs in our library mxdev lib to transmit the variable text to the LCM W...

Page 27: ...On your development PC develop the application and make sure that it can output a multi line text to the LCM display Step 2 Use the web based management system to upload the application to the target computer Step 3 Select the keypad LCM on the menu bar The browser opens a page showing five current sets of function key action items Step 4 Choose one set associated with a function key Select the Ap...

Page 28: ... the MOXA download center at http web4 moxa com support download_center asp to download the appropriate firmware update file for your embedded computer This will be an executable file such as UC7420CE_V1_2 exe 2 Copy this file to the root directory i e of your embedded computer We do not recommend that you perform the update from a CompactFlash card or a USB drive because performance will be very ...

Page 29: ...l Firmware Upgrade Procedure B 2 5 The upgrade proves should take about five minutes When the process is complete you will be asked if you wish to keep the current network settings Press Y to keep the current network settings ...

Page 30: ...UC 7400 CE User s Manual Firmware Upgrade Procedure B 3 6 Enter Y when prompted to reboot the embedded computer The system will be restarted with the new firmware in effect ...

Page 31: ...p 1 Open Internet Explorer and point it the following IP address http 192 168 3 127 sysadmin Client IE4 If necessary log on as an administrator The default administrator user ID is admin and the default administrator password is admin Step 2 Select Registry Editor in the top frame Step 3 Browse to HKEY_LOCAL_MACHINE Comm HTTPD Step 4 Add a DWORD value named Port The default value must be zero For ...

Page 32: ...xternal storage media such as USB drives and CompactFlash cards Q Where can I store files permanently on MOXA embedded computers A There is a sub directory named ORFlash under the root directory Use this directory to store persistent files Q Do MOXA embedded computer have a C or D directory as found on desktop PCs A MOXA embedded computers have a single root directory Any external storage media wi...

Page 33: ... A Yes MOXA embedded computers can be remotely rebooted Log onto the embedded computer from a remote client and use the command reboot to reboot the system Q What type of CompactFlash device is supported by MOXA embedded computers A MOXA embedded computers have Type II CompactFlash slots These slots support CompactFlash Type I and Type II mass storage devices Q What type of USB device is supported...

Page 34: ...ions C 4 Step 2 In the first text field enter the full path of the application In the second text field enter any arguments if required Click Add Step 3 Repeat steps 1 and 2 to set up additional applications that will start automatically upon bootup ...

Page 35: ...5 Q How do I monitor processes on MOXA embedded computers A In the Telnet or serial console you can execute ps to monitor current processes In the web console there is a Processes page You can monitor processes and kill a pending application on the system ...

Reviews: