| Electronic Components Datasheet Search |
|
SEC2410 Datasheet(PDF) 190 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
SEC2410 Datasheet(HTML) 190 Page - Microchip Technology |
|
190 / 283 page ![]() SEC2410/SEC4410 DS00001587C-page 190 2013 - 2014 Microchip Technology Inc. In auto mode the FMDU simply sends out the SCSI commands as a uniform command on the FMI interface. Read Mul- tiple and Write Multiple are handled by the individual FMCs. All start addresses sent from the FMDU to the FMCs are in bytes. All LBA lengths sent from the FMDU to the individual FMCs use a 512Byte LBA size. It is up to the individual FMCs to convert the lengths to the native block size of the media in use. The FMC gets the native block size out of the LUN descriptor table. This field is encoded as BLOCK_SIZE in LUN_CTL2. 18.4 Manual CBW Processing In Manual mode operation, the Processor sets up the transfer. The Processor must receive and process the CBW. Once the CBW comes in, the Processor must program the FMI interface with the appropriate length and starting address. It must program the EP_CNT register with the length of the transfer, and then enable the transfer. Once the transfer is complete, the Processor must post the CSW to finish the transaction. To select an FMC manually, the Processor must select a device using the CBW_COMMAND register. 18.5 Automatic CSW Processing In auto mode, if the AUTO_CSW bit is set then automatic CSW generation is enabled. A pre-programmed CSW will go out if the DMA finishes with no error, and the media write is successful. The pre-programmed CSW is written into the CSW_BUF, and the completion notification goes out by the hardware using the Work Request entry dedicated to the CSW in the WRLUT. If the AUTO_CSW bit is NOT set then automatic CSW generation is disabled. When a transfer finishes with or without an error, the CBW_ONCE_INTR will be asserted to inform the processor of the end of the trans- action. If the AUTO_CSW bit is disabled, the CBW_ONCE_INTR does not indicate a CBW_ONCE transfer completion. The processor must handle the CSW In manual mode, using CBW once, it is permissible to turn on the AUTO_CSW bit, however it has no effect. The pro- cessor must handle CSW. 18.6 Automatic CBW Processing The Automatic CBW processor is endpoint 1 of the FMDU. This distinguishes it from endpoint 0 which is the data end- point. The CBWP is turned on by setting the AUTO_CBW bit. The automatic CBW processor has the following States: a) OFF – The automatic CBW processor is turned off. b) WAIT_CBW – The CBW processor is waiting for CBW c) PROCESS_CBW – Processing a CBW d) WAIT_Processor – Wait for the Processor to resolve a CBW e) WAIT_FMC – Wait for the selected FMC to get ready. f) DATA_PHASE – In the process of moving data g) SEND_CSW – Data is done, send the CSW h) ERROR – Error occurred inform the Processor 18.6.1 CBW PROCESSING -OFF The CBW processor stays in this state as long as the ENABLE bit in the AUTO_CBW is disabled. In this state the Pro- cessor does all CBW processing. The processing of Work Requests for data movement is not affected. 18.6.2 CBW PROCESSING – WAIT_CBW On entering this state, the CBW processor posts two buffers to SIE EP2 WRITE. The first is to receive the a CBW. The CBWP stays in this state until a CBW arrives or AUTO_CBW is disabled. This state is entered after the CSW state. See example operation. The CBWP stays in this state until the CN arrives for the CBW, in which case it goes to the PRO- CESS_CBW state. 18.6.3 CBW PROCESSING – PROCESS_CBW In this state the CBW processor parses the CBW. If any error is detected in the CBW, or if the LUN is not valid, the CBW will be forwarded to the Processor for processing. If the current state of the CBW processor is PROCESS_DATA, or SEND_CSW, and a CBW comes in, the HW must set the PHASE_ERROR bit, and forward the CBW to the Processor. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |