11.02.2013 Views

SMSC LPC47N252 Data Sheet - Keil

SMSC LPC47N252 Data Sheet - Keil

SMSC LPC47N252 Data Sheet - Keil

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table 43 – FDC Status Register 2<br />

B IT N O. SYM BOL N AM E D ESCR IPT ION<br />

7 U nused. T his bi t is al ways "0" .<br />

6 C M C ontr ol Mar k Any one of the fol low ing:<br />

R ead D ata com mand - the F D C encountered a del eted data<br />

address mar k.<br />

R ead D el eted <strong>Data</strong> com mand - the F DC encounter ed a data<br />

address mar k.<br />

5 D D D ata Err or in<br />

D ata F ield<br />

T he F D C detected a C R C er r or i n the data fi el d.<br />

4 W C W rong Cyli nder T he tr ack address fr om the sector ID fiel d is di fferent fr om the<br />

track addr ess m aintai ned i nside the FD C.<br />

3 U nused. T his bi t is al ways "0" .<br />

2 U nused. T his bi t is al ways "0" .<br />

1 BC Bad C yli nder T he tr ack address fr om the sector ID fiel d is di fferent fr om the<br />

track addr ess m aintai ned i nside the FD C and i s equal to FF<br />

hex, w hi ch indi cates a bad track wi th a har d err or accor di ng to<br />

the IBM soft- sectored for m at.<br />

0 M D M issi ng <strong>Data</strong><br />

Address Mar k<br />

T he F D C cannot detect a data addr ess m ar k or a del eted data<br />

address mar k.<br />

Table 44 – FDC Status Register 3<br />

B IT N O. SYM BOL N AM E D ESCR IPT ION<br />

7 U nused. T his bi t is al ways "0" .<br />

6 W P W ri te Pr otected Indicates the status of the WP pi n.<br />

5 U nused. T his bi t is al ways "1" .<br />

4 T 0 T rack 0 Indicates the status of the TR K0 pi n.<br />

3 U nused. T his bi t is al ways "1" .<br />

2 H D H ead Address Indicates the status of the HD SEL pi n.<br />

1,0 D S1,0 D ri ve Select Indicates the status of the nD S1, nD S0 pi ns.<br />

5.1 FDC RESET<br />

There are three sources of system reset on the FDC:<br />

The iRESET_OUT bit of the 8051’s Output Enable Register which controls the nRESET_OUT pin of the <strong>LPC47N252</strong><br />

(see section 11.8.3.5)<br />

A reset generated via a bit in the DOR<br />

A reset generated via a bit in the DSR.<br />

At VCC2 power on, a VCC2 Power On Reset initializes the FDC. All resets take the FDC out of the power down<br />

state.<br />

All operations are terminated upon a RESET, and the Floppy Disk Controller enters an idle state. A reset while a disk<br />

write is in progress will corrupt the data and CRC.<br />

On exiting the reset state, various internal registers are cleared, including the Configure command information, and<br />

the Floppy Disk Controller waits for a new command. Drive polling will start unless disabled by a new Configure<br />

command.<br />

nRESET_OUT Pin (Hardware Reset)<br />

The nRESET_OUT pin is a global reset and clears all registers except those programmed by the Specify command.<br />

The DOR reset bit is enabled and must be cleared by the host to exit the reset state.<br />

<strong>SMSC</strong> DS – <strong>LPC47N252</strong> Page 50 Rev. 09/06/2000

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!