Differences

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

toh:tp-link:tl-wr703n [2014/03/02 03:54]
bugmesnot confirming latest trunk works
toh:tp-link:tl-wr703n [2014/11/18 23:38] (current)
xose.vazquez
Line 2: Line 2:
See also the [[toh:tp-link:TL-MR3020]], [[toh:tp-link:TL-MR3040]] and [[toh:tp-link:TL-WR703N]]. or [[toh/tp-link/tl-mr10u|TP-Link TL-MR10U]], [[toh/tp-link/tl-mr11u|TP-Link TL-MR11U]], [[toh/tp-link/tl-mr12u|TP-Link TL-MR12U]] and [[toh/tp-link/tl-mr13u|TP-Link TL-MR13U]]\\ **''Note:''** Many of these routers are marketed as a //"3G travel router"// but  **none actually include a 3G modem** - the marketing term rather means that the OEM firmware supports USB 3G modems because it contains drivers for USB modems! Ignore that, because with OpenWrt ANY router with USB supports 3G hardware... ;-) See also the [[toh:tp-link:TL-MR3020]], [[toh:tp-link:TL-MR3040]] and [[toh:tp-link:TL-WR703N]]. or [[toh/tp-link/tl-mr10u|TP-Link TL-MR10U]], [[toh/tp-link/tl-mr11u|TP-Link TL-MR11U]], [[toh/tp-link/tl-mr12u|TP-Link TL-MR12U]] and [[toh/tp-link/tl-mr13u|TP-Link TL-MR13U]]\\ **''Note:''** Many of these routers are marketed as a //"3G travel router"// but  **none actually include a 3G modem** - the marketing term rather means that the OEM firmware supports USB 3G modems because it contains drivers for USB modems! Ignore that, because with OpenWrt ANY router with USB supports 3G hardware... ;-)
-{{:media:toh:tp-link:tl-wr703n:tl-wr703n.jpg?400|TP-Link TL-WR703N}}+{{:media:toh:tp-link:tl-wr703n:tl-wr703n.jpg?400|TP-Link TL-WR703N}}  
 + 
