CPC314
C P C 3 1 4 U s e r M a n u a l
50
© 2 0 2 1 F a s t w e l V e r . 0 0 1
Output:
AX = result code (0
– no error, -2 (0FFFEh) – parameter error, invalid address)
BX = maximum allowed address (size of the user area -1)
CX = number of bytes actually read
This function reads the specified bytes of the FRAM user area into the
calling program’s
buffer.
4.5.2 Writing user data to FRAM
Input:
AL = 0Dh
BX = data start address in FRAM user area
CX = number of bytes written
DS:DX = indicates to the written data
Output:
AX = result code (0
– no error, -2 (0FFFEh) – parameter error, invalid address)
BX = maximum allowed address (size of the user area -1)
CX = number of bytes actually written
* This function writes data to the FRAM user area.
4.6 Service programs
This chapter describes a set of drivers for working with I/O equipment connected to the
device.
4.6.1 BIOS update utilities
The
ANYBIOS.EXE
program is designed for modifying the BIOS with writing to the
integrated SPI-Flash of the processor in the device.
To modify BIOS, run the program with the "
w
" key and specify the BIOS file name "
bios.bin
"
as a parameter and the key for skipping the MAC address recording of the Ethernet controller
integrated into the processor:
anybios.exe w bios.bin skipmac
4.6.2 CMOS_RST.EXE utility (remote reset of BIOS settings)
The
CMOS_RST.EXE
is designed for resetting the BIOS settings to the default state (similar
to the action of the BIOS Setup "Load Optimal Defaults" item). To reset the settings using the
CMOS_RST.EXE
program, you should connect the COM1 or COM2 port of the device of the
product with a PC COM port with a null modem cable and turn on the power supply of the product
(the settings will be reset and written to CMOS and FRAM, then a hardware reset will be