Hi,
We are using the starterkit with the example appliaction, the one via Visual Studio.
Some info:
ABCC Starter Kit version 3.07.02 (2020-12-09)
Delivered with:
ABP 7.76.01 (2020-10-19)
ABCC Driver 5.07.01 (2020-10-12)
At this point, if we run main.c and select the transport path provider as “HMS Development Board 2” using using the selector, and when control switch #4 is in position 1, communication seems succesful, as expected. The terminal writes out:
ANB_STATUS: ABP_ANB_STATE_SETUP
RSP MSG_DATA_FORMAT: 1
RSP MSG_GET_PARAM_SUPPORT: 1
RSP MSG_GET_MODULE_ID: 0x403
RSP MSG_GET_NETWORK_ID: 0x89
RSP MSG_GET_FW_VERSION: 1.53.1
RSP MSG_MAP_IO_****
RSP MSG_MAP_IO_****
RSP MSG_SETUP_COMPLETE
Mapped PD size, RdPd 2 WrPd: 2
ANB_STATUS: ABP_ANB_STATE_NW_INIT
ANB_STATUS: ABP_ANB_STATE_WAIT_PROCESS
However, when “COM-Port Transport Provider” is selected and the RS-232 port on the starter kit is connected to the computer using this connector (which is tested and functioning properly), the app terminal writes
Transport provider error 1
Severity : ABCC_SEV_WARNING
Error code: ABCC_EC_SYS_ADAPTION_ERR (ErrNo: 31)
Add info : (UINT32)eStatus (0x1)
File : C:\Users\mobirob\Desktop\host-application-example-code-(for-compactcom-30-and-40-series)\Projects\Windows\abcc_adapt\abcc_sys_adapt.c (Line:108)
APPL_HandleAbcc() returned status code: 6
Press any key to quit.
The error does not change if the control switch #4 is in position 1 or 2.
Are we misusing the COM-Port Transport Provider? Is this normal? Thanks.