2019-08-28 06:53 AM
Hi,
We have recently purchased the STEVAL-BFA001V1B kit and planned to connect the STEVAL-IDP004V1 to the STEVAL-IDP005V1 as we planned to use the STEVAL-IDP004V1 GUI interface to allow for streaming off data from the sensor.
The manuals we have used are:
https://www.avnet.com/opasdata/d120001/medias/docus/190/STEVAL-BFA001V1B%20User%20Manual.pdf
They make reference to updating the firmware of the STEVAL-IDP005V1 through dragging across "STEVAL-IDP005_ConditionMonitoring_IOL_v1.1.0.bin." The GUI after doing this results in the following error:
"[>> TX] START
[ERR] Command ERROR (TRASMISSION FAIL) - RECEIVED DATA
[>> TX] COMMAND END
[ERR] Command ERROR (TRASMISSION FAIL) - RECEIVED DATA
[ERR] Communication with STEVAL-IDP004V1 BOARD failed.
Please reset the BOARD and the GUI and retry."
The 2nd manual refers to disconnect the assembly that we tried with no hope of any differences.
The STEVAL-IDP004V1 itself has 4 green flashes lights for each sensor (sensor 1, sensor 2 and so fourth) that has not changed implying that the sensor (STEVAL-IDP005V1) is not detected as a sensor.
Additionally, we are unable to determine whether there is any communication between the STEVAL-IDP004V1 and the PC.
We have uploaded another project (Condition_Monitoring_SRV) through the System Workbench by running/debugging and then connected through putty which following a reset of the STEVAL-IDP005V1 means data is streamed from the sensor.
After changing the baud rate to 38400, GUI application works to some extend but fails on sensor command.
I am following the user manual but the baud rate mentioned in it is completely different.!!!
***************************************************************
[>> TX] START
[<< RX] *********************************
* STMicroelectronics *
* IO - Link MULTI-PORT SOLUTION *
*********************************
SELECT MASTER OR DEVICE
[>> TX] MASTER
[<< RX]
INSERT ADDRESS IC
[>> TX] 0
[<< RX]
INSERT OPERATING MODE
[>> TX] WR_S
[<< RX]
INSERT REGISTER VALUE
[>> TX] 096,248,033,122,122,122,122,
[<< RX]
PROGRAMMING DONE
[>> TX] COMMAND END
[<< RX]
SELECT MASTER OR DEVICE
[>> TX] DEVICE
[<< RX]
INSERT SLAVE NODE
[>> TX] 0
[<< RX]
INSERT SENSOR COMMAND
[>> TX] IDS
[ERR] Command ERROR (TRASMISSION FAIL) - RECEIVED DATA
[>> TX] COMMAND END
[ERR] Command ERROR (TRASMISSION FAIL) - RECEIVED DATA I=I5R?
[ERR] IDS COMMAND FAIL - NODE 0 - ATTEMPT 1
[ERR] Communication with STEVAL-IDP004V1 BOARD failed.
Please reset the BOARD and the GUI and retry.
***************************************************************
We managed to connect the GUI using RS485 connection but with the baud rate of 38400.
After programming the sensor from STSW-BFA001V1_v1.1.0 zip for \STSW-BFA001V1_v1.1.0\Projects\Demonstrations\Condition_Monitoring_IOL
Still not sure why sensor is not responding/initializing or there are any communication error.
Following is the output in GUI console window.
*************************************************************************
SELECT MASTER OR DEVICE
[>> TX] MASTER
[<< RX]
INSERT ADDRESS IC
[>> TX] 0
[<< RX]
INSERT OPERATING MODE
[>> TX] WR_S
[<< RX]
INSERT REGISTER VALUE
[>> TX] 096,248,033,122,122,122,122,
[<< RX]
PROGRAMMING DONE
[>> TX] COMMAND END
[<< RX]
SELECT MASTER OR DEVICE
[>> TX] DEVICE
[<< RX]
INSERT SLAVE NODE
[>> TX] 0
[<< RX]
INSERT SENSOR COMMAND
[>> TX] IDS
[*ERR*] Command ERROR (TRASMISSION FAIL) - RECEIVED DATA
[>> TX] COMMAND END
[*ERR*] Command ERROR (TRASMISSION FAIL) - RECEIVED DATA I=I5R?
[*ERR*] IDS COMMAND FAIL - NODE 0 - ATTEMPT 1
[*ERR*] Communication with STEVAL-IDP004V1 BOARD failed.
Please reset the BOARD and the GUI and retry
*************************************************************************
Any help is admirable..
2019-08-30 07:45 AM
Hi @Pmond , for the sake of completeness I redirect you to the Interface And Connectivity ICs community for this Q&A --> link
Regards