Hi.
Could you do me a big favor, and look this over for me?  I'm trying
to get my ISP1362 running here, and I feel really close.
However, it's not behaving quite right, and I haven't had any luck
on guessing what's wrong.  Here is a short excerpt of the debug
messages.. I went through them all, and they seem OK to me.

Could you do a quick look-over of this to see if anything stands
out?
Do you have any ideas of what I should check?

> process_ctrl_bulk_lists: Processing CTRL list @ c1074000
> process_ed_list: Processing ED @ c1074000 #030f
> process_ed_list: Processing TD ffc0e000
> process_ed_list: found TD: c11cb000
> alloc_ptd: Trying to find PTD for 8 byte of type 0
> alloc_ptd: Set bit 00000001 in bufmap @ c11f1b14: 00000001
> process_td: alloc_ptd returned 0
> process_td: dir=0 ed->hwINFO=00080000(0), td->hwINFO=f2c00000(0)
> process_td: MPS=8 FA=0 DIR=0 EP=0 SPD=0 LEN=8
> process_td: f800 0008 0008 0000
> process_td: Writing 1 to HCATLDTC
> A>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]
> enqueue_ptd: Queueing PTD[0] 0a60 TD c11cb000 #030f
> A>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]
> __isp1362_write_buffer: Writing 8 byte to buffer[00] @ 0a60 from
> memory @ c411ba40
> A>[EMAIL PROTECTED]
> __isp1362_write_buffer: Using 16bit access for 4 words
> D>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]

Okay, it just wrote out the PTD header.  It looks good to me.
(This is a USB flash drive that I'm plugging in here..  a
full-speed device)

> A>[EMAIL PROTECTED]
> D<[EMAIL PROTECTED]
> enqueue_ptd: Read 0009 from HCuPINT
> A>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]
> A>[EMAIL PROTECTED]
> D<[EMAIL PROTECTED]
> enqueue_ptd: Read 0001 from HCuPINT
> enqueue_ptd: Transferring 8 of 8 byte from c4118960 to a68
> A>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]
> __isp1362_write_buffer: Writing 8 byte to buffer[00] @ 0a68 from
> memory @ c4118960
> A>[EMAIL PROTECTED]
> __isp1362_write_buffer: Using 16bit access for 4 words
> D>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]

Okay.. It looks like it's trying to set the address to 2.
This is the first step in enumeration.

> A>[EMAIL PROTECTED]
> D<[EMAIL PROTECTED]
> isp1362_dma_send_data: Read 0009 from HCuPINT
> A>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]
> A>[EMAIL PROTECTED]
> D<[EMAIL PROTECTED]
> isp1362_dma_send_data: Read 0001 from HCuPINT
> enqueue_ptd: Writing fffffffe to HCATLSKIP
> enqueue_ptd: Writing 00080000 to HCATLLAST
> enqueue_ptd: Enabling ATL Interrupt
> enqueue_ptd: Writing 255 to HCATLDTCTO
> enqueue_ptd: Active ATL PTDS: 1
> process_ed_lists: Writing fffffffe to HCATLSKIP
> A>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]
> process_ed_lists: Writing 00000001 to HCATLLAST
> process_ed_lists: Writing 1 to HCATLDTC
> A>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]
> process_ed_lists: Writing 255 to HCATLDTCTO
> process_ed_lists: Activating ATL queue #030f
> A>[EMAIL PROTECTED]
> D<[EMAIL PROTECTED]
> process_ed_lists: Read 0000 from HCBUFSTAT
> A>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]

We active the ATL packet that we just set up.

> A>[EMAIL PROTECTED]
> D<[EMAIL PROTECTED]
> ohci_isp1362_interrupt: Read 0001 from HCuPINT
> ohci_isp1362_interrupt: Acknowledging 0001
> A>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]
> A>[EMAIL PROTECTED]
> D<[EMAIL PROTECTED]
> D<[EMAIL PROTECTED]
> A>[EMAIL PROTECTED]
> D<[EMAIL PROTECTED]
> ohci_isp1362_interrupt: Read 0001 from HCuPINT
> ohci_isp1362_interrupt: Acknowledging 0001
> A>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]
> A>[EMAIL PROTECTED]
> D<[EMAIL PROTECTED]
> A>[EMAIL PROTECTED]
> D<[EMAIL PROTECTED]
> ohci_isp1362_interrupt: Read 0001 from HCuPINT
> ohci_isp1362_interrupt: Acknowledging 0001
 
And this keeps looping.  I continually get interrupts due to SOFs
(Should this even happen?), but no ATL interrupts.  Because of
this, I periodically get:

> ohci_isp1362_interrupt: Read 0001 from HCuPINT
> A>[EMAIL PROTECTED]
> D<[EMAIL PROTECTED]
> ohci_isp1362_interrupt: leaving after 10 loops with status
> 0001:000000c4
> A>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]
> A>[EMAIL PROTECTED]
> D<[EMAIL PROTECTED]

We're interrupting on ATL, HC Suspend, OPR, and SOF.

> ohci_isp1362_interrupt: Read 0131 from HCuPINTENB
> A>[EMAIL PROTECTED]
> D>[EMAIL PROTECTED]
> A>[EMAIL PROTECTED]
> D<[EMAIL PROTECTED]
> ohci_isp1362_interrupt: Read 0001 from HCuPINT
> ohci_isp1362_interrupt: Acknowledging 0001

and it continues on again....


Thanks a bunch,
Mike



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to