This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

File Creation using USB

hello,

I am doing usb_host using LPC3250 in my project.
for that i am using example code given in keil example (MSD_FILE) code.

Using this code I am able to format the pen drive.
But not able to create any file. After entering command (FILL) software is hanging in "fopen" function. Getting swi_handler interrupt and keeps on running in loop.

So anything we need to change in RETARGET.c (because here stdio file handler is linked ) file ??

thanks in adavance.

Parents
  • Thanks for your reply.

    There is no difference in hardware.

    In software sendchar() function from retarget.c is not at all calling. (no serial data transmission). But getkey() function is working. accepting input from hyper terminal. any changes required in retarget.c ?

Reply
  • Thanks for your reply.

    There is no difference in hardware.

    In software sendchar() function from retarget.c is not at all calling. (no serial data transmission). But getkey() function is working. accepting input from hyper terminal. any changes required in retarget.c ?

Children