User Tools

Site Tools


toh:huawei:hg520b

Huawei HG520b i killed it :-(

*/Broadcomfail - really? How? Next time ask somebody are doing it good, and i believie in your good wishes but this page "have a mess". Also you could send this router to some developer or open forums thread.

*/ wrong firmware can't speak with router with any way ,it's my first & last time i'm in egypt no 1 knows or try to do any of this kind

if you interested i can send it to you

*/broadcomfail: we should not speak here, open forum thread. Does leds light? For me you just landed in some boot program such like /u-boot/cfe and so on - still you have chance to rescue. Solder goldpins in holes where did you put circle in photo and find serial signals. (http://wiki.openwrt.org/doc/hardware/port.serial)

ok where & where my English is little rusty so take that in mind " open forum thread " HOW

one led blinks for about 10s then no thing

funny fact i couldn't find any circle do do jtag or Serial Console in Egypt here its like war zone when it come to electronic dev

The Huawei HG520b is an adsl wifi router distributed by TEDATA to IT'S customers.

master ic NO is
TRENDCHIP
TC3162P2-PQ208G
D500H.1
UG1016D2-H
NETWORK IC NO
IC+
IP175C LF
1016C13
FR1W418.18
WIRELISS IC NO
RA
RT2561T
G2V8900G0
1016AT
MEMORY IC "I'M NOT SURE"
EM639165TS-7G
009AG05AGF841.132Q
Frequency 143MHZ
ADSL IC
trendchip tc3085-tq64-epg

this is all i know

Supported Versions

Version/Model Launch Date S/N OpenWrt Version Supported Model Specific Notes
v1 2006-07 - - -
v1.1 2008-12 - - -
v2 2011-01 - - -

NOTE: Anything not included in model specific notes, or where a short comment couldn't be included on the notes.

OEM source code available at: link

Hardware Highlights

SoC Ram Flash Network USB Serial JTag
Intel IXP425@533MHz 32MiB 16MiB 4 x 1 Yes Yes ?

Manufacturer's site: http://www.huawei.com/en/

Forum: https://forum.openwrt.org/viewtopic.php?id=???

Keep the articles modular

Please include only model specific information, omit bla,bla and put everything generic into separate articles
generic.overview if you have no time to write certain stuff link to this
basic.config should lead the way, do not explain this again
DO NOT provide a complete howto here! Instead groom the general HowTos.

Installation

  1. »»»»here»»»»Latest OpenWrt release««««here«««« DO NOT PROVIDE OWN LINKS to http://downloads.openwrt.org/

Flash Layout

Please check out the article Flash Layout. It contains an example and a couple of explanations.

OEM easy installation

FIXME The instructions below are for Broadcom devices and only serve as an example. Don't leave them in place if they do not apply to a particular device!

This section deals with how you install OpenWrt from a device freshly opened. Plus the steps required such as reset to factory defaults if the device has already been configured

Note: Reset router to factory defaults if it has been previously configured.

OEM installation using the TFTP method

Specific values you need

Bootloader tftp server IPv4 address FILL-IN
Bootloader MAC address (special) FILL-IN
Firmware tftp image Latest OpenWrt release (NOTE: Name must contain "tftp")
TFTP Transfer Window FILL-IN seconds
TFTP Window Start approximately FILL-IN seconds after power on
TFTP Client Required IP Address FILL-IN

Upgrading OpenWrt

generic.sysupgrade

If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

LuCI Web Upgrade Process

Terminal Upgrade Process

  • Login as root via SSH on 192.168.1.1
  • Use the following commands to upgrade.

cd /tmp/
wget http://http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc

  • If sysupgrade does not support this router, use the following commands.

cd /tmp/
wget http://http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

Basic configuration

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

Specific Configuration

Interfaces

The default network configuration is:

Interface Name Description Default configuration
br-lan LAN & WiFi 192.168.1.1/24
vlan0 (eth0.0) LAN ports (1 to 4) None
vlan1 (eth0.1) WAN port DHCP
wl0 WiFi Enabled

Switch Ports (for VLANs)

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) 4
LAN 1 3
LAN 2 2
LAN 3 1
LAN 4 0

Failsafe mode

Buttons

hardware.button on howto use and configure the hardware button(s).

The Huawei HG520b has three buttons. They are Reset and Power, Wireless Here on/off , we merely name the buttons, so we can use them in the above Howto:

BUTTON Event
Reset reset
Wireless on/off wireless
Power on/off Power

Hardware

Info

Instruction set: MIPS / ARM / PowerPC / SPARC / Ubicom32 / x86 /AVR32 / ETRAX CRIS / …
Vendor: TRENDCHIP
Bootloader: U-Boot / RedBoot / CFE / …
System-On-Chip: TRENDCHIP TC3162P2-PQ208G
CPU @Frq
Flash size: 8192 KiB
Flash Chip: EM639165TS-7G - 8Mega
RAM size: 16 MiB
RAM Chip:
Wireless No1: RA: RT2561T / for 2.4GHz 802.11b/g
Switch: IC+ IP175C LF ( VLAN )
Modem: none / xDSL / Wireless
USB: NONE
Serial: Yes
JTAG: Yes

Photos

Huawei HG520b

Front:

Back:

Opening the case

Main PCB

Serial

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:

JTAG

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:

Photo of PCB with markings

Debricking

Bootloader Mods

  1. you could read about bootloader in general

Hardware mods

  1. as a beginner, you really should inform yourself about soldering in general and then obtain some practical experience!

128MiB RAM Mod

I²C GPIO Mod

I²C Tiny-USB Mod

Bootlogs

OEM bootlog

PUT HERE YOUR BOOTLOG

OpenWrt bootlog

PUT HERE YOUR BOOTLOG

Notes

Tags

For some Help with the Tags, please have a look here: tags

toh/huawei/hg520b.txt · Last modified: 2013/11/27 19:12 (external edit)