News for hackers. Stuff that matters.
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.

Re:Realtek RTL836x series of Ethernet switch ICs has a 8051 ... by _nalply on Sunday September 22, 2019 @10:28AM (#21041499)
Speculating here, but perhaps the 8051 could mock a network with all possible failure cases.