I am trying to unbrick my router with a USB-TTL cable to flash the factory firmware. After hooking everything up, I flip on the router, when PuTTY gets to the part where the router is about to boot up, I have 3 seconds to hit any key to halt it in order to load the OEM firmware. However, when I hit a key on my laptop (that's what I'm using), it does nothing - the router just continues to boot up in PuTTY. Can anyone tell me what am I going wrong that hitting any key on my laptop does nothing to stop it from booting?
You may have already done this, but just in case, have you tried booting to the other partition? If you have and it didn't work, I'd suggest following the instructions in this video, it gives a good walk through of the steps needed.
Thank you for your response. Yes, I have switched partitions. In fact, I'm doing this because only partition 2 of the router is bricked. I just don't understand why it won't stop it from booting when I hit the space bar (or any key on the keyboard for that matter). Quite frustrating.
Thank you for your comment. Yes, I'd like to flash the OEM firmware to only the bricked partition - if I could stop PuTTY from booting the router by "hitting any key" - therein lies the problem - no matter what key I hit on the keyboard, it wouldn't stop it from booting the router!
It should print characters at least. If it doesn’t, then you have some incorrect setting, or your ttl connection is not connected to the tx terminal properly.
96008n1 no flow control is what works for me 99% of the time, the rest is when I have a bad usb to serial adapter or a physically broken wire somewhere.
mamba is 115200. But, if you can successfully boot to the other partition, than why can you not just flash OEM from there (by whatever means, GUI, ssh).
It does print characters. However, when it gets to the part where it gives me 3 seconds to "hit any key" to pause the router from booting - when I hit a key on my keyboard, it doesn't stop it from booting the router.
So you're saying - by being on the partition with the OpenWRT, head over to "Administration", flash OEM and it will flash the OEM onto the bricked partition?
To support failsafe, sysupgrade is a round-robin, it flashes to the other partition, not the current partition. Not sure about OEM from the GUI, may have to ssh in to upgrade.
this is really easy.
download the official firmware for your router.
flash the official firmware from openwrt luci, just make sure to not keep setting and force installation.
or you can put the immage in /tmp and flash it via ssh
sysupgrade -n -F name of your firmware