NAR-5050/5070 Series User
’
s Manual
22
2.15 Reset to Default Information
This programming guide is for PPAP-3710L-0200 Reset to Default (RST2DFT)
feature.
Pin51 of NS PC87417, GPIO45, is defined as RST2DFT status pin that can be read
out to indicate RST2DFT flag.
The RST2DFT flag is defined as following:
(1) "1" : Normal State
Two events will set this flag to "1".
One is "PCI Reset Asserted", the other is "Read SET_RST2DFT I/O port".
(2) "0" : Load Default State.
The trigger event is by shorting JP1 pin1 and pin2 in a short time and then
released, i.e. making an active pulse/edge.
(JP1 "pin1 and pin2" pin header can be connected to a push button. When
the button has been pressed and released, a trigger event will clear
RST2DFT flag to "0" and System will enter to the Load Default state.
System can start the Load Default process due to RST2DFT flag is "0".)
RST2DFT flag can be polled and read its status periodically.
This flag can be set to "1" by reading the SET_RST2DFT I/O port and back to the
normal state.
SET_RST2DFT I/O port Address is "CDEFh" by BIOS initiation and can be changed by
changing two another I/O port content.
I/O Port "0F57h" contains SET_RST2DFT I/O port Address [A15..A8].
I/O Port "0F56h" contains SET_RST2DFT I/O port Address [A7..A0].
For example, SET_RST2DFT I/O port address is "CDEFh", then I/O Port "0F57h"
contains the value "CDh", and I/O Port "0F56h" contains the value "EFh".
The following Assembly code is a sample code to read the RST2DFT flag.
;
RST2DFT_Flag_Read
;
; Index_IO_Port dw 002Eh
; Data_IO_Port
dw 002Fh
; GPIO_LDN db 07h
; SIOCFG3
db 23h ; Index 23h
; GPSEL
db F0h ; Index F0h
; GPCFG1
db F1h ; Index F1h
; GPDI4
db 0Bh ; Offset 0Bh
;
; Input : None ,
;
; Return : Carry : "1(set)" : Normal State
; : "0(clear)" : Load Default State
RST2DFT_Flag_Read PROC near
Index_IO_Port dw 002Eh ;
Data_IO_Port
dw 002Fh ;
GPIO_LDN db 07h
;
SIOCFG3
db 23h
; Index 23h
GPSEL
db F0h
; Index F0h