... | ... | @@ -299,8 +299,30 @@ counter of "2:Riv-cd" is non zero, the chances are that this is the |
|
|
. To mitigate the issue, try connecting an off-the-shelf Gigabit
|
|
|
Ethernet switch between the non-WR device and the WRS.
|
|
|
|
|
|
Author: Maciej Lipinski
|
|
|
31/10/18
|
|
|
Author: Maciej Lipinski 31/10/18
|
|
|
|
|
|
### Q: Is it possible to disable RTU learning on a switch?
|
|
|
|
|
|
A: Yes, from firmware v5.0 rtu\_stat has a parameter "learning" which
|
|
|
can be used define on which port(s) to disable RTU learning. For all
|
|
|
(including older) firmwares the same result can be achieved by using
|
|
|
devmem like:
|
|
|
|
|
|
# Disable learning on port 10
|
|
|
# First, select port 10 in "Port Select Register"
|
|
|
wrs1# devmem 0x10060004 32 0xA
|
|
|
# read the current value of "Port Control Register"
|
|
|
wrs1# devmem 0x10060008
|
|
|
0x00000083
|
|
|
# Clear bit 0 in the returned value
|
|
|
wrs1# devmem 0x10060008 32 0x82
|
|
|
|
|
|
For more information about used registers please refer to [White Rabbit
|
|
|
Switch HDL-SW
|
|
|
interface](https://www.ohwr.org/project/white-rabbit/uploads/0e90236d5e9b48b41424dfc695d23cc4/switch_hdl-sw-v4.0.pdf)
|
|
|
|
|
|
Author: Adam Wujek
|
|
|
6/11/18
|
|
|
|
|
|
-----
|
|
|
|
... | ... | |