I run the USBMem USB on-chip driver as one of the example from LPC13xx that run on KEIL, when it is run and downloaded on the LPCXpresso Baseboard mounted with LPC1343 board it did'n work properly. During debugging, it appears a new USB disk drive (Removable Disk F:) but when I double click the removable disk drive a message window will pop up "You need to format the disk in drive F: before you can use it".....Does anyone know how to resolve this issue? Please help...
Thanks a lot.
So have you formatted it?
Or did you expect that it should already be formatted? And formatted with which file system?
No.Coz i don't have an idea what to do next. Thanks. If i formatted it what happened?what type FAT or NTFS if i;m going to format it?
Thanks.
And you then did google for "formatting memory card"?
Isn't it up to _you_ to figure out what file system you want? Windows don't allow you to format a removable media (except things looking like external hard disks) using NTFS which might limit your choices slightly.
yeah i do a google..but the issue in here is not the same as what i found out during googling... the issue is all about the USBMem as one of the USB-onchip driver example code from nxp that rub on KEIL IDE. I post a thread in here coz i try to find out and get help, if there's anyone knows and encountered a problems same as mine during running the EXAMPLE program code of the on-chip usb driver for mass storage device.Simply this application is for the user to understand on how to create a mass storage device class of USB. So this is my issue; during code execution the disk drive appear but it can't be opened as being expected. Thanks
You haven't described any such problem yet. The quality of any help you can expect is directly affected by the quality of the posts you make - what information you do include, and what information you do not include.
All you have written is that the disk shows up but needs to be formatted.
That is an expected error when you have an unformatted media connected to the PC.
For some embedded devices, where the drive can be made to show up as a disk on the PC, you just format the device.
For some embedded devices, where the memory is only intended for internal use, you may have to create a file system as a binary file on the PC and then have some helper code that transfers the contents of this file to the memory card as raw memory accesses. This allows the embedded application to save space by not needing to contain code to perform the format operation.
In my first post I already described the scenario then followed by the problem. thanks.
Just chatting.
Q: How do I format a USB Flash Drive to NTFS file system?
www.ntfs.com/quest22.htm
Do you have any idea about the LPC13xx code sample from nxp that run on KEIL as IDE?
I don't think so, it is the solution of my issue..but i already done the formatting unfortunately it can't do a complete format. So every time I run/execute the code i should format i don't think so..Maybe we didn't understand each other about the issue. Are you familiar of NXP code bundle for LPC13xx that run on KIEL IDE?
View all questions in Keil forum