hudengke 发表于 2022-11-15 21:33

datasheet瑞昱RTL8370N-8端口千兆交换芯片产品手册.docx


芯片手册地址:https://cloud.189.cn/t/NvIZFf6FF3Yn (访问码:6haz)


自用的一台杂牌交换机芯片坏了找到了论坛一个交换机编程器固件地址是https://www.right.com.cn/forum/thread-250955-1-1.html使用binwalk分析了一下;这个固件好像没有uboot的,整个固件就是个数据文件,包含一些html文件和zlib压缩文件,分区也不知道怎么定义的。也没有找到文本形式的配置文件可能压缩或者加密了吧。但是这个系统连个uboot都没有估计也没有内核的。那它是怎么实现压缩解压或者加密的呢?

芯片定义第80引脚是控制eeprom的,但是一般都外接了flash闪存,配置不都是保存再闪存上的吗?下面手册中的英文不了解他是什么意思
EEPROM Mode Selection.
Pull Up: EEPROM 24Cxx Size greater than 16Kbits (24C32~) Pull Down: EEPROM 24Cxx Size less than or equal to 16Kbit (24C02~24C16).
Note: This pin must be kept floating, or pulled high or low via an external 4.7k ohm resistor upon power on or reset.
When this pin is pulled low, the LED output polarity will be high active. When this pin is pulled high, the LED output polarity will change from high active to low active.

翻译:EEPROM模式选择。
上拉:EEPROM 24Cxx大小大于16K位(24C32~)下拉:EEPROM24Cxx尺寸小于或等于16K位。(24C02~24C16)。
注:此引脚必须保持浮动,或在通电或复位时通过外部4.7k欧姆电阻器拉高或拉低。
当该引脚拉低时,LED输出极性将处于高激活状态。当该引脚被拉高时,LED输出极性将从高激活变为低激活。

芯片第84引脚定义:
Enable SPI Flash Interface启用spi闪存接口
Pull Up: Enable SPI Flash Interface upon power on or reset Pull Down: Disable SPI Flash Interface upon power on or reset Note 1: Please Refer chapter 7.7 for detail description.
Note 2: This pin must be kept floating, or pulled high or low via an external 4.7k ohm resistor upon power on or reset.
When this pin is pulled low, the LED output polarity will be high active. When this pin is pulled high, the LED output polarity will change from high active to low active.


kegpyan 发表于 2023-3-12 17:06

建议楼主看下这个
https://github.com/libc0607/Realtek_switch_hacking/blob/master/RTL8370N-Demo.md
页: [1]
查看完整版本: datasheet瑞昱RTL8370N-8端口千兆交换芯片产品手册.docx