Jump to content
Калькуляторы

Прошивка CWDM, образы SFP прошивка и образы SFP

Отцы, есть коммутатор ProCurve Switch 2510G-24 (J9279A) и есть SFP модуль GL-OT-SG06SC1-1550-1310-B.

Как с помощью инженерного меню и команд типа "XCVRI2CREAD 23 0 0xa0 128" (ну и аналогичной на запись) заставить HP его признавать ?

Вообще возможно-ли это (если да, то какие байты менять и т.д.) ? Спасибо.  

 

P.S. Ну и очень интересует, как пользоваться XCVRI2CWRITE, хоть какой-то пример бы ...

P.P.S. XCVRI2CREAD 23 0 0xa0 256 читает это:
 

Spoiler
HPMST-1$ XCVRI2CREAD 23 0 0xa0 256
xcvrI2cRead attempt
Reads for regs 0x0000 - 0x00ff, bank 0xa0, port 23:
Regs             8 Hex registers                      | Same 8 in ASCII
----+-------------------------------------------------+----------------
R00: 0x03, 0x04, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,  | ♥ ♦ ☺
  ♥ ▲ x00, 0x00, 0x00, 0x01, 0x0d, 0x00, 0x03, 0x1e,  |    ☺
R10: 0x00, 0x00, 0x00, 0x00, 0x47, 0x49, 0x47, 0x41,  |     G I G A
R18: 0x4c, 0x49, 0x4e, 0x4b, 0x20, 0x20, 0x20, 0x20,  | L I N K
R20: 0x20, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0x00,  |
R28: 0x47, 0x4c, 0x2d, 0x4f, 0x54, 0x2d, 0x53, 0x47,  | G L - O T - S G
R30: 0x30, 0x38, 0x53, 0x43, 0x31, 0x2d, 0x35, 0x33,  | 0 8 S C 1 - 5 3
R38: 0x41, 0x30, 0x20, 0x20, 0x06, 0x0e, 0x00, 0x30,  | A 0     ♠   0
R40: 0x00, 0x1a, 0x00, 0x00, 0x34, 0x36, 0x36, 0x30,  |     4 6 6 0
R48: 0x30, 0x31, 0x37, 0x36, 0x38, 0x31, 0x32, 0x31,  | 0 1 7 6 8 1 2 1
R50: 0x30, 0x20, 0x20, 0x20, 0x32, 0x33, 0x30, 0x34,  | 0       2 3 0 4
R58: 0x32, 0x35, 0x20, 0x20, 0x68, 0xf0, 0x03, 0xdf,  | 2 5     h    ♥
R60: 0x2e, 0x00, 0x11, 0xf6, 0xb3, 0x96, 0x4a, 0xf0,  | .            J
R68: 0x80, 0xf1, 0x34, 0xe3, 0x4e, 0xc5, 0x60, 0xf9,  |       4    N    `
R70: 0x21, 0x29, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00,  | ! ) ♥
R78: 0x00, 0x00, 0x00, 0x00, 0xfa, 0x69, 0xb2, 0xd3,  |        i
R80: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

R88: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

R90: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

R98: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

Ra0: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

Ra8: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

Rb0: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

Rb8: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

Rc0: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

Rc8: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

Rd0: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

Rd8: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

Re0: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

Re8: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

Rf0: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

Rf8: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,  |

R100: 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  |

 

 

[UPD]: Вроде разобрался, ребята из GigaLink дали прошивку (там два одинаковых варианта с разными "серийниками" на всякий случай) указанного модуля под HP,

преобразовал её в HEX и составил список команд для побайтовой заливки (в моём коммутаторе SFP модуль в 23 порту), получилось как-то так:

Spoiler
XCVRI2CWRITE 23 0x00 0xa0 0x03
XCVRI2CWRITE 23 0x01 0xa0 0x04
XCVRI2CWRITE 23 0x02 0xa0 0x01
XCVRI2CWRITE 23 0x03 0xa0 0x00
XCVRI2CWRITE 23 0x04 0xa0 0x00
XCVRI2CWRITE 23 0x05 0xa0 0x00
XCVRI2CWRITE 23 0x06 0xa0 0x02
XCVRI2CWRITE 23 0x07 0xa0 0x12
XCVRI2CWRITE 23 0x08 0xa0 0x10
XCVRI2CWRITE 23 0x09 0xa0 0x01
XCVRI2CWRITE 23 0x0a 0xa0 0x05
XCVRI2CWRITE 23 0x0b 0xa0 0x01
XCVRI2CWRITE 23 0x0c 0xa0 0x0D
XCVRI2CWRITE 23 0x0d 0xa0 0x00
XCVRI2CWRITE 23 0x0e 0xa0 0x03
XCVRI2CWRITE 23 0x0f 0xa0 0x1E
XCVRI2CWRITE 23 0x10 0xa0 0x00
XCVRI2CWRITE 23 0x11 0xa0 0x00
XCVRI2CWRITE 23 0x12 0xa0 0x00
XCVRI2CWRITE 23 0x13 0xa0 0x00
XCVRI2CWRITE 23 0x14 0xa0 0x47
XCVRI2CWRITE 23 0x15 0xa0 0x49
XCVRI2CWRITE 23 0x16 0xa0 0x47
XCVRI2CWRITE 23 0x17 0xa0 0x41
XCVRI2CWRITE 23 0x18 0xa0 0x4C
XCVRI2CWRITE 23 0x19 0xa0 0x49
XCVRI2CWRITE 23 0x1a 0xa0 0x4E
XCVRI2CWRITE 23 0x1b 0xa0 0x4B
XCVRI2CWRITE 23 0x1c 0xa0 0x20
XCVRI2CWRITE 23 0x1d 0xa0 0x20
XCVRI2CWRITE 23 0x1e 0xa0 0x20
XCVRI2CWRITE 23 0x1f 0xa0 0x20
XCVRI2CWRITE 23 0x20 0xa0 0x20
XCVRI2CWRITE 23 0x21 0xa0 0x20
XCVRI2CWRITE 23 0x22 0xa0 0x20
XCVRI2CWRITE 23 0x23 0xa0 0x20
XCVRI2CWRITE 23 0x24 0xa0 0x00
XCVRI2CWRITE 23 0x25 0xa0 0x00
XCVRI2CWRITE 23 0x26 0xa0 0x00
XCVRI2CWRITE 23 0x27 0xa0 0x00
XCVRI2CWRITE 23 0x28 0xa0 0x47
XCVRI2CWRITE 23 0x29 0xa0 0x4C
XCVRI2CWRITE 23 0x2a 0xa0 0x2D
XCVRI2CWRITE 23 0x2b 0xa0 0x4F
XCVRI2CWRITE 23 0x2c 0xa0 0x54
XCVRI2CWRITE 23 0x2d 0xa0 0x2D
XCVRI2CWRITE 23 0x2e 0xa0 0x53
XCVRI2CWRITE 23 0x2f 0xa0 0x47
XCVRI2CWRITE 23 0x30 0xa0 0x30
XCVRI2CWRITE 23 0x31 0xa0 0x36
XCVRI2CWRITE 23 0x32 0xa0 0x53
XCVRI2CWRITE 23 0x33 0xa0 0x43
XCVRI2CWRITE 23 0x34 0xa0 0x31
XCVRI2CWRITE 23 0x35 0xa0 0x2D
XCVRI2CWRITE 23 0x36 0xa0 0x35
XCVRI2CWRITE 23 0x37 0xa0 0x33
XCVRI2CWRITE 23 0x38 0xa0 0x31
XCVRI2CWRITE 23 0x39 0xa0 0x2E
XCVRI2CWRITE 23 0x3a 0xa0 0x30
XCVRI2CWRITE 23 0x3b 0xa0 0x20
XCVRI2CWRITE 23 0x3c 0xa0 0x06
XCVRI2CWRITE 23 0x3d 0xa0 0x0E
XCVRI2CWRITE 23 0x3e 0xa0 0x00
XCVRI2CWRITE 23 0x3f 0xa0 0x56
XCVRI2CWRITE 23 0x40 0xa0 0x00
XCVRI2CWRITE 23 0x41 0xa0 0x12
XCVRI2CWRITE 23 0x42 0xa0 0x00
XCVRI2CWRITE 23 0x43 0xa0 0x00
XCVRI2CWRITE 23 0x44 0xa0 0x32
XCVRI2CWRITE 23 0x45 0xa0 0x30
XCVRI2CWRITE 23 0x46 0xa0 0x32
XCVRI2CWRITE 23 0x47 0xa0 0x32
XCVRI2CWRITE 23 0x48 0xa0 0x30
XCVRI2CWRITE 23 0x49 0xa0 0x32
XCVRI2CWRITE 23 0x4a 0xa0 0x32
XCVRI2CWRITE 23 0x4b 0xa0 0x32
XCVRI2CWRITE 23 0x4c 0xa0 0x30
XCVRI2CWRITE 23 0x4d 0xa0 0x30
XCVRI2CWRITE 23 0x4e 0xa0 0x30
XCVRI2CWRITE 23 0x4f 0xa0 0x33
XCVRI2CWRITE 23 0x50 0xa0 0x20
XCVRI2CWRITE 23 0x51 0xa0 0x20
XCVRI2CWRITE 23 0x52 0xa0 0x20
XCVRI2CWRITE 23 0x53 0xa0 0x20
XCVRI2CWRITE 23 0x54 0xa0 0x32
XCVRI2CWRITE 23 0x55 0xa0 0x31
XCVRI2CWRITE 23 0x56 0xa0 0x30
XCVRI2CWRITE 23 0x57 0xa0 0x35
XCVRI2CWRITE 23 0x58 0xa0 0x32
XCVRI2CWRITE 23 0x59 0xa0 0x34
XCVRI2CWRITE 23 0x5a 0xa0 0x20
XCVRI2CWRITE 23 0x5b 0xa0 0x20
XCVRI2CWRITE 23 0x5c 0xa0 0x68
XCVRI2CWRITE 23 0x5d 0xa0 0x90
XCVRI2CWRITE 23 0x5e 0xa0 0x01
XCVRI2CWRITE 23 0x5f 0xa0 0x48
XCVRI2CWRITE 23 0x60 0xa0 0x00
XCVRI2CWRITE 23 0x61 0xa0 0x00
XCVRI2CWRITE 23 0x62 0xa0 0x00
XCVRI2CWRITE 23 0x63 0xa0 0x00
XCVRI2CWRITE 23 0x64 0xa0 0x00
XCVRI2CWRITE 23 0x65 0xa0 0x00
XCVRI2CWRITE 23 0x66 0xa0 0x00
XCVRI2CWRITE 23 0x67 0xa0 0x00
XCVRI2CWRITE 23 0x68 0xa0 0x4A
XCVRI2CWRITE 23 0x69 0xa0 0x34
XCVRI2CWRITE 23 0x6a 0xa0 0x38
XCVRI2CWRITE 23 0x6b 0xa0 0x35
XCVRI2CWRITE 23 0x6c 0xa0 0x39
XCVRI2CWRITE 23 0x6d 0xa0 0x43
XCVRI2CWRITE 23 0x6e 0xa0 0x20
XCVRI2CWRITE 23 0x6f 0xa0 0x31
XCVRI2CWRITE 23 0x70 0xa0 0x39
XCVRI2CWRITE 23 0x71 0xa0 0x39
XCVRI2CWRITE 23 0x72 0xa0 0x30
XCVRI2CWRITE 23 0x73 0xa0 0x2D
XCVRI2CWRITE 23 0x74 0xa0 0x33
XCVRI2CWRITE 23 0x75 0xa0 0x36
XCVRI2CWRITE 23 0x76 0xa0 0x35
XCVRI2CWRITE 23 0x77 0xa0 0x36
XCVRI2CWRITE 23 0x78 0xa0 0x98
XCVRI2CWRITE 23 0x79 0xa0 0x5C
XCVRI2CWRITE 23 0x7a 0xa0 0x20
XCVRI2CWRITE 23 0x7b 0xa0 0x13
XCVRI2CWRITE 23 0x7c 0xa0 0xD9
XCVRI2CWRITE 23 0x7d 0xa0 0x9A
XCVRI2CWRITE 23 0x7e 0xa0 0xFB
XCVRI2CWRITE 23 0x7f 0xa0 0x4F

 

Но если после выполнения этих команд снова сделать 

XCVRI2CREAD 23 0 0xa0 128

то видно, что ничего не изменилось, хотя команды записи выполнились без ошибок ... не пойму в чем дело.

 

[UPD2]: Разобрался после вскрытия модуля, граждане китайцы подключили 24C08A через контроллер и ни одна сигнальная линия I2C не подключена к SFP-разъёму на прямую. Решил просто - выпаял память, подключил к программатору (использовал ChipProg-481) считал всё целиком, а потом в WinHEX просто заменил в считанном начиная с нуля тем, что прислал производитель модуля (ссылки выше), получился вот такой образ (в архиве так-же лежит оригинальный образ содержимого микросхемы памяти до модификации) - его и влил назад в микросхему программатором и запаял память назад в модуль (проверил - работает!)

Edited by shuum

Share this post


Link to post
Share on other sites

День добрый!

Может кто поделиться образом для Cisco GLC-T ?

Тот, которой в данной теме не качается....

Заранее благодарен.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.