cancel
Showing results for 
Search instead for 
Did you mean: 

Mass storage problem with USB

ellisshz
Associate II
Posted on May 22, 2010 at 18:22

Mass storage problem with USB

3 REPLIES 3
frankfrank953
Associate II
Posted on May 17, 2011 at 13:52

Hello, I have had a similar problem.. if you have a look at my SPI Problems post I have a driver that is compatible with this device.  I think you mean that you are communicating with the device as an SPI device not USB.

To get data to be stored the key is to erase the page/sector before you write and also make sure that the Sector Protect bit is reset before you attempt any operation.

Have you read the datasheet for the EEPROM device ? because that will tell you about write requirements.

ellisshz
Associate II
Posted on May 17, 2011 at 13:52

hi,

thanks for your answer first.

But i was used M25P16 flash to my media for mass storage device.

so when i was insert my device to the PC, the usb flow not run into scsi write 10 state and it can't format.

ellisshz
Associate II
Posted on May 17, 2011 at 13:52

hi,

I have attached two files and the code are modify by mass_mal files.

Does there have to amend?

thx