CodingBox Q&A Ask question

Questions tagged “I2C”

8 questions
15 30 50 per page
2votes
1 answer
107views

sfp-eeprom-tool: CH341A-based SFP EEPROM reader and I2C sniffing to expose silent write failures

A small toolset that reads and writes SFP EEPROM over I2C with a CH341A programmer plus an I2C sniffer. The author found that sigrok/PulseView did not work with the analyser, that a v1.0.5 SFP coder firmware reported success while silently not writing the module (proven by I2C traces), and that the…

7votes
7comments
390views

Scripting DDM polling over I2C: which A2h bytes hold the live values and which the thresholds

I am writing a small poller that pulls temperature, voltage, bias and optical power straight off the modules on our whitebox boxes, so we get a trend line instead of someone eyeballing a link after it has already started erroring. The NOS prints pretty values, but I want the raw numbers with the…

1vote
1 answer
96views

Real incidents caused by third-party optics: slow I2C crashing a linecard and a DDM uptime overflow bug

In a NANOG discussion about vendor lock-in, an operator described two concrete failures. First, a third-party optic answered I2C reads too slowly; the switch vendor's polling code did not handle the timeout and crashed the linecard control plane, and the vendor refused to treat it as a bug because…