Return to previous page Return to menu Go to next page

5.5 CD block initialization

Information content in the CD block is initialized as shown in Table 5.2 by each operation.

Table 5.2 Initialization contents of CD block
 Operation 
Information content
 Tray opens 
 tray closes 
 soft reset 
 TOC / session information 
 initialized 
 TOC Lead 
 File information 
 initialized 
 initialized 
 Host information 
-
-
 initialized 
 CD block register 
-
-
 initialized 

“-” Is unchanged

∙ Even if you execute CD block initialization (CDC_CdInit) without specifying soft reset, none of the above information will be initialized.

(1) TOC / Session information

Information specific to the disc and is initialized only when the tray is opened.
When initialized, information is not entered.
TOC is automatically read when the tray is closed, and the information is retained.

(2) File information

Information on ISO9660 files held by the CD block file system.
When initialized, information is not entered.
∙ The host instructs the reading of file information with a command.

(3) Host information

Mainly host setting information and buffer data.
Initialize the initial value (equal to the default value).

(4) CD block register

Information about CD block hardware.

(5) Open / close tray

When the tray is opened, the DCHG and EFLS flags in the interrupt factor register are set to 1. The timing is before the state.
The tray opening / closing operation is the same for both command and manual operations. When tray open (CDC_CdOpen) is executed, it is initialized even if the tray does not actually open.


Return to previous page Return to menu Go to next page