View Single Post
Old 08 May 2016, 22:27   #473
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 49
Posts: 937
Originally Posted by roomeo View Post
Im playing with the registers of rr just for fun.

base  equ $00EA0000 ;address of xSurf100
        lea base,a0
        move.w $4801(a0),d0 ;read INT status of isp1763a
Running this will cause IRQ to shut down as expected. Poseidon goes haywire and alot of nak timeouts. Restarting the device in poseidon and usb is up and running again.

Now comes my question to confrm im getting this right. Reading this register while usb is running results in %0000 in d0. While usb not running i get %0010.

When saying bit 1. You start counting from 0 right? So this will be bit 1 set -> %0010?

Sorry for thread noise and noob question..
Why you read word from $4801, not from $4800?
For me nak problem is software bug in xsurf driver only.
If you want i can give you resourced version of xsurf driver and you can try to fix this driver.
Bits are counting from 0 to 31.
Don_Adan is offline  
Page generated in 0.04626 seconds with 10 queries