This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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
  • Sir,
    Thanks for your kind support
    As you know usbhostlite is a standard NXP usbhost stack I made two changes in this software
    firstly I converted FAT16 to FAT32. Since here HOST_RhscIntr is not changing to 1 so i think problem is not related to FAT.
    Second Since I am also using usb hid device at another port That,s why I combine ISR of usb device and usb Host using USB_HOST_INT pin status.

    I think ISR is not working properly in case of HP pendrive.

    One think more i want to discuss what should be the voltage level initially at USB_PPWR1 and USB_PWRD1 pin .

    In Hostlite source code how to switch off the power when pendrive is ejected. Since I think if we eject pendrive when power is on it may harm pendrive.

Reply
  • Sir,
    Thanks for your kind support
    As you know usbhostlite is a standard NXP usbhost stack I made two changes in this software
    firstly I converted FAT16 to FAT32. Since here HOST_RhscIntr is not changing to 1 so i think problem is not related to FAT.
    Second Since I am also using usb hid device at another port That,s why I combine ISR of usb device and usb Host using USB_HOST_INT pin status.

    I think ISR is not working properly in case of HP pendrive.

    One think more i want to discuss what should be the voltage level initially at USB_PPWR1 and USB_PWRD1 pin .

    In Hostlite source code how to switch off the power when pendrive is ejected. Since I think if we eject pendrive when power is on it may harm pendrive.

Children
No data