Keil Logo

Debugging USBHID (ULINK only)

Debug the USBHID example program following this procedure. Debugging the USB application is straightforward.

Start/Stop Debug Button Use the Start/Stop Debug Session toolbar button or the µVision command Debug - Start/Stop Debug Session to connect the debugger to the Keil ULINK Adapter. The CPU stops and connects to the Embedded ICE of the LPC2468 device. For details on the debugging features, refer to the µVision User's Guide.

Run Button Next, click the Debug - Run toolbar button to start the USB application.

While the program runs, disconnect and then re-connect the USB connector of the MCB2400 so your computer detects the USB device.

Note

  • The re-powering of the MCB2400 board effectively disables all breakpoints since powering-on the board resets the Embedded ICE.

Halt Button Click the Debug - Halt button to set a breakpoint as shown on line 143 in the figure below.

HID Breakpoint Screen

With the breakpoint set, when you change the Output status using the HIDClient.EXE application, the program stops at this breakpoint, allowing you to debug the USBHID program.

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.