| Electronic Components Datasheet Search |
|
SEC2410 Datasheet(PDF) 193 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
SEC2410 Datasheet(HTML) 193 Page - Microchip Technology |
|
193 / 283 page ![]() 2013 - 2014 Microchip Technology Inc. DS00001587C-page 193 SEC2410/SEC4410 the HW is responsible for send out the last Completion Notification with the LAST_BUFFER bit set. If in the middle of the data phase, a CBW comes in, the HW must set the PHASE_ERROR bit, and send the packet to the Processor. At the start of the DATA_PHASE, the HW knows the length of the transfer. If a short packet arrives before that length is met, then an error has occurred. The HW sets the DATA_ERROR bit and interrupts the Processor. The HW must be able to distinguish between a data packet that coincidentally has the CBW signature in the first DWORD and real CBW. 18.6.7 CBW PROCESSING – SEND_CSW In this state the CBW processor constructs the CSW. The CSW is stored in a buffer that is accessible from the AHB bus. For writes to the media the CBW processor must wait until the write is acknowledged by the media. The CSW buffer contain the following 13 bytes: 1. 0~3 SIGNATURE of CSW (4Bytes) 2. 4~7 TAG of the CSW copied from CBW (4Bytes) 3. 8~11 RESIDUE, always 0 unless there is an error (4bytes) 4. 12 Status (1 byte). The CBWP then sends out a Work Queue Element that references that Work Request that points to that CSW in its internal buffer. This is done by referencing the Work request that is dedicated to the CSW. After sending the completion notification for the CSW, to the SIE, wait for notification that the CSW has been sent to the host, that is wait for the CN from the SIE. This allows the hardware to detect a phase error if the CSW is lost in trans- mission. 18.6.8 CBW PROCESSING – ERROR This state is entered if there was an error during CBW processing. In this state the CBW processor wait for the Processor to reset it. 18.6.9 CBW FORWARDING To forward a CBW to the Processor, the CBWP writes the received context of the CBW it failed to process to the address in the CBW_FRWRD_ADDR register. The Processor can use this context to lookup the Work request in the FMDU WRLUT. 18.7 ACBW WRLUT Buffer Allocation When using the ACBW processor, the WRLUTs must be programmed in exactly the way the ACBW is expectiing. The table below shows how the entities must be programmed. This scheme only applies when using the ACBW processor, and need not be followed for manual DMA. The WRLUT entry number 5 is an aliased entry, to make sure that two buffers are posted at the SIE to avoid generating NYETs. TABLE 18-1: ACBW WRLUT USAGE Entry Usage Data Ref CN Addr Context 0 CBW Buffer Don’t Care SIE_EP2 Point to SIE’s CBW Buffer 1 Data Buffer A BUF_A SIE_EP2 Point to SIE’s Data Buffer A 2 Data Buffer B BUF_B SIE_EP2 Point to SIE’s Data Buffer B 3 Data Buffer C BUF_C SIE_EP2 Point to SIE’s Data Buffer C 4 CSW Buffer Don’t Care SIE_EP2 Point to SIE’s CSW Buffer 5 Alias to Data Buffer A Don’t Care SIE_EP2 Alias pointer to SIEs Data Buffer A (required for correct operation) |
|
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 |