Leuze electronic GmbH+Co.KG
Hi,
I just dowloaded the latest release of the xc uart hal, release V1.3.1.0.
The release notes text file contains the following new line:
"1.3.1.0 HPf 11.08.2010 Bugfix: Fixed interaction with shared bits of other XC ports"
What is the effect of this interaction of shared bits?
Happens this only if muliple instances of xc uart are running or are other xc hals or stacks affected?
Which file contains the bugfix, this information is still missing in the release notes?
Regards,
jlinsen
Leuze electronic GmbH+Co.KG
Hi AJ,
we are running xc uart on xc2 for interprocessor communication. The additional xcs are used for host/plc communication. The following combinations (with xc uart on xc2) occure in our device with a netx100:
1. profibus on xc0 and xc ssi hal on xc1
2. ethernet switch on xc0 and xc1
3. ethercat on xc0, xc1 and xc3
4. canopen on xc0
5. devicenet on xc0
6. additional instance of xc uart on xc0
Does one or more of the above listed combinations cause the bug, e.g. the use of xc ssi hal?
Regards,
jlinsen
Hilscher Gesellschaft fuer Systemautomation mbH
Hi jlinsen,
yes, you will get in trouble with the old UART-HAL and your listed combinations.
Regards
AJ
Leuze electronic GmbH+Co.KG
Hi AJ,
we haven't noticed any trouble yet, so we are back to my first questions:
Question 1: What is the effect of this interaction of shared bits?
Question 2: Which file contains the bugfix, this information is still missing in the release notes?
I haven't found any functional improvement or bugfix in the file hal_xc_uart.c so i assume the bugfix is inside the xc-code. So it would be sufficient to replace our old rpu-, tpu- and xpec-codes with the new ones.
Regards,
jlinsen
Hilscher Gesellschaft fuer Systemautomation mbH
Hi jlinsen,
the prblem will happen in fact you are using the UART and a CAN or DeviceNET at the same time.
If the problem occures the CAN will not sent frames anymore.
The fix is inside of the XC binary.
Regards
AJ
Andreas Jacob
Hilscher Gesellschaft fuer Systemautomation mbH
Hi jlinsen,
this problem happens only in case you are using different HALs at the same time. For example you use the UART-HAL and the CAN-HAL. Then they would influence each other.
Regards
AJ