Tp link ac1750 driver download - that
Tp link ac1750 driver download - opinion you
OpenWrt Project
TP-Link Archer C7 v1/v2 JTAG u-boot recovery using ST-Link v2 USB adapter clone known as Baite
Download Versaloon firmware (md5 ed4f8fee72e27a4297248d572c784583) for the adapter and flash it to the device following this procedure:
Get an USB-UART adapter, in this case CP2102 was used and connect it to Baite as shown in the photo.
Plug in the USB-UART adapter to your PC and flash Versaloon firmware by issuing these commands:
Important: Do not plug in Baite adapter to USB port at this point!
stm32flash -k/dev/ttyUSB0 stm32flash -u/dev/ttyUSB0 stm32flash -o/dev/ttyUSB0 stm32flash -w Versaloon-STM32F103C8_Baite.bin -v/dev/ttyUSB0Note: this was done on ubuntu 16.04.6, other OS may recognize USB-UART different than ttyUSB0, -k and -u parameters disable flash read/write protection, -o erases flash and -w writes firmware to it
Disconnect the USB-UART adapter from Baite and verify that the new firmware is running properly by plugging in Baite to your PC. lsusb should display 0483:a038 STMicroelectronics ID.
Disconnect Baite from PC and proceed with JTAG connection to the router. You need to connect 5 pins to the board: TCK, TMS, TDI, TDO and GND.
Wiring schematics:
Next plug in Baite to your PC, and short CS pin of the SPI flash chip on router to one of the router's GND pins. Power on router and remove the object used to short CS pin after few seconds (when ethernet LEDs go off)
Now run the actual debug program, OpenOCD:
openocd -f interface/vsllink.cfg -f target/ath79.cfgIt should display the following content:
Open On-Chip Debugger 0.10.0+dev-00916-g42cee46 (2019-06-20-15:01) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html jtag Info : Listening on port 6666for tcl connections Info : Listening on port 4444for telnet connections Info : Versaloon(0x22)by Simon(compiled on Jun 212019) Info : USB_TO_XXX abilities: 0x00000008:0x00000083:0xC0000007 Info : clock speed 100 kHz Info : JTAG tap: ath79.cpu tap/device found: 0x00000001 (mfg: 0x000 (<invalid>), part: 0x0000, ver: 0x0) Info : Listening on port 3333forgdb connectionsNow open telnet session in another terminal and issue reset command to verifiy things are working:
telnet 127.0.0.1 4444 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. Open On-Chip Debugger > reset JTAG tap: ath79.cpu tap/device found: 0x00000001 (mfg: 0x000 (<invalid>), part: 0x0000, ver: 0x0)Issue halt command to enter debug mode:
> halt MIPS32 with MIPS16 support implemented target halted in MIPS32 mode due to debug-request, pc: 0xbfc005ecIssue reset-init command to disable flash remap:
> reset init JTAG tap: ath79.cpu tap/device found: 0x00000001 (mfg: 0x000 (<invalid>)
-
-