Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Re: 1394 Can't Read CSR From Attached Nodes

Reply
Thread Tools Display Modes

Re: 1394 Can't Read CSR From Attached Nodes

 
 
Cedric Schmeits
Guest
Posts: n/a

 
      01-09-2011
On 31 dec 2010, 23:36, Freddie Witherden <fred...@witherden.org>
wrote:
> Hi all,
>
> I am having problems with the REQUEST_ASYNC_READ function number in
> the IEEE 1394 stack. *My 1394 'virtual' device needs to read the
> configuration ROMs of all attached nodes. *Now, getting the list of
> nodes is not difficult and the location of the ROM is easy to come by.
>
> The problem is that reading the ROM just does not work. *However,
> weirdly, reading other (lower) addresses does. *The return from
> WdfIoTargetSendInternalIoctlSynchronously is status c000009c. *This
> error is: STATUS_DEVICE_DATA_ERROR.
>
> * ioAddress.IA_Destination_Offset.Off_High * *=
> INITIAL_REGISTER_SPACE_HI;
> * ioAddress.IA_Destination_Offset.Off_Low * * = CONFIG_ROM_LOCATION;
>
> The ->nLength field is 1024 (for a device with a known MAX_REC of 2048
> bytes). *->nBlockSize does not seem to have an effect. *If I set
> Off_High to 0 and Off_Low to say, 5*1024*1024, the request succeeds
> (so requests do work, it is just high ones).
>
> Hence my questions are, firstly, why reading from the ROM register
> space does not work? *Every other (Mac OS X and Linux) stack treats it
> no differently to any other async read. *And, secondly, how can I go
> about reading the CSR *of an arbitrary node number*. *Clearly it must
> be possible, as Windows seems to have no trouble reading the CSR of my
> devices (as device manager shows).


You are trying to read the config rom which for most devices is
handled in link layer, the TI devices normaly only accept quadlet
reads and not block reads.
So try reading at one quadlet at a time might do the trick.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
All Unread Messages are loaded into Inbox As Read rickster Windows Vista Mail 27 05-13-2010 12:25 PM
Unread Messages Get Marked a Read Automatically Jack Gillis Windows Live Mail 4 05-09-2010 03:41 PM
Read messages marked unread Lee Antony Windows Live Mail 13 12-11-2009 09:49 PM
READ THIS IF YOU CANNOT GET DRIVE TO READ DISK TO FIX VISTA ERROR! reap70 Windows Vista Hardware 2 01-14-2009 08:12 AM
DVD Fails to Read RMWChaos Windows Vista Hardware 0 08-20-2006 06:41 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59