Differences

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

toh:tp-link:tl-wr703n [2012/09/29 15:26]
vitaliy86
toh:tp-link:tl-wr703n [2014/11/18 23:38] (current)
xose.vazquez
Line 1: Line 1:
====== TP-Link TL-WR703N ====== ====== TP-Link TL-WR703N ======
 +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... ;-)
-The TL-WR703N is marketed as a //"3G travel router"//. **It does not include a 3G modem** - it simply means that the OEM firmware supports USB 3G modems, and that the oem firmware contains drivers for USB modems! Ridiculous, since with OpenWrt ANY router with USB supports 3G hardware... ;-)+{{:media:toh:tp-link:tl-wr703n:tl-wr703n.jpg?400|TP-Link TL-WR703N}} 
-The device was released in August 2011 in China. 
-The device is very similiar to the [[toh:tp-link:TL-MR3020]].+ 
 +===== Clones ===== 
 +Known clones of this device: Mercury MW151RM and the FAST FW171-3G.
===== Supported Versions ===== ===== Supported Versions =====
Line 11: Line 13:
| v1.0 |  August 2011  | Trunk (r28294) | [[https://forum.openwrt.org/viewtopic.php?id=31729|Confirmed working]] | | v1.0 |  August 2011  | Trunk (r28294) | [[https://forum.openwrt.org/viewtopic.php?id=31729|Confirmed working]] |
| v1.2 | | Trunk (r29330) | Confirmed working | | v1.2 | | Trunk (r29330) | Confirmed working |
-| v1.3 | | Trunk (29283) | [[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 | March 2012 | Trunk (r30753) | Confirmed working |+| v1.6 | April 2012 | Trunk (r39757) | Barrier Breaker, trunk (r39757) Confirmed working
 +| 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) | 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.
-It was the first device that utilised the AR9331 chipset to be ported to OpenWrt. Newer TP-Link devices (such as the TL-WR741ND v4.x also use AR9331).+It was the first device that utilized the AR9331 chipset to be ported to OpenWrt. Newer TP-Link devices (such as the TL-WR741ND v4.x also use AR9331).
-==== Features ====+===== Features =====
  * Atheros AR7240 CPU (400Mhz)   * Atheros AR7240 CPU (400Mhz)
  * Atheros AR9331 Chipset (integrated wireless)   * Atheros AR9331 Chipset (integrated wireless)
  * 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+  * 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
-  * Tiny form factor: 5.7cm x 5.7cm+  * Tiny form factor: 5.7cm x 5.7cm x 1.8cm
===== 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.
   
 +
 +===== Warnings / Gotchas =====
 +Please check the firmware version first, either:
 +  * in the Chinese webadmin interface: "Build 120925" correspond to a v1.7 firmware
 +  * on the internal sticker located on the Ethernet jack (may have 12B042)
 +  * ** DO NOT RELY ON THE VERSION GIVEN BY THE EXTERNAL STICKER ON CASE BOTTOM ** : it may report falsely "1.6", even if the firmware is actually a V1.7
 +
 +{{:meta:icons:tango:48px-dialog-warning.svg.png?nolink}} **WARNING __If you have a V1.7 firmware, current OpenWrt trunk (r36641) will brick
 +your router, unless you have access to the serial console!__ **
 +
 +Below is the version of the new bootloader (which disables the LAN port) of a version 1.7 hardware model (bought in December 2012).
 +<code>
 +root@tpl2:~# grep -a U-Boot /dev/mtd0ro | cut -d'I' -f1
 +U-Boot 1.1.4 (Sep 25 2012 - 09:04:47)
 +</code>
 +
 +For more info visit this forum topic:
 +https://forum.openwrt.org/viewtopic.php?id=40986
==== Power consumption === ==== Power consumption ===
-This router is standardly powered via USB at 5V. The voltage regulator inside is unknown, but its input voltage should be at least between 3.7V - 5.5V, but not over 5.5V. The device will get damaged at too high voltages. Maximum current draw at 5V is 185mA (OpenWrt boot), average current draw with WiFi at 18dBm is 100mA, without WiFi 80mA. Hence the average router power consumption is 0.5W, which is incredibly low.+This router is standardly powered via USB at 5V. The voltage regulator inside is unknown, but its input voltage should be at least between 3.7V - 5.5V, but not over 5.5V. The device will get damaged at too high voltages*. Maximum current draw at 5V is 185mA (OpenWrt boot), average current draw with WiFi at 18dBm is 100mA, without WiFi 80mA. Hence the average router power consumption is 0.5W, which is incredibly low.
Power consumption will be higher if a USB device is attached to its USB port! Power consumption will be higher if a USB device is attached to its USB port!
 +
 +*Hint: If the router seems to be damaged because of a too high voltage, connect 3.3V _after_ the voltage regulator. This replaces the function of the damaged regulator, and the router works again.
 +Be sure to power 5 volts into the micro-usb port at the same time if you want to have the usb port on the device work.
 +More information and a rough diagram here [[http://img513.imageshack.us/img513/4295/saai.jpg]]
==== 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.+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 49: Line 83:
==== Flashing ==== ==== Flashing ====
- 
-Snapshot image was broken around 18/11/2011, but from 26/11/2011 that was fixed. 
- 
-Snapshot image was broken around 29/05/2012, but from 01/06/2012 that was fixed. 
- 
-**Snapshot images are always risky. Check the forum discussion for latest opinions on available images.** 
Upload the latest snapshot via the web interface (default: 192.168.1.1 / admin / admin). Upload the latest snapshot via the web interface (default: 192.168.1.1 / admin / admin).
-Download latest [[http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin|squashfs-factory.bin]] or [[http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin|squashfs-sysupgrade.bin]] firmware for WR703N.+Download latest [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin|squashfs-factory.bin]] or [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin|squashfs-sysupgrade.bin]] firmware for WR703N.
 +Note that the factory default web interface won't accept a file with a long name. Rename it to openwrt.bin and you won't get a "23002 Error".
For systems without a web interface, you can flash a sysupgrade file with mtd: For systems without a web interface, you can flash a sysupgrade file with mtd:
Line 65: Line 94:
  cd /tmp   cd /tmp
  wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin   wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin
-  mtd write openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin firmware+  sysupgrade openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin
  reboot   reboot
- 
-Note that this will not destroy the contents of the file system, so any old modules under /lib/modules/x.y.z will still get loaded. If you don´t get a telnet login after reboot, try rebooting again. 
To flash from the Chinese web interface, at the present time you would select the last menu item on the left, and then the third submenu item.  This initiates a popup with two buttons--the upper right one allows you to browse to find the file you want to flash on your PC, the lower left one initiates the flash. To flash from the Chinese web interface, at the present time you would select the last menu item on the left, and then the third submenu item.  This initiates a popup with two buttons--the upper right one allows you to browse to find the file you want to flash on your PC, the lower left one initiates the flash.
Line 76: Line 103:
==== Failsafe mode ==== ==== Failsafe mode ====
-When the configuration no longer allows you to log in via any network connection (e.g. lost password), the OpenWrt failsafe mode can be entered via the single "Reset" button on the device. However, in contrast to the [[http://wiki.openwrt.org/doc/howto/generic.failsafe|generic failsafe instructions]], for the TL-WR703N you have to wait for ca. 12 seconds before pushing the "Reset" button after powering on the device. If the button is pushed immediately after powering on, the single blue LED will start blinking, supposedly indicating some failsafe firmware recovery mody of the embedded bootloader (not yet discovered how to use it). In this mode, the OpenWrt failsafe is not being started. Instead, wait for slightly longer than 10 seconds and - as soon as the LED starts blinking for the first time after powering on the device, push the "Reset" button for ca. 1-2 seconds. Immediately afterwards, the LED will blink rapidly (multiple Hz) and OpenWrt will be in [[http://wiki.openwrt.org/doc/howto/generic.failsafe|failsafe mode]].+When the configuration no longer allows you to log in via any network connection (e.g. lost password), the OpenWrt failsafe mode can be entered via the single "Reset" button on the device. However, in contrast to the [[http://wiki.openwrt.org/doc/howto/generic.failsafe|generic failsafe instructions]], for the TL-WR703N you have to wait for ca. 10 (10-12) seconds before pushing the "Reset" button after powering on the device. If the button is pushed immediately after powering on, the single blue LED will start blinking, supposedly indicating some failsafe firmware recovery mody of the embedded bootloader (not yet discovered how to use it). In this mode, the OpenWrt failsafe is not being started. Instead, wait for slightly longer than 10 seconds and - as soon as the LED starts blinking for the first time after powering on the device, push the "Reset" button for ca. 1-2 seconds. Immediately afterwards, the LED will blink rapidly (multiple Hz) and OpenWrt will be in [[http://wiki.openwrt.org/doc/howto/generic.failsafe|failsafe mode]].\\ 
 + - The above didn't work on a Ver 1.6 box running OpenWRT r33312. To get into failsafe mode, power up the device and wait until the LED starts flashing (about 2Hz). Once it starts flashing (within about 4 seconds) then quickly press the button. The LED will then flash much faster and the device will be in failsafe mode.
==== Back to original image ==== ==== Back to original image ====
Line 83: Line 111:
  * Download the original image: http://www.tp-link.com.cn/download/2011930104462.rar extact to tftp folder   * Download the original image: http://www.tp-link.com.cn/download/2011930104462.rar extact to tftp folder
  * Setup your eth0 to 192.168.1.100, you can check detail by 'printenv'   * Setup your eth0 to 192.168.1.100, you can check detail by 'printenv'
-  * Run blow command under U-Boot:+  * Run below command under U-Boot:
  tftpboot 0x81000000 wr703nv1_cn_3_12_11_up(110926).bin   tftpboot 0x81000000 wr703nv1_cn_3_12_11_up(110926).bin
Line 89: Line 117:
  cp.b 0x81000000 0x9f020000 0x3c0000   cp.b 0x81000000 0x9f020000 0x3c0000
  bootm 9f020000   bootm 9f020000
 +
 +  * Instructions on the [[https://forum.openwrt.org/viewtopic.php?id=37361|forum]] for flashing wr703n with mr3020 firmware which is in english and not in chinese.
 +  * Detailed instructions on the [[https://forum.openwrt.org/viewtopic.php?pid=198336#p198336|forum]] for flashing
 +
 +[[http://forums.openpilot.org/blog/52/entry-92-unbrick-wr703n-wifi-router/ | Unbrick Tutorial with TFTP and Serial]]
==== Internal images ==== ==== Internal images ====
-{{:toh:tp-link:tl-wr703n_top.jpg?600|}}+{{:toh:tp-link:tl-wr703n_top.jpg?400|}} 
 +{{:toh:tp-link:tl-wr703n_bottom.jpg?400|}}
-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.+{{:media:toh:tp-link:tl-wr703n:tp-link_wr703n_top-pcb-gpio.jpg?400|TP-Link TL-WR703N with GPIO and Power}}
-{{:toh:tp-link:tl-wr703n_bottom.jpg?600|}}+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.
-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 106: Line 140:
^                  Processor | AR7240 |  | {{:toh:tp-link:atheros.ar7240.pdf|Click}}  | ^                  Processor | AR7240 |  | {{:toh:tp-link:atheros.ar7240.pdf|Click}}  |
^                  Flash ROM| Eon EN25Q32B |  | {{:toh:tp-link:EN25Q32.pdf|Click}}  |  ^                  Flash ROM| Eon EN25Q32B |  | {{:toh:tp-link:EN25Q32.pdf|Click}}  | 
-^                      SDRAM| Zentel A3S56D40FTP |  |  |   +^                      SDRAM| Zentel A3S56D40FTP |  |{{:toh:d-link:d-link.dir-615e4-a3s56d3040etp.pdf|Click}} |   
-^        Chipset (Wi-Fi controller)| AR9331 | 1x1 | |+^        Chipset (Wi-Fi controller)| AR9331 | 1x1 | http://see.sl088.com/w/images/6/69/AR9331.pdf | 
 + 
 +==== TL-WR703N Reverse Engineering ==== 
 + 
 +The TL-WR703N has been [[http://www.kean.com.au/oshw/WR703N/teardown/|teared down]] by Kean and almost completely [[http://squonk42.github.com/TL-WR703N/|reverse-engineered]] by Squonk, including external layers layout and schematic.
==== AR9331 Pinout ==== ==== AR9331 Pinout ====
-{{:toh:tp-link:ar9331.pinout.bg.png|}}+{{:toh:tp-link:ar9331.pinout.bg.png?300|}}
Check the details [[toh:tp-link:tl-wr703n:ar9331_pinout|here]]. Check the details [[toh:tp-link:tl-wr703n:ar9331_pinout|here]].
Line 120: 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 127: 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 137: 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 151: 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 160: Line 200:
<HTML> <HTML>
-<div style="height:600px;font:10px/14px Georgia, Garamond, Serif;overflow:Auto;background-color:#FFFFFF">+<div style="height:300px;font:10px/14px Georgia, Garamond, Serif;overflow:Auto;background-color:#FFFFFF">
<p style="margin: 5px;padding:5px"> <p style="margin: 5px;padding:5px">
<code> <code>
Line 385: Line 425:
<HTML> <HTML>
-<div style="height:600px;font:10px/14px Georgia, Garamond, Serif;overflow:Auto;background-color:#FFFFFF">+<div style="height:300px;font:10px/14px Georgia, Garamond, Serif;overflow:Auto;background-color:#FFFFFF">
<p style="margin: 5px;padding:5px"> <p style="margin: 5px;padding:5px">
<code> <code>
Line 653: Line 693:
</code> </code>
 +===== USB port and monitoring Serial Console via USB-Serial =====
 +The USB port on the WR703n is not compatible with USB1 devices (aka full speed) and only works properly with USB2 (aka high speed) devices. You can however plug a USB-Serial adapter as long as you plug that through a <$10 USB2. While you're at it, use another USB port to plug in a USB key and write data there (like serial console logs) so as not to wear out the built in flash.
-===== Wi-Fi Client Bridging ===== +See this page for more tips and how to create a serial console server out of your WR703n: 
-To set your WR703n into Wi-Fi Client Bridge Mode, please read the following Links. \\ +http://marc.merlins.org/perso/linux/post_2012-12-05_Serial-Console-With-WR703N.html
-http://trac.gateworks.com/wiki/relayd\\ +
-http://wiki.openwrt.org/doc/recipes/relayclient\\+
-This should be a recipe to set the WR703n into static Client Bridging Mode over Wi-Fi. \\ 
-https://forum.openwrt.org/viewtopic.php?pid=173467#p173467 
 +===== GPS Tracking Example =====
 +
 +Here is a recipe for gps tracking using a usb gps module.
 +https://forum.openwrt.org/viewtopic.php?pid=185438
 +
 +===== Software Mods =====
 +  *[[https://forum.openwrt.org/viewtopic.php?id=42996|Use reset boutton for other things]]
 +  *[[http://www.madox.net/blog/2013/02/23/tl-wr703n-example-project-4-webcam-streaming/|Webcam streaming with wr703n]]
 +  *[[http://www.madox.net/blog/2013/01/04/tl-wr703n-example-project-3-wireless-3d-printing-or-2d-printing-or-just-simply-wireless-usb/|Wireless USB (for printing or anything else)]]
 +  *[[https://forum.openwrt.org/viewtopic.php?id=33387|PulseAudio (audio streaming much like airplay) and NAS (network attached storage)]]
 +  *[[http://hackaday.com/2013/01/18/tp-link-tl-wr703n-specialized-firmware-generator/|TP-Link TL-WR703N specialized firmware generator]]
 +  *[[http://www.minipwner.com/index.php/minipwner-build|Use small TP-LINK TL-WR703N as pen-testing drop box (Miniowner)]]
 +  *[[http://cmikavac.net/2012/06/03/tp-link-wr703n-openwrt-post-installation-tips/|TP-Link WR703N OpenWrt post installation tips]]
 +  *[[http://en.code-bude.net/2013/02/16/how-to-increase-storage-on-tp-link-wr703n-with-extroot/|How to increase storage on TP-Link WR703N with ExtRoot]]
 +  *[[http://www.digifail.com/software/bluelog.shtml|Bluelog Bluetooth scanner/logger]]
 +  *[[http://penturalabs.wordpress.com/2013/04/25/blue-for-the-pineapple/|Pineapple wifi hacking device]]
 +
 +===== DIY Projects =====
 +
 +  *[[http://en.code-bude.net/2013/11/05/radioduinowrt-a-do-it-yourself-webradio/|RadioduinoWRT – a DIY webradio]]
 +  *[[http://vonkonow.com/wordpress/2012/01/software-for-home-automation/|Web controlled home automation]]
 +  *[[http://forums.openpilot.org/blog/52/entry-89-tp-link-wr703n-as-telemetry-link-and-camera-broadcasting-part2-software/|TP-link WR703n as telemetry link and camera broadcasting]]
 +  *[[http://www.madox.net/blog/2012/10/10/tl-wr703n-example-project-2-cute-exterminator-remote-control-toy/|Cute Exterminator (Remote Control Toy)]]
 +  *[[http://diynews.info/page/usb-over-ip-server-on-wr703n|USB over IP server on WR703N]]
 +  *[[http://www.madox.net/blog/2012/10/08/tl-wr703n-example-project-1-bitbltblade/|BitBltBlade – WiFi controlled POV lightsaber]]
 +  *[[http://www.instructables.com/id/How-to-set-up-OpenWRT-on-a-pocket-router-WR703N/|Smart home automation webserver]]
 +  *[[http://www.bitartist.org/2012/02/motion-tracking-on-wireless-router.html|Motion Tracking on a wireless wr703n router]]
 +  *[[http://davidshamblin.com/building-a-piratebox-from-a-tp-link-wr703n-router/|Building a PirateBox from a TP-Link WR703N Router]]
 +  *[[http://hackaday.com/2013/02/21/self-waking-computer-for-diy-cloud-storage/|Self-waking computer for DIY cloud storage]]
 +  *[[http://www.jedge.com/wordpress/2012/11/tp-link-wr703n-custom-pwn-plug/|TP-Link WR703N Custom Pwn Plug]]
 +  *[[https://forum.openwrt.org/viewtopic.php?pid=185438|GPS tracker with WR703N]]
 +  *[[http://www.modlog.net/?p=459|WR703N – 1.5inch Digital Photo Frame (DPF)]]
 +  *[[http://www.modlog.net/?p=467|WR703N – 1.5inch Digital Photo Frame (DPF) x2]]
 +  *[[http://hackaday.com/2013/01/07/adding-an-lcd-screen-terminal-for-tp-link-routers/|Adding an LCD screen terminal for TP-Link routers]]
 +  *[[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://neykov.name/posts/ar933x-usb-device-driver/|AR933x (WR703N) as USB Device]]
 +
 +===== Bootloader Mods =====
 +  - you could read about [[doc:techref:bootloader]] in general and about [[doc:techref:bootloader:uboot|Das U-Boot]] in particular.
 +
 +==== U-Boot 1.1.4 modification for routers ====
 +Forum member [[https://forum.openwrt.org/profile.php?id=72549|pepe2k]] made a modification of **U-Boot 1.1.4** for **Qualcomm Atheros** SoCs based devices (the project is still being developed, so new devices and SoCs will be supported in the future). Up to date information, binary images and sources can be found on official [[https://github.com/pepe2k/u-boot_mod|GitHub repository]].
 +
 +This modification started from [[http://code.google.com/p/wr703n-uboot-with-web-failsafe/|wr703n-uboot-with-web-failsafe]] project, but supports more devices, all modern web browsers, has a lot of improvements and other modifications (like U-Boot NetConsole, custom commands, overclocking possibilities etc.).
 +
 +More information:
 +
 +  * Official repository on GitHub: [[https://github.com/pepe2k/u-boot_mod|U-Boot 1.1.4 modification for routers]]
 +  * Discussion about this project on [[https://forum.openwrt.org/viewtopic.php?id=43237|OpenWrt forum]]
 +  * An article (in Polish) about one of the first version of this project on [[http://www.tech-blog.pl/2013/03/29/zmodyfikowany-u-boot-dla-routerow-tp-link-z-atheros-ar9331-z-trybem-aktualizacji-oprogramowania-przez-www-i-konsola-sieciowa-netconsole/|www.tech-blog.pl]]
===== 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]]
-  *[[https://forum.openwrt.org/viewtopic.php?pid=152457#p152457|External SMA antenna connector]] 
  *[[https://forum.openwrt.org/viewtopic.php?id=28343|TL-MR3420 flash modification]] (also applies to TL-WR703N)   *[[https://forum.openwrt.org/viewtopic.php?id=28343|TL-MR3420 flash modification]] (also applies to TL-WR703N)
  *[[http://wiki.villagetelco.org/index.php?title=Building_a_Serial_Port_for_TL-WR703N|Building an external Serial Port]] (using common 3.5mm headphone jack)   *[[http://wiki.villagetelco.org/index.php?title=Building_a_Serial_Port_for_TL-WR703N|Building an external Serial Port]] (using common 3.5mm headphone jack)
-  *[[https://forum.openwrt.org/viewtopic.php?pid=176845|POE]]+  *[[http://www.tl-wr703n.blogspot.com/2012/08/tl-wr703n-poe-power-over-ethernet-rj45.html|POE (Power Over Ethernet) RJ45]] and on the [[https://forum.openwrt.org/viewtopic.php?pid=176528#p176528|forum]] and on [[http://dev.wlan-si.net/wiki/Routers/TP-LINK/WR703N|wlan-si web site]] 
 +  *[[https://forum.openwrt.org/viewtopic.php?pid=196884|POE and USB to serial mod]] 
 +  *[[http://hackaday.com/2013/01/07/adding-an-lcd-screen-terminal-for-tp-link-routers/|Adding an LCD screen terminal for TP-Link routers]] 
 +  *[[http://youtu.be/My8FMgp2ES4|Solder inside ttl for TL-WR703N (Youtube video)]] 
 +  *[[http://dangerousprototypes.com/2012/07/20/hacking-and-moding-the-tp-link-wr703n-openwrt-wi-fi-router/|GPIO hack that gives you access to a software I2C port]] 
 +  *[[https://forum.openwrt.org/viewtopic.php?pid=187967#p187967|Let's Get More,Make WR703 With 16M Flash]] 
 +  *[[https://forum.openwrt.org/viewtopic.php?pid=200786#p200786|Allow a larger WR703 firmware image to utilize a 16 MB Flash]]   
 +  *[[http://vonkonow.com/wordpress/2011/12/serial-communication-on-a-router/|Access serial communication on a mini router (no extra connector)]] 
 +  *[[https://www.youtube.com/watch?v=PYe-gI2ysrw|Youtube video - Upgrade ram to 64MB on WR703N]] 
 +  * Antenna mods {{ http://s5.postimg.org/h4b7s1orb/Finished.jpg?400x272}} 
 +    *[[http://blagg.tadkom.net/2012/09/15/better-wr703n-antenna-mod/|Better WR703N Antenna mod]] 
 +    *[[http://blagg.tadkom.net/2012/09/01/wr-703n-external-antenna-mod-diy/|WR-703N External Antenna Mod (DIY)]] 
 +    *[[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]] 
 +    *<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.]]  
 + 
 + 
 + 
 +==== Webradio device ==== 
 +{{ :toh:tp-link:tplink-radio-closed_medium.jpg}} 
 + 
 +This project implements a webradio with cheep usb soundcard and a speaker of an old mobile phone within the casing of the router. There are two analogue controllers for selecting the stream and the volume. Therefor an attiny85 is connected to the uart. 
 + 
 +[[http://piie.net/index.php?section=tplink-radio|Building a tiny webradio with analog volume and tune controller]] 
==== 64MB RAM Mod ==== ==== 64MB RAM Mod ====
-The Device uses a DDR1 16Mbit x 16bit (16Mibit*16=256 mebibit. 256 mebibit/8=32MiByte) 400MHz chip Zentel A3S56D40FTP. Replace it with any 32Mbit x 16bit chip. 333MHz instead of 400MHz also works fine. It's quite hard to find these chips. The best chance is to have a look at DDR-SODIMM. Since there are no 64Mbit x 16Bit DDR1 Chips available -> no 128 MB mod!+The Device uses a DDR1 16Mbit x 16bit (16Mibit*16=256 mebibit. 256 mebibit/8=32MiByte) 400MHz chip Zentel A3S56D40FTP. Replace it with any 32Mbit x 16bit chip. 333MHz instead of 400MHz also works fine. It's quite hard to find these chips. One of the ways to get them is to have a look at DDR SO-DIMM (because SO-DIMM modules are shipped with x16 chips). Since there are no 64Mbit x 16bit DDR1 Chips available -> no 128 MB mod! 
 + 
 +The most easy approach is to seek for a 4-chip DDR 256 MB module. These all have x16 chips too. Chips only on one side (not to be confused with double-sided 256 MB modules with 4 chips on each side) and only 4 of them - that's the best chance to get some. They represent a small percent among usual 8-chip modules but this is equalized with the amount and "cheap as dirt" price of such DDR 256 MB modules.
Working chips: Working chips:
-  * Hynix HY5DU121622DTP-D43 (From Mustang DDR-SODIMM 512 MB) +  * Hynix HY5DU121622DTP-D43 (From Mustang DDR SO-DIMM 512 MB) 
-  * Hynix HY5DU121622CTP-D43 (From Hynix  DDR-SODIMM PC2700S-25330 512MB DDR 333MHz CL 2.5, chips are 400Mhz compatible due "D43" marking.)  +  * Hynix HY5DU121622CTP-D43 (From Hynix  DDR SO-DIMM PC2700S-25330 512MB DDR 333MHz CL 2.5, chips are 400Mhz compatible due to "D43" marking.)  
-  * Infineon HYB25D512160BE (From Infineon DDR-SODIMM 512 MB) +  * Infineon HYB25D512160BE (From Infineon DDR SO-DIMM 512 MB) 
-  * Elpida EDD5116ADTA-6B-E (From Elpida DDR-SODIMM 512 MB)+  * Elpida EDD5116ADTA-6B-E (From Elpida DDR SO-DIMM 512 MB) 
 +  * Elpida EDD5116AFTA-5B-E (From Elpida DDR SO-DIMM 512 MB) 
 +  * Alliance AS4C32M16D1-5TCN (From [[http://www.digikey.com/product-detail/en/AS4C32M16D1-5TCN/1450-1006-ND/4234565|DigiKey]], $2.76) 
**Additional list that may work:** **Additional list that may work:**
^      ^          ^ Type                  ^ ID Code                ^ Vendor  ^ ^      ^          ^ Type                  ^ ID Code                ^ Vendor  ^
-| DDR  | 32Mx16  | PC400 TSOP Pb Free    | HY5DU121622DTP-D43-C  | Hynix    |   +| DDR  | 32Mx16  | DDR 400 TSOP Pb Free    | HY5DU121622DTP-D43-C  | Hynix    |   
-| DDR  | 32Mx16  | PC400 TSOP Pb Free    | H5DU5162ETR-E3C        | Hynix    |       +| DDR  | 32Mx16  | DDR 400 TSOP Pb Free    | H5DU5162ETR-E3C        | Hynix    |       
-| DDR  | 32Mx16  | PC400 Pb Free        | K4H511638G-LCCC        | Samsung  |     +| DDR  | 32Mx16  | DDR 400 Pb Free        | K4H511638G-LCCC        | Samsung  |     
-| DDR  | 32Mx16  | PC400 Pb Free        | K4H511638J-LCCC        | Samsung  | +| DDR  | 32Mx16  | DDR 400 Pb Free        | K4H511638J-LCCC        | Samsung  | 
-| DDR  | 32Mx16  | PC400                 | A3S12D40ETP-G5        | Zentel    |     +| DDR  | 32Mx16  | DDR 400                 | A3S12D40ETP-G5        | Zentel    |     
-| DDR  | 32Mx16  | PC400                 | NT5DS32M16BS-5T        | Nanya    | +| DDR  | 32Mx16  | DDR 400                 | NT5DS32M16BS-5T        | Nanya    | 
-| DDR  | 32Mx16  | PC400 PB Free        | P3S12D40ETP-GUTT      | Mira      | +| DDR  | 32Mx16  | DDR 400 PB Free        | P3S12D40ETP-GUTT      | Mira      | 
-| DDR  | 32Mx16  | PC333 CL2.5 TSOP      | MT46V32M16TG-6T:F      | Micron    |     +| DDR  | 32Mx16  | DDR 333 CL2.5 TSOP      | MT46V32M16TG-6T:F      | Micron    |     
-| DDR  | 32Mx16  | PC333 CL2.5 TSOP      | MT46V32M16P-6T:F      | Micron    | +| DDR  | 32Mx16  | DDR 333 CL2.5 TSOP      | MT46V32M16P-6T:F      | Micron    | 
-| DDR  | 32Mx16  | PC333 PB Free TSOP    | HYB25D512160CE-6      | Qimonda  | +| DDR  | 32Mx16  | DDR 333 PB Free TSOP    | HYB25D512160CE-6      | Qimonda  | 
-| DDR  | 32Mx16  | PC333 PB Free TSOP    | HYB25D512160CEL-6      | Qimonda  | +| DDR  | 32Mx16  | DDR 333 PB Free TSOP    | HYB25D512160CEL-6      | Qimonda  | 
-| DDR  | 32Mx16  | PC333 PB Free TSOP    | HYB25D512160DE-6      | Qimonda  |+| DDR  | 32Mx16  | DDR 333 PB Free TSOP    | HYB25D512160DE-6      | Qimonda  |
                                                                          ''                                                                           ''
Line 711: 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 770: Line 944:
  * 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/
-===== Custom IPv6 image for wr703n ===== 
- 
-a custom image with ipv6 support: radvd, wide-dhcpv6, 3g stick support, made for RCS-RDS Fiberlink dual stack PPPoE service, 
-but should be okay for static wan settings on other ISPs: 
-http://www.ip6.ro/firmware/wr703n/ 
===== Tags ===== ===== Tags =====
---- ----
-{{tag>FastEthernet 1Port USB Serial integrated 802.11bgn 1Radio AR7240 AR9331 ath9k 1Ant 32RAM 4Flash MIPS MIPS32 24k AP121}}+{{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.1348925167.txt.bz2 · Last modified: 2012/09/29 15:26 by vitaliy86