Example Keyboad Host Progam

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Example Keyboad Host Progam

643件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fumio yoshizawa on Sun Apr 12 20:34:22 MST 2015
Hi ,
I try to Example_KeyboadHost program by use  LPCXpresso_LPC1769 boad.

Example_MassStrageHost program seems run well.

Because if the usb memory insert to the usb connector, stop the program at the set the break point.

void MassStorageHost_Task(void)
{
if (USB_HostState[FlashDisk_MS_Interface.Config.PortNumber] != HOST_STATE_Configured)
  return;

LEDs_SetAllLEDs(LEDMASK_USB_BUSY);       // ----> set  break point


Same way set the break point for Example_KeyboadHost program.
And insert usb keyboad to the usb connector.I expect stop the set  break point.
But it wan't.

void KeyboardHost_Task(void)
{
if (USB_HostState[Keyboard_HID_Interface.Config.PortNumber] != HOST_STATE_Configured)
  return;

if (HID_Host_IsReportReceived(&Keyboard_HID_Interface))     //---->  set break point


I wander it need any type keyboad, or any difference setting MassStorage?
I hop any suggestion tell to me.
Best Regards,

F.Y

0 件の賞賛
返信
1 返信

614件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fumio yoshizawa on Thu Apr 16 21:30:49 MST 2015
I want to try USB HOST example program such as Mass Strage Host and Keyboard Host.
My an environment LPX1769 LPCXpresso board with Rev B base board and
nxpUSBlib software package Ver 0.98.
Those example running info use terminal. But terminal is not implement I think.
Where I can get the implement code.

I hope any suggestion telling to me.
Regards,
F.Y
0 件の賞賛
返信