Hi,
There might be a bug in SYS/BIOS Industrial SDK (V1.1.0.4) EtherCAT Code:
In the file "tieschw.c" there is a procedure "HW_EscWriteWordIsr()":
void HW_EscWriteWordIsr(Uint16 WordValue, Uint16 Address) { Int16 sm_index; Uint16 ActualAddr = bsp_get_process_data_address(Address, 2, &sm_index); if (ActualAddr < ESC_ADDR_MEMORY) { pd_write_addr_err++; return; } bsp_write_word(WordValue, Address); bsp_process_data_access_complete(Address, 2, sm_index); }
For me the second last row shoulb be: bsp_write_word(WordValue, ActualAddr);
Can someone from TI please clarify this. Thanks.
Best regards,
Patrick