===== Clones ===== ===== Clones =====
Line 13: Line 15:
| v1.3 | | Trunk (r29283) | [[https://forum.openwrt.org/viewtopic.php?pid=149169#p149169|Confirmed working]] | | v1.3 | | Trunk (r29283) | [[https://forum.openwrt.org/viewtopic.php?pid=149169#p149169|Confirmed working]] |
| v1.5 | December 2011 | Trunk | [[https://forum.openwrt.org/viewtopic.php?pid=155769#p155769|Confirmed working]] | | v1.5 | December 2011 | Trunk | [[https://forum.openwrt.org/viewtopic.php?pid=155769#p155769|Confirmed working]] |
-| v1.6 | April 2012 | Trunk (r39757) | Barrier Break TRUNK Confirmed working | +| v1.6 | April 2012 | Trunk (r39757) | Barrier Breaker, trunk (r39757) Confirmed working |
-| v1.7 | December 2012 (FW build 121204) | AA(12.09)| AA confirmed working, trunk (r36641) broken|+
| v1.6(?) | March 2013 (FW build 130318) | AA(12.09) | AA confirmed working, trunk not tested | | v1.6(?) | March 2013 (FW build 130318) | AA(12.09) | AA confirmed working, trunk not tested |
-| v1.6(?) | March 2013 (FW build 130321, original FW rel. 37153n) | AA(12.09) | AA confirmed working, trunk not tested |+| v1.6(?) | March 2013 (FW build 130321, original FW rel. 37153n) | Trunk(r41336) | AA confirmed working, Trunk too | 
 +| v1.7 | December 2012 (FW build 121204) | AA(12.09)| AA confirmed working, trunk (r36641) broken| 
 +| v1.7 | April 2014 (3.17.1 Build 140120 Rel.56593n) | Unsupported| trunk(r40351) not work|
Unlike many newer TP-Link devices, there appears to be no hardware differences between the version for the Chinese market and the version for the international market. Unlike many newer TP-Link devices, there appears to be no hardware differences between the version for the Chinese market and the version for the international market.
Line 27: Line 30:
  * 802.11 b/g/n 150Mbps (130Mbps real)   * 802.11 b/g/n 150Mbps (130Mbps real)
  * wireless power output 20dBm - 100mW   * wireless power output 20dBm - 100mW
-  * 4 MB flash memory +  * 4 MB flash memory (can be modified for 16MB) 
-  * 32 MB RAM+  * 32 MB RAM (can be modified for 64MB)
  * USB 2.0 port (High-Speed only, use an external High-Speed hub for Full/Low-Speed devices)   * USB 2.0 port (High-Speed only, use an external High-Speed hub for Full/Low-Speed devices)
  * Powered via micro-USB socket   * Powered via micro-USB socket
Line 34: Line 37:
===== Installation ===== ===== Installation =====
 +| Review the warnings below before you flash any images! |
 +
  - Please see [[doc:howto:generic.flashing]] for a generic description of the OpenWrt installation process.   - Please see [[doc:howto:generic.flashing]] for a generic description of the OpenWrt installation process.
 +
 +
 +==== Building Custom Images ====
 +:!: If you've got a modified version of this hardware which has 16MB of flash, then you will not be able to **build** images larger than 4MB, even though the bootloader will allow you to subsequently utilize all 16MB of flash (i.e. by adding packages after firstboot).  See http://wiki.openwrt.org/toh/tp-link/tl-wr703n#mb.flash.mod for how to solve this problem.
   
Line 67: Line 76:
==== Serial console ==== ==== Serial console ====
-The serial console connector does not utilise the regular TP-Link pinouts. Two pads labelled TP_OUT and TP_IN are the TX and RX signals. 115200 8n1+The serial console connector does not utilise the regular TP-Link pinouts. Two pads labelled TP_OUT and TP_IN are the TX and RX signals. 115200 8n1. You have to connect your RS232-USB apdater also to the 5V pin on the board.
Note that the pads can very easily be lifted.  There is slightly more mechanical strength if you can solder to the surface-mount components to which the pads are connected--but this also takes care--your device could easily be destroyed.  Make sure that your connection is secured so that tension cannot be applied to the solder points when you connect to an external device. Note that the pads can very easily be lifted.  There is slightly more mechanical strength if you can solder to the surface-mount components to which the pads are connected--but this also takes care--your device could easily be destroyed.  Make sure that your connection is secured so that tension cannot be applied to the solder points when you connect to an external device.
Line 118: Line 127:
{{:toh:tp-link:tl-wr703n_top.jpg?400|}} {{:toh:tp-link:tl-wr703n_top.jpg?400|}}
{{:toh:tp-link:tl-wr703n_bottom.jpg?400|}} {{:toh:tp-link:tl-wr703n_bottom.jpg?400|}}
 +
 +{{:media:toh:tp-link:tl-wr703n:tp-link_wr703n_top-pcb-gpio.jpg?400|TP-Link TL-WR703N with GPIO and Power}}
On first image you can see the serial connector labeled TP_IN and TP_OUT on the bottom right. GND is right next to it on the right pin of C55. On first image you can see the serial connector labeled TP_IN and TP_OUT on the bottom right. GND is right next to it on the right pin of C55.
-Second image shows AN1 on the bottom right is the strip antenna for wifi.+on the Third image you have placement of GPIO, powers and some interesting things..
Hi Res images here : https://plus.google.com/u/0/photos/107211980242732541247/albums/5737162394063705409/5737162392085444242 Hi Res images here : https://plus.google.com/u/0/photos/107211980242732541247/albums/5737162394063705409/5737162392085444242
Line 147: Line 158:
^ GPIO ^ Available on WR703N ^ AR9331 Pin ^ POR Value ^ WR703N Name ^ Description ^ MR3020 Name ^ ^ GPIO ^ Available on WR703N ^ AR9331 Pin ^ POR Value ^ WR703N Name ^ Description ^ MR3020 Name ^
-|0|R4-E|A78|0| |Must have 0 value during bootstrap*|WLAN LED/LED4|+|0|R4-E|A78|0| | |WLAN LED/LED4|
|1|R2-S|A77|1| |Must have 1 value during bootstrap| | |1|R2-S|A77|1| |Must have 1 value during bootstrap| |
|2|VIA|B49| |SPI_CS_0|Used by SPI Flash|SPI_CS_0| |2|VIA|B49| |SPI_CS_0|Used by SPI Flash|SPI_CS_0|
Line 154: Line 165:
|5|R57-S/R60-S|B50| |SPI_MISO|Used by SPI Flash|SPI_MISO| |5|R57-S/R60-S|B50| |SPI_MISO|Used by SPI Flash|SPI_MISO|
|6|R16-S|B46| |LDO|Connected to U6 LDO*|LDO| |6|R16-S|B46| |LDO|Connected to U6 LDO*|LDO|
-|7|R15-S|A54|0| | *| |+|7|R15-S|A54|0| | | |
|8|R18-E|A52| |USB_POWER|Control USB Host Power|USB_POWER| |8|R18-E|A52| |USB_POWER|Control USB Host Power|USB_POWER|
|9|R82-N|B68|1|TP_IN|UART RXD|TP_IN| |9|R82-N|B68|1|TP_IN|UART RXD|TP_IN|
Line 164: Line 175:
|15|R12-N|B65|0| |Must have 0 value during bootstrap*| | |15|R12-N|B65|0| |Must have 0 value during bootstrap*| |
|16|R13-N|A75|0| |Must have 0 value during bootstrap| | |16|R13-N|A75|0| |Must have 0 value during bootstrap| |
-|17|R14-N|B64|1| | |LAN LED/LED5|+|17|R14-N|B64|1| |Must have 0 value during bootstrap|LAN LED/LED5|
|18|NC|A28|N/A| | |SLIDE SW1| |18|NC|A28|N/A| | |SLIDE SW1|
|19| | | | | | | |19| | | | | | |
Line 178: Line 189:
|29|R17-S|A53|0| | | | |29|R17-S|A53|0| | | |
-* on wr703n these can be floating (i.e. resistors removed) and the unit still boots+* on wr703n these can be floating (i.e. resistors removed) and the unit still boots  
 + 
 +* on wr703n tried to pull up GPIO14 (after removing R11) with 10K, system won't boot, so let it pull down or floating
==== PCB details ===== ==== PCB details =====
Line 724: Line 737:
  *[[https://github.com/lyusupov/Argus/raw/master/doc/Presentation_of_DIY_Airborne_Proximity_Warning_Device.pdf|The Argus project - Airborne proximity warning system]]   *[[https://github.com/lyusupov/Argus/raw/master/doc/Presentation_of_DIY_Airborne_Proximity_Warning_Device.pdf|The Argus project - Airborne proximity warning system]]
  *[[http://smarthome.russemotto.com/|TL-WR703n home automation, without extra µC]]   *[[http://smarthome.russemotto.com/|TL-WR703n home automation, without extra µC]]
 +  *[[http://neykov.name/posts/ar933x-usb-device-driver/|AR933x (WR703N) as USB Device]]
===== Bootloader Mods ===== ===== Bootloader Mods =====
Line 740: Line 754:
===== Hardware Mods ===== ===== Hardware Mods =====
-  - as a beginner, you really should inform yourself about [[doc:hardware:soldering]] in general and then even obtain some experience! 
-Here are some interesting hardware hacks for the TL-WR703N, from the OpenWRT forum:+Note: If you are a beginner, you should inform yourself about [[doc:hardware:soldering]] in general and even then obtain some experience! 
 + 
 +Here are some interesting hardware modifications for the TL-WR703N, from the OpenWRT forum:
  *[[https://forum.openwrt.org/viewtopic.php?id=34188|Internal USB hub and flashdrive upgrade]]   *[[https://forum.openwrt.org/viewtopic.php?id=34188|Internal USB hub and flashdrive upgrade]]
  *[[https://forum.openwrt.org/viewtopic.php?id=35682|Converting MicroB USB to USB2serial+Power on TP-WR703N]]   *[[https://forum.openwrt.org/viewtopic.php?id=35682|Converting MicroB USB to USB2serial+Power on TP-WR703N]]
Line 761: Line 776:
    *[[https://forum.openwrt.org/viewtopic.php?pid=152457#p152457|External SMA antenna connector]]     *[[https://forum.openwrt.org/viewtopic.php?pid=152457#p152457|External SMA antenna connector]]
    *[[http://diynews.info/page/elegantnoe-podkljuchenie-vneshnej-antenny-k-tp-link-tl-wr703n|Internal uFL antenna connector mod]]     *[[http://diynews.info/page/elegantnoe-podkljuchenie-vneshnej-antenny-k-tp-link-tl-wr703n|Internal uFL antenna connector mod]]
-    *[[http://forums.whirlpool.net.au/forum-replies.cfm?t=2159920|703n External Antenna Mod - 24 Sep, 2013]]  <html> <span style="color:red;font-size:100%;">* New *</span> </html> Tx signal tested. Detailed pdf instructions and forum. +    *<html> 
 +<span style="color:red;font-size:100%;">**NEW - 24 Sep, 2013**</span> 
 +</html> 703n External Antenna Mod.  Fully Tx signal tested. Detailed pdf instructions in forum links. [[https://forum.openwrt.org/viewtopic.php?id=46543|OpenWRT forum,]] [[http://forums.whirlpool.net.au/forum-replies.cfm?t=2159920|Whirlpool Forum.]]
Line 814: Line 831:
Mem:        61864        48044        13820            0        30316 Mem:        61864        48044        13820            0        30316
</code> </code>
 +
 +
 +==== 16MB Flash Mod ====
 +:!: If you've made (or bought) a WR703N with 16MB of flash, you will still have difficulty **building** images larger than 4MB, even though you can use all 16MB once you've flashed an image (functionality provided by an appropriate bootloader, such as pepe2k u-boot mod).  The reason is because the WR703N profile has a limit of 4MB, which is enforced by the **mktplinkfw** (make TP-Link Firmware) tool when the image is created.
 +
 +To enlarge this limit to 16MB, you can try the following (worked for me on BB, b41353):<code bash>
 +sed -i '/TLWR703/              s/4Mlzma/16Mlzma/'  target/linux/ar71xx/image/Makefile
 +sed -i '/TL-WR703Nv1/,/layout/{s/4Mlzma/16Mlzma/;}' tools/firmware-utils/src/mktplinkfw.c
 +</code>
 +
 +See: https://forum.openwrt.org/viewtopic.php?pid=238165 for more information.
 +
 +=== Remarks ===
 +16mb chips are most **likely not supported by the boot loader which resides on your old chip**, therefore you cannot simply burn the 4mb chip content on the new 16m chip and everything will be working. If you try this the LED will glow purple-ish. You will have to replace the bootloader with one supporting your new chip.
 +
 +=== Supported Chips ===
 +from pepe2k u-boot mod:
 +  * Winbond W25Q128 (16 MB, JEDEC ID: EF 4018)
 +  * Macronix MX25L128 (16 MB, JEDEC ID: C2 2018, C2 2618)
 +  * Spansion S25FL127S (16 MB, JEDEC ID: 01 2018)
 +
 +=== Create a working image ===
 +In order to replace the 4mb flash chip with a 16mb one you may at first dump two important partitions:
 +  * 64k u-boot + 64k data section: at the beginning of the chip. The data section is important as it contains MAC and PIN as well as Model information.
 +  * 64k ART partition: which contains wireless voodoo configuration. Without it your wifi won't come up.
 +
 +After dumping the memory , use **dd** to extract the second and last block.
 +<code>
 +#!/bin/sh
 +# new image size
 +# block size -> 64k
 +bs=65536
 +ls -l flash_dump
 +# -rw-rw-r-- 1 makefu makefu 4194304 Mar 21 10:28 flash_dump
 +flash_size=$(ls -l flash_dump | cut -d\  -f 5)
 +#            4194304 / 65536
 +num_blocks=$(($flash_size/$bs))
 +# 64 blocks, 64kilobyte each
 +dd if=flash_dump of=data.bin bs=$bs count=1 skip=1
 +dd if=flash_dump of=art.bin bs=$bs count=1 skip=$(($num_blocks-1))
 +</code>
 +
 +After that you can **cat** together your new image:
 +<code>
 +new_image_size=16777216
 +truncate --size $((new_image_size-3*$bs)) whitespace.bin
 +
 +# build pepe2k bootloader at first: see https://github.com/pepe2k/u-boot_mod
 +cat uboot_for_tp-link_tl-wr703n.bin \
 +    data.bin \
 +    whitespace.bin \
 +    art.bin > wr703_bootloader_data_whitespace_art.bin
 +</code>
 +Flash this image with your SPI-programmer on your new chip and solder it in. You can now hold the button for 3 seconds (will blink each second) and release to make the bootloader start a httpd at **192.168.1.1**.
==== MiniPwner Home ==== ==== MiniPwner Home ====
Line 872: Line 943:
  * The GPIO connector is intended to be a standard 2x5 box header.   * The GPIO connector is intended to be a standard 2x5 box header.
  * See the schematic for pin outs of the GPIO and serial ports. Due to space restrictions, the extra 8 GPIO's from PORTB are not routed out.   * See the schematic for pin outs of the GPIO and serial ports. Due to space restrictions, the extra 8 GPIO's from PORTB are not routed out.
 +
 +===== Custom OpenWrt image with LuCi integrated =====
 +
 +http://www.superwrt.eu/en/firmware/tp-link-wr703n/
 +
===== Tags ===== ===== Tags =====
---- ----
{{tag>FastEthernet 1NIC 1WNIC no_switch USB 1USB Serial 802.11bgn 1Ant integrated 32RAM 4Flash MIPS MIPS32 24k AP121 AR7240 AR9331 ath9k portable_router}} {{tag>FastEthernet 1NIC 1WNIC no_switch USB 1USB Serial 802.11bgn 1Ant integrated 32RAM 4Flash MIPS MIPS32 24k AP121 AR7240 AR9331 ath9k portable_router}}

Back to top

toh/tp-link/tl-wr703n.1393728863.txt.bz2 · Last modified: 2014/03/02 03:54 by bugmesnot