What's going on with my R7000?? Don't die, Nighthawk! ;(

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4  Next
Author Message
fizikz
DD-WRT User


Joined: 10 Nov 2016
Posts: 265

PostPosted: Mon Aug 17, 2020 20:31    Post subject: Reply with quote
Is there a way to confirm or rule out whether the issue is indeed with the ethernet switch chip?

I already tried the power brick from my other R6900/7000, and it made no difference.

There was no storm or observed power outage when it "died", but there was an outage two weeks ago. However, the router, modem, VOIP ATA, SBC, and cordless phone base are all on a UPS. The only thing is the battery was weak and it would give out in ~10 minutes, but I expect the UPS should still prevent sags or spikes. I finally ended up replacing the UPS battery.

Ironically it's the R6900/7000 which is used as an wireless AP that is not on a UPS, but just a regular surge protector. That one is doing fine.
Sponsor
mac913
DD-WRT Guru


Joined: 02 May 2008
Posts: 1848
Location: Canada

PostPosted: Mon Aug 17, 2020 21:41    Post subject: Reply with quote
If you are still looking for answers get the USB serial adapter and post the serial output from boot-up.
_________________
Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9

Off Site 1

R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4

Off Site 2

R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531


YAMon 3.4.6 | DNSCrypt-Proxy V2
mac913
DD-WRT Guru


Joined: 02 May 2008
Posts: 1848
Location: Canada

PostPosted: Mon Aug 17, 2020 21:57    Post subject: Reply with quote
fizikz wrote:
...

Just to clarify, when you all mention "reset", is that "nvram erase"? Or the reset button? I think the 30-30-30 reset doesn't work on this device, correct?


To Reset a R7000... while powered down (for at least 30sec) disconnect all ethernet cables and USB devices. Power-up wait for the LEDs to stabilize and the power LED is White. Wait another 2 minutes then press and hold the Reset Button until the Power LED is Amber and the other LEDs switch off then let go of the Reset Button and wait for the LEDs to stabilize and the power LED is White. Connect an ethernet cable to your R7000 & PC/Laptop and use a browser (I use FireFox's Private Window to 192.168.1.1) to login.

_________________
Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9

Off Site 1

R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4

Off Site 2

R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531


YAMon 3.4.6 | DNSCrypt-Proxy V2
fizikz
DD-WRT User


Joined: 10 Nov 2016
Posts: 265

PostPosted: Tue Aug 18, 2020 3:52    Post subject: Reply with quote
I tried the reset exactly as described, to no avail.

I'm thinking of getting one of the serial USB devices suggested above, but it'll be a while before I'll have it. I'm not too optimistic though. It does sound like hardware failure. It would be nice to be able to confirm definitively.

Finally got around to opening up the router. To my untrained eye, it looks pristine. Sorry, it is surprisingly difficult to get a picture of the whole board well-illuminated and in focus.


fizikz
DD-WRT User


Joined: 10 Nov 2016
Posts: 265

PostPosted: Sat Aug 22, 2020 7:49    Post subject: Reply with quote
USB to serial adapter arived:
Quote:
Digital core power voltage set to 1.0V

SHMOO VER 1.13

PKID07DC06011801080000000000001A103F01000000

S300001B3
00001180


RDLYW0 00000004

RDENW0 00000032

RDQSW0

0000000000111111111122222222223333333333444444444455555555556666
0123456789012345678901234567890123456789012345678901234567890123
00 ------++++++++++++++++++++++X++++++++++++++++++++++-------------
01 ----------++++++++++++++++++++++X++++++++++++++++++++++---------
02 ------++++++++++++++++++++++X++++++++++++++++++++++-------------
03 ----++++++++++++++++++++++X+++++++++++++++++++++----------------
04 ---++++++++++++++++++++++X+++++++++++++++++++++-----------------
05 ----++++++++++++++++++++++++X+++++++++++++++++++++++------------
06 ---+++++++++++++++++++++X+++++++++++++++++++++------------------
07 --------+++++++++++++++++++++++X++++++++++++++++++++++----------
08 -----++++++++++++++++++++X++++++++++++++++++++------------------
09 ----------++++++++++++++++++++++X++++++++++++++++++++++---------
10 -------+++++++++++++++++++++X++++++++++++++++++++---------------
11 -------------+++++++++++++++++++++X++++++++++++++++++++---------
12 ----++++++++++++++++++++++X++++++++++++++++++++++---------------
13 -----------+++++++++++++++++++++X++++++++++++++++++++-----------
14 ------++++++++++++++++++++++X+++++++++++++++++++++--------------
15 -----------+++++++++++++++++++++X+++++++++++++++++++++----------


PW0

0000000000111111111122222222223333333333444444444455555555556666
0123456789012345678901234567890123456789012345678901234567890123
00 ----+++++++++++++++++++++++++X++++++++++++++++++++++++----------
01 ------+++++++++++++++++++++++++X+++++++++++++++++++++++++-------
02 --+++++++++++++++++++++++++X++++++++++++++++++++++++------------
03 -++++++++++++++++++++++++X++++++++++++++++++++++++--------------
04 ++++++++++++++++++++++++X+++++++++++++++++++++++----------------
05 --+++++++++++++++++++++++++X+++++++++++++++++++++++++-----------
06 -+++++++++++++++++++++++X+++++++++++++++++++++++----------------
07 ----++++++++++++++++++++++++++X+++++++++++++++++++++++++--------
08 +++++++++++++++++++++++X++++++++++++++++++++++------------------
09 ------++++++++++++++++++++++++X++++++++++++++++++++++++---------
10 -++++++++++++++++++++++++X+++++++++++++++++++++++---------------
11 -------++++++++++++++++++++++++X+++++++++++++++++++++++---------
12 ++++++++++++++++++++++++X++++++++++++++++++++++++---------------
13 -----++++++++++++++++++++++++X++++++++++++++++++++++++----------
14 -++++++++++++++++++++++++X++++++++++++++++++++++++--------------
15 ----+++++++++++++++++++++++++X+++++++++++++++++++++++++---------


NW0

0000000000111111111122222222223333333333444444444455555555556666
0123456789012345678901234567890123456789012345678901234567890123
00 ------+++++++++++++++++++++++X++++++++++++++++++++++------------
01 ----------++++++++++++++++++++++X++++++++++++++++++++++---------
02 ------++++++++++++++++++++++X++++++++++++++++++++++-------------
03 ----++++++++++++++++++++++X+++++++++++++++++++++----------------
04 ---++++++++++++++++++++++X+++++++++++++++++++++-----------------
05 ----++++++++++++++++++++++++X+++++++++++++++++++++++------------
06 ---+++++++++++++++++++++X+++++++++++++++++++++------------------
07 -------+++++++++++++++++++++++X+++++++++++++++++++++++----------
08 -----++++++++++++++++++++++X+++++++++++++++++++++---------------
09 ----------++++++++++++++++++++++X++++++++++++++++++++++---------
10 -------+++++++++++++++++++++X+++++++++++++++++++++--------------
11 ------------+++++++++++++++++++++X+++++++++++++++++++++---------
12 ----+++++++++++++++++++++++X++++++++++++++++++++++--------------
13 -----------+++++++++++++++++++++X++++++++++++++++++++-----------
14 ------+++++++++++++++++++++++X++++++++++++++++++++++------------
15 -----------+++++++++++++++++++++X+++++++++++++++++++++----------


WRDQW0

0000000000111111111122222222223333333333444444444455555555556666
0123456789012345678901234567890123456789012345678901234567890123
00 +++++++++++++++++++++X++++++++++++++++++++-------++++++++++++++-
01 ++++++++++++++++++++++X++++++


CFE for Foxconn Router R7000 version: v1.0.22
Build Date: Wed Mar 19 11:14:20 CST 2014
Init Arena
Init Devs.
Boot up from NAND flash...
Bootcode Boot partition size = 524288(0x80000)
DDR Clock: 800 MHz
Info: DDR frequency set from clkfreq=1000,*800*
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.15.1 (r407936)
et1: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.15.1 (r407936)
CPU type 0x0: 1000MHz
Tot mem: 262144 KBytes


Does this reveal anything interesting?

Note that the router does not boot if I turn it on while the USB to serial adapter is connected and powered. What works is if I keep the pins connected to the router, but the USB side of the adapter unplugged from the computer. I power on the router and after it has started booting, I plug in the USB adapter to the computer, and start minicom. Then it works, and to get the early bits of output, I log in to dd-wrt from serial and reboot, and watch the output as above. Is this expected?

Settings used as described here: https://www.myopenrouter.com/article/how-debrick-or-recover-netgear-r7000-r6300v2-or-r6250-wi-fi-routers
Serial device: /dev/ttyUSB0
Bps/Par/Bits: 115200 8N1
Hardware and software flow control turned off
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14223
Location: Texas, USA

PostPosted: Sat Aug 22, 2020 8:48    Post subject: Reply with quote
Is this with only TX, RX, and GND attached? You do not connect the Vcc lead. There should be no reason it does not boot up with serial adapter attached, AFAIK.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
fizikz
DD-WRT User


Joined: 10 Nov 2016
Posts: 265

PostPosted: Sat Aug 22, 2020 9:08    Post subject: Reply with quote
kernel-panic69 wrote:
Is this with only TX, RX, and GND attached? You do not connect the Vcc lead.

Correct.

This is my first experience with serial and minicom, so maybe there's an issue with my settings or procedure?

Also note that I connected RX to RX and TX to TX (pins on adapter to pins on board) according to the adapter's documentation.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14223
Location: Texas, USA

PostPosted: Sat Aug 22, 2020 9:26    Post subject: Reply with quote
I've never had one not boot up with serial attached running minicom on Linux or Mac, I don't see any issues with configuration here.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
fizikz
DD-WRT User


Joined: 10 Nov 2016
Posts: 265

PostPosted: Sun Aug 23, 2020 2:20    Post subject: Reply with quote
Actually, it blocks the boot even if minicom is not running. If the serial adapter is connected and powered by USB before powering the R7000, the R7000's 4 white LAN LEDs go on and stay on indefinitely.

To boot successfully, I need to power the serial adapter only after those 4 LEDs have flashed on and turned off and continued in the boot process.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14223
Location: Texas, USA

PostPosted: Sun Aug 23, 2020 2:48    Post subject: Reply with quote
I don't recall having this problem, but the possibility exists that I did have it and not realize it. Which particular USB-TTL-UART adapter are you using? Wondering if that may be part of it or not. Also, are you sure you verified the pinout for your R7000? Because I am not 100% sure that linked guide is correct off the top of my head.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
fizikz
DD-WRT User


Joined: 10 Nov 2016
Posts: 265

PostPosted: Sun Aug 23, 2020 2:56    Post subject: Reply with quote
It's the DSD Tech SH-U09C3 with the FTDI FT232RL chip: https://www.amazon.com/DSD-TECH-SH-U09C3-Isolated-Featuring/dp/B07TS3GPQ1/

The pinout I'm using when viewing the router's 4 serial pins from the front (LED side, not the side with the ports and antennas): blank, GND, RX, TX.

Oh, and I made sure the adapter's jumper is set to 3.3V level, not 5V.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14223
Location: Texas, USA

PostPosted: Sun Aug 23, 2020 9:42    Post subject: Reply with quote
Using the 3 central connector pins (TX, RX, GND), I presume. This is weird. I don't recall there being an issue on R7000 or R7000P with this.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Sun Aug 23, 2020 17:26    Post subject: Reply with quote
https://www.ftdichip.com/Drivers/D2XX.htm

Installation Guides

Windows x64: CDM v2.12.28 WHQL Certified.zip, Release Notes, setup exe alternative

Mac OS X: D2XX1.4.16.dmg, ReadMe, Video Install Guide
fizikz
DD-WRT User


Joined: 10 Nov 2016
Posts: 265

PostPosted: Sun Aug 23, 2020 18:33    Post subject: Reply with quote
kernel-panic69 wrote:
Using the 3 central connector pins (TX, RX, GND), I presume.


Yes, here's a picture to make it clearer, and the state of the LEDs when the booting is stuck.



blkt wrote:
https://www.ftdichip.com/Drivers/D2XX.htm

Installation Guides

Windows x64: CDM v2.12.28 WHQL Certified.zip, Release Notes, setup exe alternative

Mac OS X: D2XX1.4.16.dmg, ReadMe, Video Install Guide


I'm using linux (currently kernel 5.7.16). The virtual COM port (VCP) drivers (ftdi_sio) are built into the kernel.

Quote:
D2XX drivers allow direct access to the USB device through a DLL. Application software can access the USB device through a series of DLL function calls.


Quote:
FTDI has two types of drivers for all supported operating systems. These are the virtual COM port driver (VCP) and the D2XX API driver. Since the FTDI VCP driver is built into the Linux kernel, this document will focus on the installation of the D2XX driver.To ensure all FTDI devices have VCP driver support, FTDI recommends installing the latest kernel release on the Linux system. In Linux, the VCP drivers will appear as /dev/ttyUSBx.

https://www.ftdichip.com/Support/Documents/AppNotes/AN_220_FTDI_Drivers_Installation_Guide_for_Linux.pdf

Since minicom uses /dev/ttyUSBx I think the VCP and not D2XX driver is appropriate, yes?
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Sun Aug 23, 2020 18:54    Post subject: Reply with quote
Never mind. Other than connecting the USB just before power on, not sure what else to recommend (shouldn't need to do this).

This R7000 board is toast.
Goto page Previous  1, 2, 3, 4  Next Display posts from previous:    Page 3 of 4
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum