Hello,
I upgrade to uVision 4.22 (which upgrades the RL libraries) and I am having trouble configuring the new RL-USB with the LPC1788.
Under 4.20 it was fully working: I am using the Host feature on Port 2 of the micro.
Does anyone have any examples of this setup working?
I can't find much documentation on the RL-USB changes, can some verify that for a chip like the LPC1788 the "ctrl" parameter would always be 0 and explain what the "dev_id" parameters is.
Thanks.
M
Note: I can post my ohci driver if it helps.
Well try with documentation from http://www.keil.com/support/man/docs/rlarm/rlarm_usb_for_hosts.htm and functions are also documented here www.keil.com/.../rlarm_usb_host_functions.htm
You can also look at example for MCB1700 (..\ARM\Boards\Keil\MCB1700\RL\USB\Host\MSD_File\) and that should be a good starting point
I am also using LPC1788 and uses usbh_ohci_lpc17xx.c as a template to customise for LPC1788 MCU I am also using USB Port 2 and I didn't manage to get the keyboard detected. I have no idea where the problem is.
Marc, have you managed to resolve the problem?