OSDev.org
https://forum.osdev.org/

USB GetDeviceDescriptor causes NMI (Parity Check)
https://forum.osdev.org/viewtopic.php?f=1&t=32608
Page 3 of 3

Author:  filkra [ Fri Dec 08, 2017 7:46 am ]
Post subject:  Re: USB GetDeviceDescriptor causes NMI (Parity Check)

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 :)

Author:  BenLunt [ Fri Dec 08, 2017 9:27 am ]
Post subject:  Re: USB GetDeviceDescriptor causes NMI (Parity Check)

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

Page 3 of 3 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/