LPC2478 usb host lite CMD_CODE hangs

Dear,

I'm new to USB and learning USB by reading and trying to get the usb host lite source up and running on my EA LPC2478 board.

So far, I was able to read and write data from a usb stick. I'm now trying to send commands like in "USBCmdCode = 0x00D00500; // CMD_CODE=0xD0, CMD_PHASE=0x05(Command)" (from the lpc manual pp363).

I've noticed that the firmware crashes/hangs when I write such a command to USBCmdCode.

For your information, I'm using Red Suite 3 and USBCmdCode is CMD_CODE in the lpc24xx header of Red Suite.

Any idea where I should start looking to solve this? Your comments are appreciated!

With much regards,
Bart

More questions in this forum