USB HOST STACK DRIVER COMPLETED...... #2

  • Follow


Hi all

I have 1 problem related to usb Host Stack.

since i bought a 64GB mass storage card from "xxxx". the architecture
of card is like that

pci- slots <-------> pci-pci bridge <-------->pci-usb bridge(*2)
<----------> nand controllers (*4) <----------------> nand chips(*4)
(of 16GB each)


*2 = 2 pci-usb bridges

*4 = 4 nand controller  / 4 nand chips connected to each nand
controller.


Now on Software side i Know we need USB HOST STACK to access the
memory of card. i ported usb Host Stack Driver from vxworks 6.x
version to vxworks 653 .

i got the base addresses of all the controller whose registers are
mapped to pci space  after getting the base address of all the host
controllers (maxOhciCount =4)

initially i tried to access only 1 controller by initialising 1
controller manually putting maxOhciCount =1


after building all the layers i am getting the following messages...

usb Host Stack Initialized...
usb Hub Driver Initialized...
waiting for the OHCI controller .....
OHCI controller found......DONE

[core OS] usbBulkDevInit() Returned OK....
Found bulk Device with 1 logical units at node 2
/bd0 bulk Device is created....

after that i tried to access the memory using raw file system read
write functions and i got SUCCESS....


 So i am able to access only first 16GB of memory.

now i tried to initialise the all 4 controllers by putting
maxOhciCount =4

but the code stops some where in between and it does not shows that

Found bulk Device with 1 logical units at node 2
/bd0 bulk Device is created....

if any body can help me on this i will be so grateful to all of
you....

THANKS AND BEST REGARDS

Sandeep Gulati


0
Reply sandeepkumargulati (5) 2/18/2010 12:46:21 PM


0 Replies
24 Views

(page loaded in 0.045 seconds)


Reply: