??? 03/31/06 08:39 Read: times |
#113461 - Set DMA Mode! Responding to: ???'s previous message |
I have a complete look on D12.asm from intel site
They had used set dma command on setting address routine I added it to my code but in this case 'ding-dong' didn't hear! Also any device descriptor request with invalid wlength didn't appear! SET_DMA_MODE: MOV ADRES,#0FBH CALL USB_COMMAND MOV DYTA,#20H ;Enabling SOF-below description CALL USB_DATA_WRITE RET Interrupt Pin Mode A ‘0’ signifies a normal interrupt pin mode where interrupt is generated as a logical OR of all the bits in the interrupt registers. A ‘1’ signifies that the interrupt will occur when Start of Frame clock (SOF) is seen on the upstream USB bus. The other normal interrupts are still active. I don't know why this strange operation occurs? Mehdi |