Middleware problem USB from ver 7.30 to 7.41
-NXP LPC1788 -Using Embedded Artist Developers kit for the LPC1788 -USB setup as two hosts. -Keil example project: USB Host Keyboard (LPC1788-32 Developers Kit)
I downloaded the Keil example project for the Embedded Artist board for USB Host Keyboard. Using as is with no changes. It will not compile with middleware 7.41.
If I role back to middleware 7.30 it compiles and runs fine.
With the 7.41 middleware, it wants to update the USBH_config_0.C file from 5.01 to 5.2.0 in the project.
When I right click and update the file I get the following compile error:
.\Output\Keyboard.axf: Error: L6218E: Undefined symbol Driver_USBH0 (referred from usbh_config_0.o).
I have been looking through the project for some time to find the problem.
Any advice would be appreciated.
Jan.
I have switched to mass storage for tetsting 7.41 Keil example project: USB Host Mass Storage (LPC1788-32 Developers Kit)
Testing between middleware 7.30 and 7.41 for MASS storage. Using a SANDISK ULTRA 16GB memory stick for testing.
Both USB ports are setup as HOST. I am plugging and unplugging the USB between USB ports on the Embedded artist board. I wait for the USB status lights to stop flashing, then unplug and plug again.
The latest middleware seems to stall on the USB, not as reliable as 7.30.
7.30 is consistent on this simple test.
Couple more things to add regarding Keil USB Middleware problems that I have found:
Different USB sticks behave differently between different versions of Keil MiddleWare. I have a pile of USB sticks I test with. I noticed the cheaper USB sticks with promotional logos that you get at trade shows etc, no longer work, but will work on earlier version of Keil middleware.
Also if you plan on using HID keyboards with you project and USB memory sticks (2 USB ports), you will run into problems as well.
On certain brands on memory sticks (Sandisk Ultra 16G for example), the keyboard will not work on power up if a USB memory stick is plugged in. If you plug in seperatly it works fine.
Also on all brands of USB memory sticks, if you unplug a USB stick, it kills the USB keyboard on the first keypress.
Unplugging the keyboard and plugging it back in brings it back to life.
This can be tested using the Keil examples and the LPC1788 Embedded Artist Board. Both USB ports are configured as Host on the eval board. USB OTG not used.