Hello,
I am very new to this and am simply trying to correctly run the lpcxpresso55s36_host_cdc_bm example for the LPC5536-EVK board I am using.
I currently have a USB cable plugged into J1 from my PC to provide power, and after building and running the example (and opening the COM port), the following shows up in the terminal:
This looked like a good sign, but when I tried to plug in a USB drive (into either J2 or J3), there wouldn't be any indication that it's connected. According to the readme.pdf, the console is supposed to look like this.
Could anybody point me in the direction of what I'm missing? Are there perhaps jumpers that I don't know about that need to be connected, the USB formatted in a certain way, or other settings that need to be adjusted in my workspace?
Many thanks,
Emma
Solved! Go to Solution.
Hi @e03williams
These are all the examples with host msd on the LPC5536.
You can find a lot of different threads on this community regarding usb and you can find a lot of informations that could help you too.
Best Regards, Miguel.
Hi Miguel,
Thank you for the information.
Are there other usb host examples that do not need another board to act as the device?
I have a USB flash drive (which I believe is part of the msd class) that I'd like to use with the LPC5536-EVK board.
I currently don't have another board, just the one and a thumb drive.
Is testing the USB peripheral still possible?
Thanks and regards,
Emma
Hi @e03williams
Do you need to test a particular functionality for the usb? there keyboard or mouse examples on the sdk.
Best Regards, Miguel.
Hi Miguel,
Typical use cases I am trying to get to work are reading/writing files to a plugged in MSD - USB Flash drive (Pen drive).
I was also wanting to use a USB Flash drive (Pen drive) to update the firmware on the processor.
Are there examples in the SDK that support this functionality?
Thanks again for your help,
Emma
Hi @e03williams
These are all the examples with host msd on the LPC5536.
You can find a lot of different threads on this community regarding usb and you can find a lot of informations that could help you too.
Best Regards, Miguel.
Apologies, it makes more sense for me to use the lpcxpresso55s36_host_msd_command_bm example. I still get the same issue. The COM port states that 'host init is done' but doesn't show anything else after the flash drive is inserted into the usb port.
Hi @e03williams
Please read these threads:
According to those posts, you need another board as a device_cdc for test.
Best Regards, Miguel.