I'm trying to run USBMem code example on my MCB2300 board, but my PC doesn't recognize it as usb mass storage. I have windows 7 professional, could be problem with driver on my windows?
As you don’t reply to my question, where your "USBMem" comes from, I assume you are talking about this version, - C:\Keil_v4\ARM\Boards\Keil\MCB2300\USBMem
In this version, the MSC code doesn’t set write protect on ModeSense(6) The "README.TXT" is assigned to Read-Only on its property (on directory entry) You may change it using OS function of your PC.
But when the board restarts, the "disk image" (DiskImg.c) is written to the RAM disk, again. If you would like to change the contents at the start up, you have to modify the binary on this file.
It was discussed on this topic, http://www.keil.com/forum/58409/
This example on above topic is ported one from USBMem C:\Keil\ARM\Boards\Atmel\AT91SAM7X-EK\USB\Memory These examples share the same DiskImg.c contents.
Tsuneo