View Single Post
kimmoli's Avatar
Posts: 562 | Thanked: 2,744 times | Joined on Dec 2013 @ Espoo, Finland
#11
Simple EEPROM data to try. (Maybe i have nothing else to do tonight)

Code:
000: 12 34 56 78 01 01 00 00 30 00 05 00 40 00 06 00
010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
030: 43 46 47 3F 00 00 00 00 00 00 00 00 00 00 00 00
040: 55 44 41 54 41 00 00 00 00 00 00 00 00 00 00 00
Should set following values; These should be then visible somewhere in sysfs
  • Vendor = 0x1234
  • Product = 0x5678
  • Rev = 0x01
  • EEPROM size = 0x0100 (256 bytes)
  • CFG address = 0x0030 (must be at least 0x30)
  • CFG Size = 0x0005 = 5 bytes (at address 0x0030)
  • Udata address = 0x0040
  • Udata size = 0x0006 = 6 bytes (at address 0x0040)
  • config = string "CFG?" (including NULL)
  • udata = string "UDATA"

Last edited by kimmoli; 2014-01-20 at 18:10.