Re:Realtek RTL836x series of Ethernet switch ICs has a 8051 ...
by mysterydip on Sunday September 22, 2019 @08:29AM
(#21041061)
A reply in the twitter thread makes the most sense to me: "Interesting! I can imagine this being used to generate & monitor traffic for factory test."
That would make verification much easier and also explain why it's undocumented. Of course if there's a way for testers to use it, there's potentially a way for others to use it as well.
[ Parent
| on HN ]
Re:Realtek RTL836x series of Ethernet switch ICs has a 8051 ...
by 8K832d7tNmiQ on Sunday September 22, 2019 @08:38AM
(#21041092)
why would you need an 8051 to do an internal testing, though? and why would make it easier to test?
Re:Realtek RTL836x series of Ethernet switch ICs has a 8051 ...
by mysterydip on Sunday September 22, 2019 @10:34AM
(#21041530)
I see it like debug statements in code. If the only access you have to a function is from the inputs and returns, it's difficult to see where the issue lies when the return value is wrong. Having an internally accessible layer of I/O lets you bypass certain areas or get values at different steps to determine root cause. Could be useful for firmware testing, fixing ones that fail a normal test, and RMA's.
You would want to leave the circuitry in place for production because it's largely unnoticeable and changing it could introduce bugs.