[Mikroe NFC USB Dongle] Unable to get the Eclipse C example project working

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

[Mikroe NFC USB Dongle] Unable to get the Eclipse C example project working

ソリューションへジャンプ
1,891件の閲覧回数
marc1
Contributor II

Hello,

I just bought the Mikroe NFC USB Dongle (with NXP PN7150).  It is provided with a C example software (Here: http://www.nxp.com/documents/software/SW4335.zip). I tested it on Windows 10, with the provided compiled executable: it worked fine.

Then I tested using the corresponding Eclipse C project. Unfortunatelly I was not able to make it working. It compiles well, but when I run it I am blocked in this function:

int HID_API_EXPORT HID_API_CALL hid_write(hid_device *dev, const unsigned char *data, size_t length)

I wait forever at this function call:

res = GetOverlappedResult(dev->device_handle, &ol, &bytes_written, TRUE/*wait*/);

(hid.c, line 612)

Could you explain me how to get rid of this problem?

Thank you !

Marc

ラベル(1)
0 件の賞賛
返信
1 解決策
1,748件の閲覧回数
jonathan_barnes
Contributor I

I have also seen this exact behaviour in Windows 10. It hangs at the Windows API call.

The workaround seems to be to unplug/replug the USB device and re-run.

This seems necessary after every rebuild.

We also compiled under Ubuntu for comparison, and this does not show the problem.

元の投稿で解決策を見る

4 返答(返信)
1,749件の閲覧回数
jonathan_barnes
Contributor I

I have also seen this exact behaviour in Windows 10. It hangs at the Windows API call.

The workaround seems to be to unplug/replug the USB device and re-run.

This seems necessary after every rebuild.

We also compiled under Ubuntu for comparison, and this does not show the problem.

1,748件の閲覧回数
marc1
Contributor II

Yes. Same behavior here. Thank you for your answer.

0 件の賞賛
返信
1,748件の閲覧回数
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

Could you please confirm that you followed all the steps mentioned in the QuickStartGuide_Windows. This file is available in the SW  you are using ?

regards,
Estephania

0 件の賞賛
返信
1,748件の閲覧回数
marc1
Contributor II

Yes, I confirm. The Eclipse C project is not fully stable.

0 件の賞賛
返信