Hi to all, Recently I download mdk5 USB msc example and then I programme it to my lpc1788 board and when I connect it to my computer windows recognize it as USB flash disk. Now I want change this project in way that after connecting it to computer windows recognize it as floppy drive but I do not have any idea to how done that :-( Now can any one give me an advise to how done that or give me an start point in order to done that???? thanks for attention.
thanks for your advice my friend and excuse me for long delay, i read the ufi specification that you recommend to me but unlike what you say this doc say that ufi device can implement with tow methode, bulk-only and CBI transport specification. i have an example that it is from NXP and it implement an usb storage with bulk-only method but unlike keil example it is compelety open and i can change anywhere of it and i can add commands that UFI specification need for correctly execute,here is link of this project: www.dropbox.com/.../Usb_MassStorage( USB2 for SDK and core).rar in your opinion if i change this code and add required ufi command it will work???? and i found one thread in keil forum that in it people change this example in order to implement a cd-rom instead of usb-msc and this is link of that thread: www.keil.com/.../ thanks for attention
It looks to me that you need to add functionality that is specific to floppy disk like Rezero Unit, Seek (10) ... you also need to implement returning status over by interrupt endpoint which is required by UFI specification and it should work.
About that Keil thread regarding CD-ROM, that was while Keil USB stack was provided in source code which was a few years ago, and source code was editable. Now USB stack is provided as library and it can not be edited that way.