Hi,
In MCB1700 USBMem example, how can I create my own disk image? I'm referring to the disk image inside DiskImg.c that stored in DiskImage[MSC_ImageSize].
I tried creating an image using WinImage software with a volume label and then injecting a file into it. Then exporting that image as a C file using another software which gives me the HEX version, but it was not recognized by the PC.
Appreciate if some one can let me know how that initial image is created.
Thanks
Samitha
DiskImage[] (or memory_disk_image[] in more recent examples) is a FAT32 boot sector. There is third party software you can use to read it off a USB storage device. I am unsure what the developers use. If you google "fat boot record hex software", I'm sure you can find one that is acceptable.
Some discussion from a previous thread might be useful: http://www.keil.com/forum/58409/usb-and-msc-class-sample/