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

RL-USB Configuraton Wizard Problem

Hi!
I'm beginner in ARM.
I tried to compile the example "...MCB2300\RL\USB\HOST\MSD_File" for LPC2388.
Host connector (USB-A) on my evaluation board is connected to port U1, and device connector (USB-B) is connected to port U2 (as opposed to the MCB2388).

The MCU not "saw" the usb flash and sent message "Drive not connected, please connect it ..." to terminal window. Using the "Configuration Wizard" I changed "USB Host 0" to "USB Host 1".
I got the following error:
Build target 'MCB2300'
compiling usb_config.c...
e:\Keil\ARM\RV31\INC\usb_lib.c(61): error: #20: identifier "USBH1_HWD_OHCI" is undefined
e:\Keil\ARM\RV31\INC\usb_lib.c(107): error: #28: expression must have a constant value
Target not created

When I manually changed (for testing only) undefined USBH1_HWD_OHCI to USBH_HWD_OHCI , I got linker error:
Build target 'MCB2300'
compiling usb_config.c...
linking...
.\Obj\MSD_File.axf: Error: L6218E: Undefined symbol usbh1_hcd_ohci (referred from usb_config.o).
.\Obj\MSD_File.axf: Error: L6218E: Undefined symbol usbh1_hwd_ohci (referred from usb_config.o).
Target not created

In what may be the cause of the error?
What have I missed to adapt this example for my evaluation board?
(I also reconfigured serial output to UART0 and disabled output to LCD display)

0