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.
Are you using the latest RL code? Can you try different USB stick?
hi...
thanks for your reply.
i am using mdk version 4.20. In this version i got the code from
"C:\keil\ARM\Boards\Phytec\LPC3250\RL"
tried with different pen drives. same result.
thanks
Can you try Keil original example MSD_File?
Actually for "LPC3250 USB host" there is no example available from keil.
I am trying with example code given with Phytec Board.
Is there any other Sample code available for LPC3250 USB host?.
thanks in advance
Are there any differences between your USB part and one on the Phytec board?
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 ?
I guess this should be prepared example that works on Phytec board, so there must be some hardware differences between Phytec board and your own board.