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.
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?
"In my first post I already described the scenario then followed by the problem." Not at all.
In your first post, you did write that if you double-clicked F: you got a message that it wasn't formatted. The answer to that problem is to format it, which you mentioned nothing about having tried.
Much, much, much later, you now claim that it can't perform the format. But you give no information what fails, or what you have attempted to do to figure out why?
If your device claims you have a 8GB memory card and you ask Windows to create a 8GB file system, but the memory card is only 4GB you will get into troubles. But there are many other reasons why you can get into troubles.
But as I did mention earlier: You don't write any posts where you do describe your problems. You don't write any posts where you describe what you have attempted to do, to solve your problems or to eliminate error causes.
As long as you do not post any information about what you do, what you see etc, we can't help you. We don't think it is funny to try to guess what you mean, or what error messages you may have seen.
We are not payed teachers who can spend an 8 hour day waiting for you to tell us your problem and get salary for the time. You have to invest the time to write darn good descriptions of your problems, and then people may decide to spend some time helping you. Without info from you, people will not spend time guessing or dragging information out of you.
Hey I think you didn't get my point about the issue I've posted. Did you understand the whole scenario what I'm posting?Are you familiar with the code sample from NXP that run on KEIL IDE? Did you get my point there in the first post why is it the Removable disk drive appear and need to be formatted? Have you try the samplesoftware codes from NXP for KIEL? Thanks.