gs1900-48

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gs1900-48 [2021/01/20 13:44] – [Board configuration] bkoblitzgs1900-48 [2023/01/19 16:36] (current) – Serial header pin-out svanheule
Line 4: Line 4:
  
 The GS1900-48 is a 48 + 2-port Gigabit L2 switch with 48 gigabit ports. The GS1900-48 is a 48 + 2-port Gigabit L2 switch with 48 gigabit ports.
 +
 +===== Firmware =====
 +It ships with a bootloader based on Realtek's SDK for RTL83xx SoCs and Linux 2.6 based on Realtek's SDK. It has a web interface for all management functions.
 +
 +==== OpenWRT Support ====
 +There is experimental hardware support for the device in OpenWRT. SFP does not work.
 +
  
 ===== Hardware ====== ===== Hardware ======
Line 9: Line 16:
   * Macronix MX25l12805D (16MB flash)   * Macronix MX25l12805D (16MB flash)
   * 128MB RAM   * 128MB RAM
-  * 6 [[RTL8218B]] external PHY +  * 6 × [[RTL8218B]] external PHY 
-  * 2 [[RTL8231]] GPIO extenders to control the port LEDs, system LED and reset button+  * 2 × [[RTL8231]] GPIO extenders 
 +    * One configured as shift register to control the port LEDs 
 +    * One configured in MIIM mode (phy address 0x3) for GPIO usage: reset button, SFP cages
  
 2 Uplink ports are SFP cages which support 1000 Base-X tmini GBIC modules. 2 Uplink ports are SFP cages which support 1000 Base-X tmini GBIC modules.
  
-Power is supplied via a 230 volt mains connector. The board has a hard reset switch SW1, which is is not reachable from the outside. J4 provides a 12V RS232 serial connector which is connected through U8 to the 3.3V UART of+Power is supplied via a 230 volt mains connector. The board has a hard reset switch SW1, which is is not reachable from the outside. J4 provides a 12V RS232 serial connector (AT/Everex layout) which is connected through U8 to the 3.3V UART of
 the RTL8393. Conversion is done by U8, a SIPEX 3232EC. To connect to the UART, wires can be soldered to R603 and R602. the RTL8393. Conversion is done by U8, a SIPEX 3232EC. To connect to the UART, wires can be soldered to R603 and R602.
  
Line 24: Line 33:
 {{wiki:gs1900-48_board2.jpg?200}} {{wiki:gs1900-48_board2.jpg?200}}
  
-===== Firmware ===== +==== JTAG ==== 
-It ships with a bootloader based on Realtek's SDK for RTL83xx SoCs and Linux 2.6 based on Realtek's SDKIt has a web interface for all management functions.+The board has an unpopulated eJTAG headerThe SMD resistor configuration is such that the interface is disabled by defaultTo be able to use the JTAG interface, the following changes need to be made: 
 +  * R171 permanently asserts nTRST. Move R171 (pull-down) to R525 (pull-up) to allow remote assertion of nTRST. 
 +  * R48 is unpopulated, leaving nSRST unconnected. (optional) Add a 0 ohm resistor to complete the connection. 
 +  * Add 2×7 pin header, or at least add connections to TDI, TDO, TCK, TMS and (one) GND pins.
  
-==== OpenWRT Support ==== +With these modifications, two devices will be found in the JTAG chain: 
-There is experimental hardware support for the device in OpenWRTSFP does not work.+ 
 +<code> 
 +Info : JTAG tap: auto0.tap tap/device found: 0x00001001 (mfg: 0x000 (<invalid>), part: 0x0001, ver: 0x0) 
 +Info : JTAG tap: auto1.tap tap/device found: 0x00000001 (mfg: 0x000 (<invalid>), part: 0x0000, ver: 0x0) 
 +</code> 
 + 
 +==== Hard reset circuit ==== 
 + 
 +{{wiki:zyxel:gs1900-48-gpio-reset-crop.jpg?200}} {{wiki:zyxel:gs1900-48-gpio-reset-bodge.jpg?200}} 
 + 
 +Looking at the circuit around the hard reset button (SW1), one can see an RC (debouncing) circuit (R210+C32). R465 is a pull-up, to maintain the de-asserted state of the RC-circuit's output leading to the SoC (via 0-ohm R403). 
 + 
 +U25 has marking "8AQP" and is most likely some kind of transistor. C666 buffers VCC for pad U25:4, U25:1 (large pad) is connected to GND. U25:3 connects to the SoC's reset line (R403). Pad U25:2 leads to a pull-up resistor (R464 next to U31). It is possible that this is some form of "DC OK" signal, that starts out at GND, but will switch to a high impedance on U25:3 once VCC stabilizes at the required level. 
 + 
 +The board config reports that GPIO5 on the RTL8231 (U38) can be used to reset the SoC. GPIO5 leads to TP2 on the board, but neither are connected electrically to U25:2 or U25:3, nor to R403 next to the SoCA bodge wire can be installed to enable runtime reset-by-GPIO.
  
 ==== Board configuration ==== ==== Board configuration ====
-The RTL8231 used for the external GPIOs has PHY-ID 3, not 0 as for all known 838x-based models. 
  
 <code> <code>
Line 197: Line 222:
   * [[https://download.zyxel.com/GS1900-48/datasheet/GS1900-48_19.pdf | Product datasheet]]   * [[https://download.zyxel.com/GS1900-48/datasheet/GS1900-48_19.pdf | Product datasheet]]
  
-{{tag>zyxel-gs1900}}+{{tag>zyxel-gs1900}} {{tag>jtag}}
  • gs1900-48.1611150267.txt.gz
  • Last modified: 2021/01/20 13:44
  • by bkoblitz