OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 11:48 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: USB GetDeviceDescriptor causes NMI (Parity Check)
PostPosted: Fri Dec 08, 2017 7:46 am 
Offline

Joined: Sat Nov 04, 2017 10:53 am
Posts: 15
BenLunt wrote:
Yes, if the controller says it is 64-bit, you have to write zeros to the high dword of the addresses, however, only once if you wish.


It works... Turns out the host controller read the first bytes of the next qTD and interpreted them as Extended Buffer Pointers. Therefore it tried to write to an invalid address. I just added some padding to the qTD struct and everything works as expected #-o

BenLunt wrote:
If this fixes your issue, plug the finger-print reader back in and see if your can still read the descriptor (of the thumb drive). I bet so.


I will try it now :)

//EDIT

After attaching the fingerprint sensor again it's still working :)


Top
 Profile  
 
 Post subject: Re: USB GetDeviceDescriptor causes NMI (Parity Check)
PostPosted: Fri Dec 08, 2017 9:27 am 
Offline
Member
Member
User avatar

Joined: Sat Nov 22, 2014 6:33 pm
Posts: 934
Location: USA
filkra wrote:
After attaching the fingerprint sensor again it's still working :)

Good. Most of the time it is the simplest thing. Something we fail to look at because it is so simple.

Ben
http://www.fysnet.net/the_universal_serial_bus.htm


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Kamal123, Octocontrabass and 98 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group