+ All Categories
Home > Documents > UniMAP 1 The Target Hw 1.The TS5500 SBC 2.TS5500 hardware details and 3.Memory map 4.TS5500...

UniMAP 1 The Target Hw 1.The TS5500 SBC 2.TS5500 hardware details and 3.Memory map 4.TS5500...

Date post: 27-Dec-2015
Category:
Upload: hilda-cannon
View: 220 times
Download: 1 times
Share this document with a friend
Popular Tags:
20
1 UniMAP The Target Hw 1. The TS5500 SBC 2. TS5500 hardware details and 3. Memory map 4. TS5500 operating system 5. Booting up the SBC 6. Loading application software to the board 7. Interfacing LCD (command line) 8. Interfacing Keypad (command line)
Transcript

1

UniMAP

The Target Hw

1. The TS5500 SBC 2. TS5500 hardware details and 3. Memory map4. TS5500 operating system 5. Booting up the SBC6. Loading application software to the board7. Interfacing LCD (command line)8. Interfacing Keypad (command line)

2

UniMAP

The TS 5500 SBCPC compatible Single Board Computer with 133 MHz AMD Elan586 processor.

• 32-64 MB SDRAM • 10/100 Ethernet • 2 USB ports • PCMCIA socket • Disk On Chip• Compact Flash socket • 3 COM ports

– Com 2- used for communicating with the dev host and target• 38 DIO • PC/104 expansion bus –extra needed pheripherals goes here• 2 MB Flash drive – we use compact flash• A/D converter

3

UniMAP

TS5500 Figure

4

UniMAP

Power• The TS-5500 requires regulated 5VDC at 900 mA (typical).

• When power is first supplied to the TS-5500, the board mounted LED is immediately turned on under hardware control.

• Once the processor begins execution, the LED is turned off. • The LED then turns on then off to provide a characteristic blink during

execution of power on self test (POST).

• If the LED does not turn on at all, the most likely problem is the power supply. Check that the +5V and GND connections are not reversed. A diode protects the board against damage in such a situation, but of course it will not run.

• Supply voltages over 6 VDC may damage the TS-5500.

• Be sure to use a regulated 5 VDC power supply.

5

UniMAP

Memory- RAM

• The TS-5500 has a total of 32 Megabytes (MB) of high-speed SDRAM providing – 640 Kilobytes (KB) of base memory, – 15 MB of extended memory, and – 128 KB of shadow RAM for the BIOS.

• This is identical to a standard PC memory map.

6

UniMAP

Memory -Flash• There is a total of 2 MB of Flash memory on the TS-5500

with 128KB reserved for the BIOS.

• During power-on–self-test (POST), this 128 KB area is copied from Flash into SDRAM at addresses E0000h through FFFFFh for improved performance (a standard technique known as BIOS Shadowing).

• The remainder of the Flash memory (1920 KB) is configured as two solid-state disk (SSD) drives appearing as drive A and drive B. – Drive A uses 896 KB of Flash memory while – drive B uses the remaining 1024 KB of Flash memory.

7

UniMAP

Flash cont…

• Power failure during flash writes can cause corruption of flash drive FAT tables (A: or B:).

• Therefore applications writing frequently should use DiskOnChip or Compact Flash card drives which are more tolerant of power failure during write cycles.

• Flash drive A is read-only when JP3 is not installed. Removing JP3 also makes the 128 kbyte BIOS area of the Flash write protected as well.

• Write protecting the A: drive can be useful if there are critical files in the final product that must be very secure.

8

UniMAP

Compact Flash cards

• A SanDisk USB Compact Flash reader/writer is recommended for the host PC for file transfers.

• This results in the ability to quickly move files from a host PC to the TS-5500 using a Compact Flash card as the removable media.

• Since the Compact Flash card appears as a standard IDE drive on the TS-5500, it uses no additional RAM for drivers.

• While a USB Compact Flash reader allows for hot swapping of the Compact Flash card on the host PC, the Compact Flash interface on the TS-5500 is not hot swappable, the TS-5500 must be rebooted after removing or installing a Compact Flash card.

9

UniMAP

TS 5500 OS

Features of TS-Linux 3.0• Glibc version 2.2.5 • Kernel version 2.4.23 • Apache web server with PHP. • Telnet server and client. • FTP server and client. • BASH, ASH, minicom, vi, busybox, tinylogin, and other basic utilities

