usb built-in rom drivers and SoftConnect

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

usb built-in rom drivers and SoftConnect

593 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pproc on Thu Nov 11 11:10:00 MST 2010
Hi,

I am developing a battery-powered standalone application that may be connected to USB after power-up to upload logged/real-time data.

I would also like to be able to use the USB bootloader feature to upgrade the firmware.

I have the lpcxpresso lpc1343 evalboard for prototyping the application.

While I was able to modify the example usbhidrom code to meet my needs for data communication, and firmware upgrade via usb bootloader works fine, the example assumes the lpc1343 is connected to USB on power up.

Is it possible to use the rom built-in usb drivers and execute a connect/disconnect to USB at any arbitrary time?

How would I use SoftConnect - am unable to find documentation that explains exactly how this would be used other than the circuit schematic.

Thanks and sorry if this is covered somewhere already (I did search!).
0 Kudos
1 Reply

451 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Thu Nov 11 13:18:01 MST 2010
Hello,

I have not tried it, but in the main function you have:

Quote:
(*rom)->pUSBD->connect(TRUE);     /* USB Connect */


Change that to "FALSE" to disconnect.

If you already have the hardware working (transistor and 1.5K resistor) that's all.
0 Kudos