SWAMR-54108 turned into doorstop
SWAMR-54108 turned into doorstop
In my haste the other morning, I made a schoolboy error when flashing the firmware on my one day old SWAMR-54108 router. Basically, I rebooted it before it had finished it's stuff and now it's toast.
I thought I was onto something when I saw the "Origo router USB Flash repair guide", but the jumpers are totally different and my pc refuses to admit there is anything connected by usb.
Is there any hope? Or should I drown my sorrows in a few pints and go by another?
Hope you can help
Adam
I thought I was onto something when I saw the "Origo router USB Flash repair guide", but the jumpers are totally different and my pc refuses to admit there is anything connected by usb.
Is there any hope? Or should I drown my sorrows in a few pints and go by another?
Hope you can help
Adam
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
It can still be recovered (hopefully). The system is actually quite robust as far as doorstop-recovery is concerned - as long as the bootloader is still intact - and I think it is pretty hard to kill the bootloader.
The secret is the PCTool.
You have to assign the PC a static IP (e.g., 192.168.1.3) in the Windows network settings (assuming you're using Windows XP - if not, then this will not help you).
1. Turn the router off.
2. Start the PCTool.
3. Turn on the router
4. Wait for about 2 seconds (you only have a 3-second window of opportunity here),
5. Click on "Retrieve/Assign IP Address" and hope it finds the IP address of 192.168.1.1.
If it doesn't you will need to repeat steps 1 to 5 several times until it does. Steps 4 and 5 would be straightforward if you have the correct serial console cable (you will need to open the router and attach it to the right place). Biro knows a lot more about serial cables than me
6. Once the PCTool has found the IP address correctly, select "flash" for media type, and "binary" for file type, and then "download" your "Firmware - Kernel/FS" to the router.
7. After this is successfully completed, change your Windows settings back from static IP address to automatic, and restart your router.
Some screenies below:
The secret is the PCTool.
You have to assign the PC a static IP (e.g., 192.168.1.3) in the Windows network settings (assuming you're using Windows XP - if not, then this will not help you).
1. Turn the router off.
2. Start the PCTool.
3. Turn on the router
4. Wait for about 2 seconds (you only have a 3-second window of opportunity here),
5. Click on "Retrieve/Assign IP Address" and hope it finds the IP address of 192.168.1.1.
If it doesn't you will need to repeat steps 1 to 5 several times until it does. Steps 4 and 5 would be straightforward if you have the correct serial console cable (you will need to open the router and attach it to the right place). Biro knows a lot more about serial cables than me
6. Once the PCTool has found the IP address correctly, select "flash" for media type, and "binary" for file type, and then "download" your "Firmware - Kernel/FS" to the router.
7. After this is successfully completed, change your Windows settings back from static IP address to automatic, and restart your router.
Some screenies below:
- Attachments
-
- serial.jpg
- This is how the insides of the router looks, with the appropriate serial cable connected.
- (175.66 KiB) Downloaded 5971 times
-
- console.png
- Using hyperterminal with serial console.
- (21.16 KiB) Downloaded 5556 times
-
- pctool.png
- The PCTool screen
- (22.29 KiB) Downloaded 5923 times
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
-
- Experienced
- Posts: 101
- Joined: Mon May 01, 2006 10:30 pm
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
The serial lead is one that has to be custom-made. It is not usb. One part of it goes to your PC's rs232 port, and the other part goes to the pins next to the "Barcode" label at the front part of the router (the serial cable is one with a red line on one side of it, as shown in my screenshot).markybrooknow wrote:Chief, could you please give details of the serial lead. Is this Rs232 or USB? Could one make or buy this lead?
On my SWAMR-54108 not only will it not respond but the WLAN light doesn't come on. Could this still be a firmware problem?
It has to be custom-made, because there are some technical issues, not least that the serial port inside the router is a series of pins, and not a proper rs232 port. But there are also issues of correct voltage, etc. A vero board might be required. I am afraid I know little about electronics, and wouldn't have an idea of how to build this custom serial cable. Biro knows more about the technical side. I got my serial cable from him
Edit: to answer your question about lights not being on, etc., that is the classic sign of boot failure. If you had a serial cable and you ran Hyperterminal, you would see something like "Kernel panic: cannot load the filesystem", or something just as frightening. The situation is easily recoverable as described above. Biro and I had many of those kernel panic situations while developing the RouterTech firmware Nothing much to worry about.
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
-
- Experienced
- Posts: 101
- Joined: Mon May 01, 2006 10:30 pm
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Biro could probably tell you when he comes online. In the meantime, you may find some of these links helpful:
http://www.tlarson.com/guides/dslhack/serial
http://www.seattlewireless.net/ActiontecGT701
http://www.webalice.it/andrea.usenet/ds ... serial.jpg
http://www.webalice.it/andrea.usenet/ds ... rcuito.jpg
http://www.nslu2-linux.org/wiki/HowTo/AddASerialPort
http://ar7-firmware.berlios.de/
http://www.google.co.uk/search?hl=en&q= ... arch&meta=
http://www.tlarson.com/guides/dslhack/serial
http://www.seattlewireless.net/ActiontecGT701
http://www.webalice.it/andrea.usenet/ds ... serial.jpg
http://www.webalice.it/andrea.usenet/ds ... rcuito.jpg
http://www.nslu2-linux.org/wiki/HowTo/AddASerialPort
http://ar7-firmware.berlios.de/
http://www.google.co.uk/search?hl=en&q= ... arch&meta=
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
-
- Experienced
- Posts: 101
- Joined: Mon May 01, 2006 10:30 pm
From the above info:-
Pinout of the J2 serial port (taken from left to right) as shown on above serial.jpg photo above
Pin 1 3.3V (pin 1 has a white stripe next to it)
Pin 2 RXD (from serial terminal program to NSLU2)
Pin 3 TXD (from NSLU2 to serial terminal program)
Pin 4 GND
Can anyone confirm this is the correct pinout for the router serial connections?
Thanks Chief.
Pinout of the J2 serial port (taken from left to right) as shown on above serial.jpg photo above
Pin 1 3.3V (pin 1 has a white stripe next to it)
Pin 2 RXD (from serial terminal program to NSLU2)
Pin 3 TXD (from NSLU2 to serial terminal program)
Pin 4 GND
Can anyone confirm this is the correct pinout for the router serial connections?
Thanks Chief.
- biro
- RouterTech Team
- Posts: 1274
- Joined: Wed Jan 25, 2006 10:03 pm
- Location: Letchworth Garden City, ENGLAND
- Contact:
Pin 2 and 3 are reversed on the SWAMRmarkybrooknow wrote:From the above info:-
Pinout of the J2 serial port (taken from left to right) as shown on above serial.jpg photo above
Pin 1 3.3V (pin 1 has a white stripe next to it)
Pin 2 RXD (from serial terminal program to NSLU2)
Pin 3 TXD (from NSLU2 to serial terminal program)
Pin 4 GND
Can anyone confirm this is the correct pinout for the router serial connections?
Thanks Chief.
Pin 1 3.3V out ( used to power TTL to RS 232 converter )
Pin 2 TX ( Data output from SWAMR to PC via level converter)
Pin 3 RX ( Data from PC to SWAMR via level converser)
Pin 4 Gnd
NEVER connect direct to PC will not work and Could prenatally damage Router.
MUST use a 3.3V TTL to RS232 signal converter to match signal levels and to invert them ( RS232 uses negative logic )
Router 0V is logic 0 which is + (5 to 12 V) on PC
Router +3.3V is logic 1 which is - (5 to 12V) on PC
The circuit diagram for the one I built is the one shown here http://www.nslu2-linux.org/wiki/HowTo/AddASerialPort
Wasnt till after I built it I noticed Pin2 and Pin3 ( on the router side ) need to be reversed for the SWAMR.
For most 'bricks' it should be possible to get the PCTool to connect without the serial cable just tried on mine and if click the "Retrieve/Assign IP address" 5 to 6 seconds after powering the Router Should be able to hit the window first time ( If windows is setup to show "Network connected" then as soon as it shows "connected" then click the 'button' )
- Attachments
-
- Note Pin2 and Pin3 reversed !
- 100_0449reduced.JPG (44.55 KiB) Viewed 50337 times
-
- Experienced
- Posts: 101
- Joined: Mon May 01, 2006 10:30 pm
Getting there slowly....
Hi Chief/Biro
First off, thanks for all the help you've given. It's much appeciated
Have been able to connect to router with pctool, the only difference being that the only ip address that is recognised is 192.168.100.1
I've uploaded the firmware/fs contained in the pctool and have rebooted, but still otherwise have a non communicating box that will not go to 192.168.1.1.
Am I missing something here?
Cheers
Adam
First off, thanks for all the help you've given. It's much appeciated
Have been able to connect to router with pctool, the only difference being that the only ip address that is recognised is 192.168.100.1
I've uploaded the firmware/fs contained in the pctool and have rebooted, but still otherwise have a non communicating box that will not go to 192.168.1.1.
Am I missing something here?
Cheers
Adam
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
A number of questions:
1. Which version of the PCTool are you using? You should be using the Safecom version. The IP address of 192.168.100.1 seems suspect to me!
2. In which order are you sending the files to the router? Try reversing them. Sometimes it takes a few attempts!
3. If nothing else works, try one of the older Safecom firmware images (e.g., V1 or V2).
1. Which version of the PCTool are you using? You should be using the Safecom version. The IP address of 192.168.100.1 seems suspect to me!
2. In which order are you sending the files to the router? Try reversing them. Sometimes it takes a few attempts!
3. If nothing else works, try one of the older Safecom firmware images (e.g., V1 or V2).
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
getting better...
firstly, to answer your questions.
1. Using version 2.1 downloaded from safecom site
2. downloaded fs then kernel
(still had to do these in the 192.168.100 subnet)
then...
I now have the WLAN lit up!!
Changed my ip address to 192.168.1.3
and i can telnet to the router and sign on.
I try to sign in through the web interface , the screen comes up, enter user id and password, then i get "Internal Communication error. Exiting."
It doesn't look like DHCP is working either.
1. Using version 2.1 downloaded from safecom site
2. downloaded fs then kernel
(still had to do these in the 192.168.100 subnet)
then...
I now have the WLAN lit up!!
Changed my ip address to 192.168.1.3
and i can telnet to the router and sign on.
I try to sign in through the web interface , the screen comes up, enter user id and password, then i get "Internal Communication error. Exiting."
It doesn't look like DHCP is working either.
- Shotokan101
- RouterTech Team
- Posts: 4779
- Joined: Thu Jan 26, 2006 3:17 pm
- Location: Glasgow, Scotland
- Shotokan101
- RouterTech Team
- Posts: 4779
- Joined: Thu Jan 26, 2006 3:17 pm
- Location: Glasgow, Scotland