usb host for HP pendrive

Hello everyone

I am working on LPC2468 usb host with mass storage class .
I am using NXP usb hostlite example as a base.
I converted this source code for FAT32 system.
It,s working fine for KIGNSTON 8 GB, SANDISK 4 GB pendrive.
But when i used Hp 8 GB pendrive , it works fine sometime or sometime not.when I debug through the software the value of HOST_RhscIntr is not changing to 1.
What,s the reason behind it.

Parents
  • So you need to look closer at why it is not changing to 1!

    Look at your two examples that do work, and compare what's happening with the one that doesn't work.

    "What,s the reason behind it"

    There is a bug (or bugs) in your software that you just happen to get away with for the KIGNSTON 8 GB, SANDISK 4 GB pendrives, but your luck runs out with the the HP drive.

    This is the big difference between just trying something a couple of times and saying, "it works" - and fully testing it to ensure that it complies with all conditions and requirements!

Reply
  • So you need to look closer at why it is not changing to 1!

    Look at your two examples that do work, and compare what's happening with the one that doesn't work.

    "What,s the reason behind it"

    There is a bug (or bugs) in your software that you just happen to get away with for the KIGNSTON 8 GB, SANDISK 4 GB pendrives, but your luck runs out with the the HP drive.

    This is the big difference between just trying something a couple of times and saying, "it works" - and fully testing it to ensure that it complies with all conditions and requirements!

Children
More questions in this forum