Hi. We are having problems on maintaining communication with FDC2214EVM. Here's the background info:
- After we got the board, we did a sanity check on a PC, updated the firmware, re-checked sanity, then we connected the board to the target host which runs Linux. The Linux box runs a shell script to read/write the registers on the board. The script's communication protocol follows information seen in this thread (.../support/sensors/f/1023/t/805053), which we've also verified by capturing the USB data while running EVM GUI.
- The script is able to read the desired registers successfully, but every once in a while it could time out on receiving data (but a retry or a few tries later it could succeed), or it could end up getting an I/O error on the serial port (/dev/ttyACMx). Once it gets an I/O error, it can no longer talk to the board; the green LED on the board is turned OFF; any attempt to reset the serial port or the USB device is to no avail. The only way to recover is to unplug and replug the USB.
- The timing of the reads seems to have some impact if we run the script in a loop and read the same channel (e.g., Ch_2, MSB+LSB), with or without inserting a small delay (0.2 or 0.5 sec) in the loop. Strangely, it's more likely to get into the I/O error condition when there IS a delay between reads.
Questions:
1. What could have caused the state of the board to change (green LED is OFF)? and what exactly is the state of the board in that case?
2. Why would the timing of reads affect it, and how come giving it more time makes it worse?
3. As the above thread indicates, the communication protocol with the current firmware is no longer according to the FAQ thread that you often refer to (.../support/sensors/f/1023/t/295036). While we can figure out commands like "?" (who am I) and for reading/writing registers, there are obviously others we don't know. For example, what's the purpose of the initial packet "4C 03 01 00 00 0F" and the expected response (is it "FF 00 4C"? and what does it mean?). Can you provide a complete protocol description for the current firmware?
Thanks.
Naichia