Trouble getting MBED USB APIs to work on NXP LPC54114

27 Apr 2019

Hi,

I'm trying the examples for the USB APIs with an NXP LPC54114, and they don't seem to work. For example, the USB keyboard example code compiles for my board. It loads on my board without any fail.txt, so I assume that means it's loading correctly.

https://os.mbed.com/docs/mbed-os/v5.12/apis/usbkeyboard.html#usbkeyboard-example

But then when I plug in the target MCU USB port (not the USB programming port), no USB device ever shows up on the PC side. I'm using Debian 9 with 'lsusb' to see what devices are connected. Aren't I supposed to see a USB device?

Also, if it's working, shouldn't I be able to see "Hello World" typed repeated into a, say, a text editor?

Any ideas what I'm doing wrong?

Thanks!

02 May 2019

I think I found the problem. Looks like the USB APIs were introduced in OS 5.12, and the MBED page for my board only shows support up to OS 5.11. So I guess I would need a different board to do MBED USB out of the box.

https://os.mbed.com/platforms/LPCXpresso54114/

24 Sep 2019

Hi Kevin,

The board support latest mbedOS 5.13. No need for new board.

Regards, Pekka

24 Sep 2019

Great, thanks for the update!

29 Oct 2019

great