beautypg.com

Acrosser AR-B1320 User Manual

Page 36

background image

A

A

R

R

-

-

B

B

1

1

3

3

2

2

0

0

U

U

s

s

e

e

r

r

s

s

G

G

u

u

i

i

d

d

e

e

3-16

(4) Write Data to Configuration Register

Example 1: Write data 68h to INDEX 3Bh

Unlock_Cfg_Reg

;Unlock configuration register

Mov

al, 3bh

;Points to index 3bh

Out

22h, al

Nop
Nop
Mov

al, 68h

Out

23h, al

;Write data

Nop
Nop
Lock_Cfg_Reg

;Lock configuration register

Note: The utility diskette includes the watchdog utility files, “WD6117C.EXE” and “WD6117C.CPP.”

“WD6117C.EXE” demonstrates how to set\ enable\disable the watchdog timer.
“WD6117C.CPP” is the source file of the “WD6117C.”

3.16 USING THE FLASH DISK

The AR-B1320 provides two 32-pin PLCC sockets, one 32-pin JEDEC DIP socket, and 1
DiskOnModule socket.

If small page (less or equal 512 bytes per page) 5V FLASHs were used, you could format FLASH
disk and copy files onto FLASH disk just like using a normal floppy disk. You can use all of the
related DOS command (such as COPY, DEL …etc.) to update files on the 5V FLASH disk.

The write protect function allows you to prevent your data on small page 5V FLASH or SRAM disk
from accidental deletion or overwrite.

The two 32-pin PLCC sockets and 32-pin JEDEC DIP socket may be populated with up to 1.5MB
flash disks. The 32-pin JEDEC DIP socket supports from 2MB to 144MB of DiskOnChip. The
following table shows the combinations of the SSD and DiskOnChip:

SW1-3 U2 (PLCC32) U5 (PLCC32)

U12

(DIP32)

Total

Flash

(SSD)

DiskOnChip

Remark

Off

Empty

Empty

Empty

0KB

Disabled

Factory

Preset

Off

512KB Flash

Empty

Empty

512KB

Disabled

Off

512KB Flash 512KB Flash

Empty

1MB

Disabled

Off

512KB Flash 512KB Flash

512KB

Flash

1.5MB

Disabled

On

Empty

Empty

DiskOnChip

0KB

Enabled

On

512KB Flash

Empty

DiskOnChip 512KB

Enabled

On

512KB Flash 512KB Flash DiskOnChip

1MB

Enabled

Table 3-10 Flash Disk Usage