Quantcast
Channel: Cypress Semiconductor - USB - Known Problems and Solutions
Viewing all articles
Browse latest Browse all 153

CyUSB.dll HID Fatal Execution Engine Error

$
0
0

Hello,

 

I have actually a few problems / questions.

 

So, initially we were having a problem with data being transferred from the board to the HID Host application.

The firmware developer found that if he repeatedly sent data during down times (master / slave) I would be able to get the data, however if he did not keep the communication line active it would time out and he would not be able to send data anymore.

 

So, our work around is that every 10 msec he sends me 0xFF, if the databuffer starts with a 0xFF on the Host side it just disregards it and waits for actual data bytes.

 

This is done on the host side by creating a while loop that loops for 1.5 seconds, with no delay on looping, each loop it does it calls ReadInput() on the HIDDevice. This have triggered a "Fatal Execution Engine Error" numerous times.

Which basically means somewhere in the CyUSB.dll there are issues with garbage collection heap integrity.

 

So, I am wondering if anyone has any input on either of my two problems:

1.) Does the firmware really need to send out data every 10 milliseconds or the connection goes stale?

2.) Why am I getting a "Fatal Execution Engine Error" when making repeated calls to ReadInput()?

 

Regards


Viewing all articles
Browse latest Browse all 153

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>