included • Boot from Compact Flash using Syslinux multiboot • Supports NFS mount of root file system across network. • Drivers for digital I/O and Analog available. • Total footprint less than 18 MB (requires 32 MB or larger

DiskOnChip) • Red-Hat Like systemV Operating System.

10

UniMAP

Linux File System structure

11

UniMAP

….Descripition

• This is a layout from a RedHat system. Depending on the system admin, the operating system and the mission of the UNIX machine, the structure may vary, and directories may be left out or added at will. The names are not even required; they are only a convention.

• The tree of the file system starts at the trunk or slash, indicated by a forward slash (/). This directory, containing all underlying directories and files, is also called the root directory or "the root" of the file system.

• Directories that are only one level below the root directory are often preceded by a slash, to indicate their position and prevent confusion with other directories that could have the same name. When starting with a new system, it is always a good idea to take a look in the root directory.

12

UniMAP

Directory Content

/bin Common programs, shared by the system, the system administrator and the users.

/bootThe startup files and the kernel, vmlinuz. In some recent distributions also grub data. Grub is the GRand Unified Boot loader and is an attempt to get rid of the many different boot-loaders we know today.

/dev Contains references to all the CPU peripheral hardware, which are represented as files with special properties.

/etcMost important system configuration files are in /etc, this directory contains data similar to those in the Control Panel in Windows

/home Home directories of the common users.

/initrd (on some distributions) Information for booting. Do not remove!

/lib Library files, includes files for all kinds of programs needed by the system and the users.

/lost+found Every partition has a lost+found in its upper directory. Files that were saved during failures are here.

/misc For miscellaneous purposes.

/mnt Standard mount point for external file systems, e.g. a CD-ROM or a digital camera.

/net Standard mount point for entire remote file systems

/opt Typically contains extra and third party software.

/procA virtual file system containing information about system resources. More information about the meaning of the files in proc is obtained by entering the command man proc in a terminal window. The file proc.txt discusses the virtual file system in detail.

/rootThe administrative user's home directory. Mind the difference between /, the root directory and /root, the home directory of the root user.

/sbin Programs for use by the system and the system administrator.

/tmp Temporary space for use by the system, cleaned upon reboot, so don't use this for saving any work!

/usr Programs, libraries, documentation etc. for all user-related programs.

/varStorage for all variable files and temporary files created by users, such as log files, the mail queue, the print spooler area, space for temporary storage of files downloaded from the Internet, or to keep an image of a CD before burning it.

13

UniMAP

Booting up the SBC

14

UniMAP

Communicate between Development Host and SBC

• Set the serial parameters of the Desktop serial port, so that it match the SBC serial param.

• Need a serial communication program. We use minicom….need root privilege.

• Baud rate must be changed to 115200.• Save and exit from minicom

15

UniMAP

…Now we are ready to boot up the SBC

• Re run minicom and SBC boot up message shall appear :

Miniepc.embeddedx86.com login: (type root)

Login[206]:cannot open secure tty file.

Password: (type redhat)

16

UniMAP

gettin on the network• To setup the SBC for accessing a particular LAN, we have

to edit a file which set the Wired LAN network setting located at /etc/sysconfig/ifcfg-eth0.

• wireless network setting stored at /etc/pcmcia/network.opts

• What we need to do is to disable the static IP coded and allow DHCP.

• Note:DHCP (dynamic host configuration protocol) is an extensively used TCP/IP (transmission control protocol/Internet protocol) protocol for dynamically assigning IP addresses to devices on a network.

17

UniMAP

… Configuring the board as an FTP server

• An ftp package named ProFTPd has been installed ion the system.

• The content of configuration file located at /etc/ named proftpd.conf need to be changed– Changes to be made …AllowAll– Root login permission must be turn on

18

UniMAP

..telnet

• /etc/inetd.conf

• Edit the above file to allow telnet, then user can users can telnet to the SBC, BUT the SBC cannot telnet to other hosts.

19

UniMAP

Activating SSH on the SBC

• Secure shell protocol (ssh) is enabled on the board through on openSSH function called dropbear.

• Upon activation of dropbear, the Secure copy (scp) command may be used to transfer files between host and sbc vice versa.

20

UniMAP

Done for now


Recommended