sfpdoctor

License: GPLv3

SFP Doctor

SFP Doctor is an open source hardware & software project for reading and writing the EEPROM inside SFP & SFP+ modules.

About

SFP modules contain an EEPROM which contains information about the module. This information includes the OUI (Organizationally Unique Identifier) which identifies the vendor of the module.

Some NIC’s and switches are locked to using a particular vendors own SFP modules, this hardware and software project provides a tool for reading and modifying this information (providing the vendor has not disabled write access to the EEPROM).

The hardware design is intended to be as simple and cheap as possible, therefore it makes use of the Cypress CYC8CKIT-059 prototyping board as the USB interface to the EEPROM on the module, this board is readily and cheaply available.

Repository Contents

Required Tools

Building Software

Desktop

After installing the prequestite packages, use the following commands.

yarn run build
yarn run start

The platform binary can be created with the following commands.

yarn run build
yarn run dist

(Please note that currently the software is not functional)

Firmware

Open the firmware project in PSOC Creator and select build to create the firmware image.

Project Status

Hardware

Firmware

Software

With Thanks

This project is using a USB VID & PID kindly allocated by pid.codes. Their repository can be found here. They support open source development by providing VID/PID pairs for free.

License

This project is open source and the entire project is released under the GPLv3 license.

Distributed as-is; no warranty is given.