hi all
Environment: A simple 1394 isoch transfer device is plugged in a notebook
with a FireWire interface.
To check how I have to handle the receive buffers for my device driver,
I’m using the 1394diag example from the DDK (win2k, MVC++ 6) to test
various parameters.
when I do following:
allocate resources with
speed = 400Mb/s
resource used in listening
max framesize = 0x1000
nr of buffers = 0x1000
max bufferlength = 0x1000
Quadlets to strip = 1
it gives me back a resource handle what I can use in
attach buffers
resource = the given handle from allocate resources
nr of desc = 0xfff (accoring to DDK description it has to be one less than
the nr specified in allocate resources)
Flags = synch on sy
length = 0x1000
max framesize = 0x1000
use callback = yes
after pressing OK the softICE appear with an unhandled exception error
(ACCESS VIOLATION)
anybody has a clue what could be wrong? I think this should work!
Or is there a different policy how to handle buffers (i.e. I think it’s
quite practical to define the framesize if big enough exactly like the
buffersize, so I have a pretty good control how many frames reached
already, but maybe thats the problem, I don’t know…)?
thanks for all hints
Daniel