lpcware

Crazy pointer lpcxpresso11u14 generic HID example

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by nasib on Mon Jan 21 04:45:26 MST 2013
Hi all!

Anyone know if there is any Crazy Pointer in the "Generic HID device " example?

I have a code that recognize some commands sent from the PC ( into the function "CALLBACK_HID_Device_ProcessHIDReport" ). In order to achieve this purpose, i have 5 "else if" to compare the command received.

Until here, all run ok. But when i write just one "else if" more and i debug the code, it does whatever it wants. (For example,into the function: "SystemCoreClockUpdate();" the pc jumps to HID functions randomly)

Thank you so much!

(And sorry for my English)

Outcomes