Welcome! Log In Create A New Profile

Advanced

kwboot on Zyxel NSA310 fails to unbrick

Posted by gesa 
kwboot on Zyxel NSA310 fails to unbrick
July 31, 2021 01:56AM
trying to unbrick a Zyxel NSA310 fails with below message.
No idea whats wrong. The serial worked before I bricked the device.
Any body an idea?

kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot.kwb -p
Sending boot message. Please reboot the target...\
Sending boot image...
0 % [+++++++++++++++++xmodem: Bad message
Re: kwboot on Zyxel NSA310 fails to unbrick
July 31, 2021 05:28AM
gesa,

Quote

> kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot.kwb -p
> Sending boot message. Please reboot the
> target...\
> Sending boot image...
> 0 % [+++++++++++++++++xmodem: Bad message

1. Make sure the 3 serial wires are away from the power plug /cord (if the wires are unshielded, as they usually are, there could be noise interference from the power line).

2. When you see "xmodem: Bad message", immediately recall the kwboot command and execute it. Repeat this many times as necessary, until kwboot starts sending the u-boot image continously.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 07/31/2021 05:30AM by bodhi.
Re: kwboot on Zyxel NSA310 fails to unbrick
July 31, 2021 10:19AM
tried repeating the command but nothing happens than that I'm asked again to reboot the target
Re: kwboot on Zyxel NSA310 fails to unbrick
July 31, 2021 04:03PM
gesa ,

> tried repeating the command but nothing happens
> than that I'm asked again to reboot the target

When you see this message
> Sending boot image... 
> 0 % [+++++++++++++++++xmodem: Bad message

It means this box has UART booting, and the first handshake has occured. So,

1. Use the u-boot image uboot.2017.07-tld-1.nsa310.mtd0.kwb form my release thread:

https://forum.doozan.com/read.php?3,12381

2. Check the serial wires connection make sure it is OK. Regular serial console works a bit different in protocol, so it is much more forgiving in term of noise. kwboot use xmodem protocol and sensitive to errors that come from noise/interference.

3. Be patient in repeating thekwboot command, if it is executed after the handshake window then it won't cach again. In that case, you need to turn of power and start from beginning.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: kwboot on Zyxel NSA310 fails to unbrick
August 01, 2021 10:30AM
using another laptop and debian solved my problem. Thanks for help
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: