We are building a device around the Compute Module 3 and since it needs internet access we decided to go with the LAN9512 that was also used in the Raspberry Pi earlier.

The LAN9512 requires an EEPROM to function and that EEPROM has a field for a serial number. According to the LAN9512 datasheet the USB Host (meaning the Compute Module) should be able to read the EEPROM content, so we figured we could put the serial number of our device into the LAN9512 EEPROM. But I can't find a way to read the serial number (or better the whole EEPROM content) from the Compute Module.

How can I do that / where can I find more information on that?

  • Welcome @Dakkaron. Could you please clarify what you're trying to do? Are you trying to find the serial number of your Compute Module? The serial number of your LAN9512 controller? Where's this EEPROM that you're talking about? According to the device's datasheet your device only has a controller to interface to an external EEPROM. – David Apr 4 '19 at 1:54
  • Yes, that is what I mean. I have this setup: CM3 <- [USB] -> LAN9512 <- [SPI] -> External EEPROM. According to the datasheet the LAN9512 should be able to forward the EEPROM's contents to the CM3. But the USB connection is managed by a driver on the CM side of things, so I don't think I am able to issue USB commands directly. I would ideally like to be able to dump the whole EEPROM's contents, but if that is not possible I would at least like to dump the content of the serial number field of thr EEPROM (as defined by the LAN9512 which uses this field as it's serial number) – Dakkaron Apr 4 '19 at 7:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.