Posted on:
Hello, I´ve been taking a look at the existing posts, but no one of them solves my problem... I am triyng to port keil USBMem example to GNU. I´ve made all the __packed changes suggested in different forums, data allignment ones and many others, but I still don´t manage to have the board understood by the PC as a proper USB device. Has anyone managed it? Is there some code anywhere? Else... what could I try or check to solve my problems? Thank you very much for your help! Best regards, Ruben.
Posted on:
I have once ported the HID-example from NXP which is made for the Realview/Keil tools to GNU tools. I will search for the code... As far as I know LPCUSB (see sf.net) does also support LPC23xx/24xx. You may give it a try.
Posted on:
Martin Thomas wrote: > I have once ported the HID-example from NXP which is made for the > Realview/Keil tools to GNU tools. I will search for the code... > That would be great: only file substitution would be necessary... The top layer (and the one not giving problems) is the only difference between the HID and the Mass Storage class applications. Cheers, Ruben.
Posted on:
I think it could also be a problem of the interrupt handling, with something related to the startup file and/or the linker .ld one. Could that be a reason? Thanks!
Posted on:
Martin Thomas wrote: > I have once ported the HID-example from NXP which is made for the > Realview/Keil tools to GNU tools. I will search for the code... > > As far as I know LPCUSB (see sf.net) does also support LPC23xx/24xx. You > may give it a try. I have been trying also this, but running in debug mode, it gets stuck in the PLL lock...
Posted on:
May it be a problem of the interrupt? Did you find the code? Thank you very much!