Differences

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

toh:tp-link:tl-wr703n [2013/04/15 20:11]
valentt
toh:tp-link:tl-wr703n [2014/07/02 14:01] (current)
charly86 Added Image with GPIO/Power placement
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 | April 2013 | Trunk (r36145) | Confirmed working | +| v1.6 | April 2012 | Trunk (r39757) | Barrier Breaker, trunk (r39757) Confirmed working | 
-| v1.7 | December 2012 |Trunk(r35037) | Confirmed working |+| 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| 
 +| 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 |
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).
- +
-===== 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, flash OpenWrt trunk [[https://dev.openwrt.org/changeset/35037 | r35037]] 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+
===== Features ===== ===== Features =====
Line 43: 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 50: 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.
   
 +
 +===== 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 ===
Line 59: Line 70:
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 resets an electrical fuse or something, and the router works again.+*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. 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 70: 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/attitude_adjustment/12.09-beta/ar71xx/generic/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin|squashfs-factory.bin]] or [[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/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". 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".
Line 87: 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 106: 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 120: Line 125:
==== 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 134: 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 | http://see.sl088.com/w/images/6/69/AR9331.pdf | ^        Chipset (Wi-Fi controller)| AR9331 | 1x1 | http://see.sl088.com/w/images/6/69/AR9331.pdf |
Line 143: Line 149:
==== 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 183: 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 192: 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 417: 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 693: Line 701:
-===== Wi-Fi Client Bridging ===== 
- 
-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 
- 
-Additional and maybe outdated information to set your WR703n into Wi-Fi Client Bridge Mode, please read the following Links. \\ 
-http://trac.gateworks.com/wiki/relayd\\ 
-http://wiki.openwrt.org/doc/recipes/relayclient\\ 
===== GPS Tracking Example ===== ===== GPS Tracking Example =====
Line 716: Line 716:
  *[[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://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://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 ===== ===== 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://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://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]]
Line 730: Line 732:
  *[[http://www.jedge.com/wordpress/2012/11/tp-link-wr703n-custom-pwn-plug/|TP-Link WR703N Custom Pwn Plug]]   *[[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]]   *[[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]]
Line 746: Line 768:
  *[[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]]   *[[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=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)]]   *[[http://vonkonow.com/wordpress/2011/12/serial-communication-on-a-router/|Access serial communication on a mini router (no extra connector)]]
-  * Antenna mods+  *[[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/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)]]     *[[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]]     *[[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]]
 +    *<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 ==== ==== Webradio device ====
-{{:toh:tp-link:tplink-radio-closed_medium.jpg}}+{{ :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. 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.
Line 772: Line 801:
  * Infineon HYB25D512160BE (From Infineon DDR SO-DIMM 512 MB)   * Infineon HYB25D512160BE (From Infineon DDR SO-DIMM 512 MB)
  * Elpida EDD5116ADTA-6B-E (From Elpida DDR SO-DIMM 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:**
Line 799: 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 857: 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 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 1USB Serial 802.11bgn 1Radio 1Ant integrated 32RAM 4Flash MIPS MIPS32 24k AP121 AR7240 AR9331 ath9k}}+{{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.1366049489.txt.bz2 · Last modified: 2013/04/15 20:11 by valentt