This document is copyrighted, 2010. All rights are reserved. The
original manufacturer reserves the right to make improvements to
the products described in this manual at any time without notice.
No part of this manual may be reproduced, copied, translated, or
transmitted in any form or by any means without the prior written
permission of the original manufacturer. Information provided in
this manual is intended to be accurate and reliable. However, the
original manufacturer assumes no responsibility for its use, or for
any infringements upon the rights of third parties that may result
from its use.
The material in this document is for product information only and
is subject to change without notice. While reasonable efforts have
been made in the preparation of this document to assure its
accuracy, AAEON assumes no liabilities resulting from errors or
omissions in this document, or from the use of the information
contained herein.
AAEON reserves the right to make changes in the product design
without notice to its users.
i
PC/104 CPU Module PFM-535S
Acknowledgments
All other products’ name or trademarks are properties of their
respective owners.
z Award is a trademark of Award Software International, Inc.
z CompactFlash™ is a trademark of the Compact Flash
Association.
®
z Microsoft Windows
z AMD Geode
®
Devices, Inc.
z ITE is a trademark of Integrated Technology Express, Inc.
z IBM, PC/AT, PS/2, and VGA are trademarks of International
Business Machines Corporation.
zSoundBlaster is a trademark of Creative Labs, Inc.
All other product names or trademarks are properties of their
respective owners.
is a registered trademark of Microsoft Corp.
is a registered trademark of Advanced Micro
ii
PC/104 CPU Module PFM-535S
Packing List
Before you begin installing your card, please make sure that the
following materials have been shipped:
z Cable Kit
z Quick Installation Guide
z Utility CD
z PFM-535S w/Heatsink
Note:
If any of these items should be missing or damaged, please
contact your distributor or sales representative immediately.
C.1 List of Mating Connectors and Cables.................. C-2
v
PC/104 CPU Module PFM-535S
Information
Chapter
1
General
Chapter 1 General Information 1- 1
PC/104 CPU Module PFM-535S
1.1 Introduction
AAEON Technology, a leading company in embedded boards
manufacturing with a full range of PC/104 CPU Modules, launches a
brand new PC/104 CPU Module PFM-535S. Its compact size and
rich functionality ensures the most cost effective and compatible
module to coincide with your existing system planning devices.
PFM-535S adopts a DM&P
®
Vortex86SX®/ Vortex86DX®SoC
Processor that are more cost effective compared to other PC/104 CPU
modules on the market. Although PFM-535S is a small board, it
offers the full functions customers demand. The chipset of
PFM-535S deploys DM&P
®
Vortex86SX®/ Vortex86DX® SoC
Processor that makes this board achieve high performance. It
features two 10/100Base-TX Ethernet ports, four USB 2.0 ports, four
serial ports, one parallel port, watchdog timer and includes one
PC/104+ socket expansion.
Chapter 1 General Information1- 2
PC/104 CPU Module PFM-535S
1.2 Features
z Onboard DM&P® Vortex86SX®/ Vortex86DX® SoC
Processor
z Onboard DDR2 Memory 256MB
z 10/100Base-TX Ethernet x 2
z CRT & 24-bit TTL LCD
z EIDE x 1, CompactFlash™ x 1
z USB2.0 x 4, COM x 4
z PC/104+ Expansion
z +5V Only Operation, AT Power Type
Chapter 1 General Information
1 - 3
PC/104 CPU Module PFM-535S
1.3 Specifications
System
z Processor Onboard DM&P
Vortex86DX
z System Memory Onboard DDR2 Memory 256MB
z Chipset DM&P
Vortex86DX
z I/O Chipset DM&P Vortex86DX
z Ethernet Vortes86SX
Mac Controller (LAN1), Intel
82551ER (LAN2)
z BIOS AMI - 256KB Flash
z Watchdog Timer Generates a time-out system
®
Vortex86SX®/
®
SoC Processor
®
Vortex86SX®/
®
SoC
®
Vortex86SX®/
®
SoC
®
/ Vortex86DX®
®
reset
z RTC Vortes86SX
®
/ Vortex86DX®
z Expansion Interface PC/104+
z Power Requirement +5V/ AT
z Board Size 3.55" (L) x 3. 77" (W) (90mm x
96mm)
zOperating Temperature 32˚F~ 140˚F (0˚C ~ 60˚C)
zStorage EIDE x 1 (for two devices), CompactFlash™ x 1
z Serial Port RS-232 x 3, RS-232/422/485 x 1
z USB Four USB2.0 ports
z PS/2 Port One keyboard and one mouse
support
Chapter 1 General Information
1 - 5
PC/104 CPU Module PFM-535S
d
f
r
r
e
p
Installation
Chapter
2
Quick
Guide
Part No. 2007535S10 Printed in Taiwan, July 2009
The Quick Installation Guide is derive
rom Chapter 2 of user manual. For othe
chapters andfurther installation
instructions, please refer to the use
manual CD-ROM that came with th
roduct.
Chapter 2 Quick Installation Guide 2 - 1
Notice:
PC/104 CPU Module PFM-535S
2.1 Safety Precautions
Always completely disconnect the power cord
from your board whenever you are working on
it. Do not make connections while the power is
on, because a sudden rush of power can
damage sensitive electronic components.
Always ground yourself to remove any static
charge before touching the board. Modern
electronic devices are very sensitive to static
electric charges. Use a grounding wrist strap at
all times. Place all electronic components on a
static-dissipative surface or in a static-shielded
bag when they are not in the chassis
Chapter 2 Quick Installation Guide 2 - 2
PC/104 CPU Module PFM-535S
2.2 Location of Connectors and Jumpers
Component Side
JP2
JP3
CN5
LPT1
JP4
LAN1
LAN2
JP6
CN2
CN3
CN1
JP1
BT1
CN4
USB1
USB2
IDE1
CN6
VGA1
JP5
CN8
CN7
CN9
Chapter 2 Quick Installation Guide 2- 3
PC/104 CPU Module PFM-535S
Solder Side
CFD1
Chapter 2 Quick Installation Guide 2 - 4
PC/104 CPU Module PFM-535S
2.3 Mechanical Drawing
Component Side
Chapter 2 Quick Installation Guide 2- 5
PC/104 CPU Module PFM-535S
Solder Side
CFD1
Chapter 2 Quick Installation Guide 2 - 6
PC/104 CPU Module PFM-535S
2.4 List of Jumpers
The board has a number of jumpers that allow you to configure your
system to suit your application.
The table below shows the function of each of the board's jumpers:
The board has a number of connectors that allow you to configure
your system to suit your application. The table below shows the
function of each board's connectors:
Note: For further information about mating connectors, please refer
to the appendix of manual.
Connectors
Label Function
CN1 2P Power Connector (Options)
CN2 Front Panel Connector 8x1
CN3 Front Panel Connector 10x1
CN4 JTAG Connector
CN5 RS-232/422/485 Serial Port Connector
CN6 TTL_LCD Connector
CN7 PCI-104 Connector
CN8
CN9 4P Power Connector
IDE1 ATA-33 IDE Connector
VGA1 VGA Display Connector
LPT1 LPT Port Connector
USB1 USB Connector
USB2 USB Connector
LAN1 10/100Base-TX Ethernet Connector
LAN2 10/100Base-TX Ethernet Connector
You configure your card to match the needs of your application by
setting jumpers. A jumper is the simplest kind of electric switch. It
consists of two metal pins and a small metal clip (often protected by
a plastic cover) that slides over the pins to connect them. To “close”
a jumper you connect the pins with the clip.
To “open” a jumper you remove the clip. Sometimes a jumper will
have three pins, labeled 1, 2 and 3. In this case you would connect
either pins 1 and 2 or 2 and 3.
3
2
1
OpenCedC2-3loslosed
OFF
ON ON 2-3
A pair of needle-nose pliers may be helpful when working with
jumpers. If you have any doubts about the best hardware
configuration for your application, contact your local distributor or
sales representative before you make any change. Generally, you
simply need a standard cable to make most connections.
Chapter 2 Quick Installation Guide 2- 9
PC/104 CPU Module PFM-535S
2.7 Clear CMOS (JP1)
JP1 Function
1-2 Protected (Default)
2-3 Clear
2.8 RS-232/485 Isolation Setting (JP2)
JP2 Function
RS-232 OFF (Default)
RS-485 ON
2.9 COM2 Ring/+5V Selection (JP3)
JP3 Function
1-2 +5V
2-3 Ring (Default)
2.10 COM2 RS-232/422/485 Selection (JP4)
JP4 Function
1-2 RS-232 (Default)
3-4 RS-422
5-6 RS-485
2.11 TTL-LCD Clock Selection (JP5)
JP5 Function
1-2 Normal Clock (Default)
Chapter 2 Quick Installation Guide 2 - 10
PC/104 CPU Module PFM-535S
2-3 Reverse Clock
2.12 PC/104+ (PCI-104) I/O Voltage Selection (JP6)
JP6 Function
1-2 +5V
2-3 +3.3V (Default)
2.13 2P Power Connector (CN1)
Pin Signal
1 GND
2 +5V
2.14 Front Panel Connector (CN2)
Pin Signal
1 Lan1 Speed LED(+)
2 Lan1 Speed LED(-)
3 Lan1 Active LED(+)
4 Lan1 Active LED(-)
5 Lan2 Speed LED(+)
6 Lan2 Speed LED(-)
7 Lan2 Active LED(+)
8 Lan2 Active LED(-)
Chapter 2 Quick Installation Guide 2- 11
PC/104 CPU Module PFM-535S
2.15 Front Panel Connector (CN3)
Pin Signal
1 N.C
2 N.C
3 External Buzzer (+)
4 External Buzzer (-)
5 IDE LED (+)
6 IDE LED (-)
7 Power LED (+)
8 Power LED (-)
9 Reset Switch (+)
10 Reset Switch (-)
These routines test and initialize board hardware. If the routines
encounter an error during the tests, you will either hear a few short
beeps or see an error message on the screen. There are two kinds
of errors: fatal and non-fatal. The system can usually continue the
boot up sequence with non-fatal errors. Non-fatal error messages
usually appear on the screen along with the following instructions:
Press <F1> to RESUME
Write down the message and press the F1 key to continue the boot
up sequence.
System configuration verification
These routines check the current system configuration against the
values stored in the CMOS memory. If they do not match, the
program outputs an error message. You will then need to run the
BIOS setup program to set the configuration information in memory.
There are three situations in which you will need to change the
CMOS settings:
1. You are starting your system for the first time
2. You have changed the hardware attached to your system
3. The CMOS memory has lost power and the configuration
information has been erased.
The PFM-535S CMOS memory has an integral lithium battery
backup for data retention. However, you will need to replace the
complete unit when it finally runs down.
Chapter 3 AMI BIOS Setup 3-2
PC/104 CPU Module PFM-535S
3.2 AMI BIOS Setup
AMIs BIOS ROM has a built-in Setup program that allows users to
modify the basic system configuration. This type of information is
stored in battery-backed CMOS RAM so that it retains the Setup
information when the power is turned off.
Entering Setup
Power on the computer and press <Del> immediately. This will
allow you to enter Setup.
Main
Use this menu for basic system configuration. (Processor, System
memory, Date, etc.)
Advanced
Use this menu to set the advanced features available on your
system.
PCIPnP
This entry appears if your system supports PnP/PCI.
Boot
This menu shows boot setting configurations.
Security
Use this menu to set the password for system security.
Chipset
Use this menu to set Northbridge and Southbridge configuration.
Exit
Use this menu to load or save CMOS value and exit setup.
You can refer to the “ BIOS Item Description ” option in the CD
auto-run menu for the meaning of each setting in this chapter.
Chapter 3 AMI BIOS Setup 3-3
PC/104 CPU Module PFM-535S
A
Programming the
Watchdog Timer
Appendix
Appendix A Programming the Watchdog Timer A-1
PC/104 CPU Module PFM-535S
A.1 Programming
There are two watchdog timers in Vortex86SX/DX CPU. One is
compatible with M6117D watchdog timer and the other is new. The
M6117D compatible watchdog timer is called WDT0 and new one is
called WDT1.
WDT0
To access WDT0 registers, programmer can use index port 22H
and data port 23H. The watchdog timer uses 32.768 kHz frequency
source to count a 24-bit counter so the time range is from 30.5u sec
to 512 sec with resolution 30.5u sec. When timer times out, a
system reset, NMI or IRQ may happen to be decided by BIOS
programming.
Appendix A Programming the Watchdog Timer A-2
PC/104 CPU Module PFM-535S
Here are steps to setup watchdog timer:
1. Set Bit 6 = 0 to disable the timer.
2. Write the desired counter value to 3Bh, 3Ah, 39h.
3. Set Bit 6 = 1 to enable the timer, the counter will begin to count
up.
4. When counter reaches the setting value, the time out will
generate signal setting by index 38h bit[7:4]
5. BIOS can read index 3Ch Bit 7 to decide whether the Watchdog
timeout event will happen or not.
To clear the watchdog timer counter:
1. Set Bit 6 = 0 to disable timer. This will also clear counter at the
same time.
WDT1
WDT1 does not use index and data port to access WDT registers. It
uses I/O port 68H~6DH. The time resolution of WDT1 is 30.5 u
second. Here are registers information:
Appendix A Programming the Watchdog Timer A-3
PC/104 CPU Module PFM-535S
Here are steps to setup WDT1:
1. Write time into register 6Ah-6Ch.
2. Select signal from register 69h.
3. Set register 68h bit 8 to enable WDT1.
To clear the watchdog timer counter:
1. Write any value to register 67H
Appendix A Programming the Watchdog Timer A-4
PC/104 CPU Module PFM-535S
WDT0 DOS Example
#include <stdio.h>
#include <conio.h>
void main()
{
unsigned char c;
unsigned int lTime;
outp(0x22,0x13); // Lock register
outp(0x23,0xc5); // Unlock config. register
// 500 mini-second
lTime = 0x20L * 500L;
outp(0x22,0x3b);
outp(0x23,(lTime>>16)&0xff);
outp(0x22,0x3a);
outp(0x23,(lTime>> 8)&0xff);
outp(0x22,0x39);
outp(0x23,(lTime>> 0)&0xff);
// Reset system
outp(0x22,0x38);
c = inp(0x23);
c &= 0x0f;
c |= 0xd0; // Reset system. For example, 0x50 to trigger IRQ7
outp(0x22,0x38);
outp(0x23,c);
// Enable watchdog timer
Appendix A Programming the Watchdog Timer A-5
PC/104 CPU Module PFM-535S
outp(0x22,0x37);
c = inp(0x23);
c |= 0x40;
outp(0x22,0x37);
outp(0x23,c);
outp(0x22,0x13); // Lock register
outp(0x23,0x00); // Lock config. register
printf("Press any key to stop trigger timer.\n");
while(!kbhit())
{
outp(0x22,0x13); // Unlock register
outp(0x23,0xc5);
outp(0x22,0x3c);
unsigned char c = inp(0x23);
outp(0x22,0x3c);
outp(0x23,c|0x40);
outp(0x22,0x13); // Lock register
outp(0x23,0x00);
}
printf("System will reboot after 500 milli-seconds.\n");
}
Appendix A Programming the Watchdog Timer A-6
PC/104 CPU Module PFM-535S
WDT1 DOS Example
#include <stdio.h>
#include <conio.h>
void main()
{
unsigned char c;
unsigned long lTime;
// 500 mini-second
lTime = 0x20L * 500L;
outp(0x6c, (lTime >> 16) & 0xff);
outp(0x6b, (lTime >> 8) & 0xff);
outp(0x6a, (lTime >> 0) & 0xff);
// Reset system. For example, 0x50 to trigger IRQ7
outp(0x69, 0xd0);
// Enable watchdog timer
c = inp(0x68);
c |= 0x40;
outp(0x68, c);
printf("Press any key to stop trigger timer.\n");
while(!kbhit())
outp(0x67, 0x00);
printf("System will reboot after 500 milli-seconds.\n");
}
Appendix A Programming the Watchdog Timer A-7
PC/104 CPU Module PFM-535S
WDT0 Windows CE Example
#include "stdafx.h"
unsigned char inportb(int addr)
{
__asm
{
push edx
mov edx, DWORD PTR addr
in al, dx
and eax, 0xff
pop edx
}
}
void outportb(int addr, unsigned char val)
{
__asm
{
push edx
mov edx, DWORD PTR addr
mov al, BYTE PTR val
out dx, al
pop edx
}
}
void main(void)
Appendix A Programming the Watchdog Timer A-8
PC/104 CPU Module PFM-535S
{
unsigned char c;
unsigned int lTime;
outp(0x22,0x13); // Lock register
outp(0x23,0xc5); // Unlock config. register
// 500 mini-second
lTime = 0x20L * 500L;
outp(0x22,0x3b);
outp(0x23,(lTime>>16)&0xff);
outp(0x22,0x3a);
outp(0x23,(lTime>> 8)&0xff);
outp(0x22,0x39);
outp(0x23,(lTime>> 0)&0xff);
// Reset system
outp(0x22,0x38);
c = inp(0x23);
c &= 0x0f;
c |= 0xd0; // Reset system. For example, 0x50 to trigger IRQ7
outp(0x22,0x38);
outp(0x23,c);
// Enable watchdog timer
outp(0x22,0x37);
c = inp(0x23);
c |= 0x40;
outp(0x22,0x37);
Appendix A Programming the Watchdog Timer A-9
PC/104 CPU Module PFM-535S
outp(0x23,c);
outp(0x22,0x13); // Lock register
outp(0x23,0x00); // Lock config. register
printf("Press any key to stop trigger timer.\n");
while(!kbhit())
{
outp(0x22,0x13); // Unlock register
outp(0x23,0xc5);
outp(0x22,0x3c);
unsigned char c = inp(0x23);
outp(0x22,0x3c);
outp(0x23,c|0x40);
outp(0x22,0x13); // Lock register
outp(0x23,0x00);
}
printf("System will reboot after 500 milli-seconds.\n");
}
mov edx, DWORD PTR addr
in al, dx
and eax, 0xff
pop edx
}
}
void outportb(int addr, unsigned char val)
{
__asm
{
push edx
mov edx, DWORD PTR addr
mov al, BYTE PTR val
out dx, al
pop edx
}
}
void main(void)
{
unsigned char c;
unsigned long lTime;
// 500 mini-second
lTime = 0x20L * 500L;
outp(0x6c, (lTime >> 16) & 0xff);
outp(0x6b, (lTime >> 8) & 0xff);
Appendix A Programming the Watchdog Timer A-11
PC/104 CPU Module PFM-535S
outp(0x6a, (lTime >> 0) & 0xff);
// Reset system. For example, 0x50 to trigger IRQ7
outp(0x69, 0xd0);
// Enable watchdog timer
c = inp(0x68);
c |= 0x40;
outp(0x68, c);
printf("Press any key to stop trigger timer.\n");
while(!kbhit())
outp(0x67, 0x00);
printf("System will reboot after 500 milli-seconds.\n");
}
Appendix A Programming the Watchdog Timer A-12
PC/104 CPU Module PFM-535S
I/O Information
Appendix
B
Appendix B I/O Information B-1
PC/104 CPU Module PFM-535S
B.1 I/O Address Map
Address Description
0000h - 000Fh DMA 8237-1
0018h - 001Fh Empty
0020h - 0021h PIC 8259-1
0024h - 002Dh Empty
002Eh - 002Fh Forward to LPC BUS
0030h - 003Fh Empty
0040h - 0043h Timer counter 8254
0061h Port B + NMI control port
0062h - 0063h 8051 download 4K address counter
0064h Keyboard status port
0065h WatchDog0 reload counter
0066h 8051 download 8bit data port
0067h WatchDog1 reload counter
0068h - 006Dh WatchDog1 control register
006Eh - 006Fh Empty
0070h - 0071h CMOS RAM port
0072h - 0075h MTBF counter
0076h - 0077h Empty
0078h - 007Ch GPIO port 0,1,2,3,4 default setup
007Dh - 007Fh Empty
0080h - 008Fh DMA page register
0090h - 0091h Empty
Appendix B I/O Information B-2
PC/104 CPU Module PFM-535S
0092h System control register
0093h - 0097h Empty
0098h - 009Ch GPIO direction control
00A0h - 00A1h PIC 8259-2
00A2h - 00BFh Empty
00C0h - 00DFh DMA 8237-2
00E0h - 00FFh Empty
0100h - 0101h GPCS1 default setting address
0170h - 0177h IDE1 (IRQ 15)
01F0h - 01F7h IDE0 (IRQ 14)
0278h - 027Fh Printer port (IRQ 7, DMA 0)
02E8h - 02EFh COM4 (IRQ 11)
02F8h - 02FFh COM2 (IRQ 3)
0376h IDE1 ATAPI device control write only register
03E8h - 03Efh COM3 (IRQ 10)
03F0h - 03F7h Floppy Disk (IRQ 6, DMA 2)
03F6h IDE0 ATAPI device control write only register
03F8h - 03FFh COM1 (IRQ 4)
0480h - 048Fh DMA High page register
0490h - 0499h Instruction counter register
04D0h - 04D1h 8259 Edge,/ level control register
0CF8h - 0CFFh PCI configuration port
D400h - D4FFh on board LAN
FC00h - FC05h SPI Flash BIOS control register
FC08h - FC0Dh
Appendix B I/O Information B-3
External SPI BUS control register ( output pin
configurable GPIO3[0-3] )
PC/104 CPU Module PFM-535S
B.2 1st MB Memory Address Map
Memory Address Description
0000:0000-9000:FFFF System RAM
A000:0000-A000:FFFF EGA/VGA Video Memory
B000:0000-B000:7FFF MDA RAM, Hercules graphics display RAM
B000:8000-B000:FFFF CGA display RAM
C000:0000-C000:7FFF EGA/VGA BIOS ROM
C000:8000-C000:FFFF Boot ROM enable.
D000:0000-D700:FFFF Expansion ROM space.
D800:0000-DB00:FFFF SPI FLASH Emulation Floppy A Enable
DC00:0000-DF00:FFFF Expansion ROM space.
E000:0000-E000:FFFF USB Legacy SCSI ROM space.
F000:0000-F000:FFFF Motherboard BIOS
B.3 IRQ Mapping Chart
IRQ0 System Timer
IRQ1 Keyboard Controller
IRQ2 Cascade for IRQ8 - 15
IRQ3 Serial Port 2
IRQ4 Serial Port 1
IRQ5 USB / Ethernet 10/100M LAN
IRQ6 USB
IRQ7 Parallel Port
IRQ8 Real Time Clock
IRQ9 Available
IRQ10 Serial Port 3
Appendix B I/O Information B-4
PC/104 CPU Module PFM-535S
IRQ11 Serial Port 4
IRQ12 Mouse
IRQ13 Math Coprocessor
IRQ14 Hard Disk Controller#1
IRQ15 USB
B.4 DMA Channel Assignments
DMA Channel Function
0 Available
1 Available
3 Available
5 Available
6 Available
7 Available
Appendix B I/O Information B-5
PC/104 CPU Module PFM-535S
x Appendi
Mating Connecotor
C
Appendix B Mating Connector C - 1
PC/104 CPU Module PFM-535S
r
B.1 List of Mating Connectors and Cables
The table notes mating connectors and available cables.
Connector
Label
CN1
CN2
CN3
CN4
CN5
CN6
CN8
CN9
VGA1
Function
2P Power
Connector
Front Panel
Connector
Front Panel
Connector
JTAG
Connector
COM port
Connector
TTL LCD
Connector
PS2
Keyboard/
Mouse
Connector
4P power
Connector
VGA
Display
Connector
Mating Connector
VendorModel no
N/A N/A
Molex
Molex
CATCH
CATCH
Hirose
CATCH
Ever 2542H-04 N/A N/A
CATCH
Molex
51021-0800
Molex
51021-1000
2.00mm
Pitch 8
( CATCH
H754-2x4 or
compatible)
2.00mm
Pitch 40
pins
( CATCH
H754-2x20
or
compatible)