Switching HID/WinUSB Debugging

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

Switching HID/WinUSB Debugging

1,261 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ronkrem on Mon Oct 06 00:30:43 MST 2014
I recently switched LPC-link from WinUSB to HID (winXP, LPC1347 REV A, LPCXpresso v7.4.0 [229]). This works ok but very slowly. Two questions:
1. Is there a setting for the HID interface speed?
2. Now it seems to be stuck in HID mode and even though I re-select WinUSB, it will not switch back. How do I make this switch back?

Thanks, Ron
0 Kudos
Reply
4 Replies

1,190 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ronkrem on Mon Oct 06 20:33:37 MST 2014
Ok. I have found the fix.

I had changed over to a HID interface via:

1. Debug Configurations (Debug dropdown).
2. Click on the Debugger tab.
3. Drop down the Emulator selection.
4. Select: LPC-link (HID)

Xpresso will now debug through the HID interface. Trouble is, you can no longer just reselect the WinUSB interface from here - it is locked into the HID interface.

To switch it back you need to:
1. Select Window>Preferences.
2. Expand the LPCXpresso entry.
3. Select LPC-Link Options.

In my case the Initialise LPC-Link as HID (Requires power-cycle) box was checked. Unchecking this allowed me to use WinUSB again (after power cycling of course).

I consider this bad design, in that the dialog used to change a configuration, no longer lets you change it back, even though it has every appearance of being able to.

I tried your new project trick, but the selection survives this and typical restarts. However, your response prompted me to go look a bit deeper.

Best regards, Ron
0 Kudos
Reply

1,190 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Mon Oct 06 05:39:00 MST 2014
What *exactly* did you do to switch from WinUSB to HID?

As an experiment, create a new, empty workspace, import a suitable example and try debugging it.
0 Kudos
Reply

1,190 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ronkrem on Mon Oct 06 03:52:06 MST 2014
1. Ok.
2. That is what I would have thought and what I tried. However, it does not re-connect as WinUSB. In fact Windows can no longer find the LPC-link as a WinUSB device (it comes up with a dialog saying "LPC-link (WinUSB) or RDB-Link not found". Obviously the device is still there, and I was using the WinUSB interface just minutes ago, so to make my question more specific:
2a. Why is the WinUSB interface no longer findable?
2b. Even if 2a is unanswerable, how can I [u]make[/u] it findable?

Thanks, Ron
0 Kudos
Reply

1,190 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Mon Oct 06 00:41:00 MST 2014
1. No.
2. You have to reboot the LPC-Link. Disconnect and reconnect it

Please note that, as stated in the release notes:


Quote:
Following the discontinuation of support by Microsoft, Windows XP is no longer an officially supported platform. LPCXpresso may continue to work on Windows XP but this can no longer be guaranteed. LPCXpresso is no longer tested on Windows XP.

0 Kudos
Reply