DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-06-29 11:32:38

bjby
Member
Registered: 2009-02-22
Posts: 265

Unbricking dns323, noisy serial cable or something else ?

Hi,
I am trying to unbrick my dns 323 rev A1. I have made a serial from a nokia CA-42 according to wiki.

My problem: The serial connection between pc and dns323 seems to be "noisy". I get a lot of nonsens chars mixed in. I suspect the ca-42 (see log below).

I would be glad to get some guesses to what may be wrong and some ideas which may fix this. 

Here is a log of a typical connect

Code:

Communications Parameters:
 Line: /dev/ttyUSB1, speed: 115200, mode: local, modem: none
 Parity: none, stop-bits: (default) (8N1)
 Duplex: full, flow: none, handshake: none
 Carrier-watch: off, close-on-disconnect: off
 Lockfile: /var/lock/LCK..ttyUSB1
 Terminal bytesize: 8, escape character: 28 (^\)

 Carrier Detect      (CD):  On
 Dataset Ready       (DSR): On
 Clear To Send       (CTS): On
 Ring Indicator      (RI):  On
 Data Terminal Ready (DTR): On
 Request To Send     (RTS): On

Type SHOW DIAL to see DIAL-related items.
Type SHOW MODEM to see modem-related items.

(/home/bjdo/) C-Kermit>c
Connecting to /dev/ttyUSB1, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
 ** LOADER **
 ** MARVELL BOARD: RD-88F5181-POS-NAS LE 

U-Boot 1.1.1 (Nov 13 2006 - 14:01:34) Marvell version: 1.4.2

DRAM CS[0] base 0x00000000   size  64MB 
DRAM Total size  64MB 
[81�2kB@ff800000] Flash:  8 MB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M):���"�����y˥�������5

�������MO�
C�H I+��usb device.

Offline

 

#2 2011-06-30 22:16:25

jcard
Member
From: Portugal
Registered: 2008-09-21
Posts: 289

Re: Unbricking dns323, noisy serial cable or something else ?

bjby wrote:

Hi,
I am trying to unbrick my dns 323 rev A1. I have made a serial from a nokia CA-42 according to wiki.

My problem: The serial connection between pc and dns323 seems to be "noisy". I get a lot of nonsens chars mixed in. I suspect the ca-42 (see log below).

I would be glad to get some guesses to what may be wrong and some ideas which may fix this. 

Here is a log of a typical connect

Code:

Communications Parameters:
 Line: /dev/ttyUSB1, speed: 115200, mode: local, modem: none
 Parity: none, stop-bits: (default) (8N1)
 Duplex: full, flow: none, handshake: none
 Carrier-watch: off, close-on-disconnect: off
 Lockfile: /var/lock/LCK..ttyUSB1
 Terminal bytesize: 8, escape character: 28 (^\)

 Carrier Detect      (CD):  On
 Dataset Ready       (DSR): On
 Clear To Send       (CTS): On
 Ring Indicator      (RI):  On
 Data Terminal Ready (DTR): On
 Request To Send     (RTS): On

Type SHOW DIAL to see DIAL-related items.
Type SHOW MODEM to see modem-related items.

(/home/bjdo/) C-Kermit>c
Connecting to /dev/ttyUSB1, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
 ** LOADER **
 ** MARVELL BOARD: RD-88F5181-POS-NAS LE 

U-Boot 1.1.1 (Nov 13 2006 - 14:01:34) Marvell version: 1.4.2

DRAM CS[0] base 0x00000000   size  64MB 
DRAM Total size  64MB 
[81�2kB@ff800000] Flash:  8 MB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M):���"�����y˥�������5

�������MO�
C�H I+��usb device.

I also have a Nokia USB adapter on my B1, and it works fine.
I had to power it up from the DNS.
Have you tried to transfer some file? Kermit  verifies file packets checksums, so it is somehow resistent to line noise (it was designed to work on slow, noisy, old  analogic telephone lines)


Please consider discussing Alt-F at http://groups.google.com/group/alt-f/topics
Please consider filling Alt-F bugs at http://code.google.com/p/alt-f/issues/list

Offline

 

#3 2011-07-01 01:19:48

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: Unbricking dns323, noisy serial cable or something else ?

"I had to power it up from the DNS." What excaktly does this mean?

Does this mean smthing along the lines of.

1. connect ca-42 to dns323
2. connect power to dns323
3. connect ca-42 to pc
4. start and connect kermit
5. push on button on dns323

This may possibly be a fix. I dont think I have used this sequence.

"Have you tried to transfer some file?"
I get no feedback to keyboard input.

I have made the basic shakedown sanity tests on the cable as described in the guide.

Offline

 

#4 2011-07-01 01:52:56

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: Unbricking dns323, noisy serial cable or something else ?

Tried the sequence above same results. Short dirty print then connection behaves as dead. No print from boot nor from keyboard.

I have ordered a second inexpensive nokia ca-42 maybe it fixes this problem.

------------------------------------------------
** LOADER **
**jIY�1?�B�>� ~�|����|�����zX�}�
                                  ��rsoon: 1.4.2

DRAM CS[0] base 0x00000000   size  64MB
DRAM Total size  64MB
[8192kB@ff800000] Flash:  8 MB
Addresses 20M - 0M re�s�2������~��

Offline

 

#5 2011-07-01 02:10:47

jcard
Member
From: Portugal
Registered: 2008-09-21
Posts: 289

Re: Unbricking dns323, noisy serial cable or something else ?

bjby wrote:

"I had to power it up from the DNS." What excaktly does this mean?

.

When I cut the cable near the phone connector, four wires appeared. After identifying send, receive and ground, the other was to supply power to the circuitry in the usb socket. So I connected it to the dns 3.3 V supply.

It looks like there are two kind of Nokia cables. In one if them power to the circuitry is supplied through the usb socket, while in the other kind power is supplied through the phone. My cable is of the second kind.


Please consider discussing Alt-F at http://groups.google.com/group/alt-f/topics
Please consider filling Alt-F bugs at http://code.google.com/p/alt-f/issues/list

Offline

 

#6 2011-07-01 10:42:34

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: Unbricking dns323, noisy serial cable or something else ?

Ok thanks mine had 3 wires. Powered from pc then.

Browsing the nokia forums, its seems like cheap e-bay style ca42s are sometimes broken.

Offline

 

#7 2011-07-07 23:45:20

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: Unbricking dns323, noisy serial cable or something else ?

Alright figured this one out. The Tx/Rx wires was mixed up. I missread or missunderstood the documenation.

I ruled this possibility out since the box actually talked back with some sort of data.

Anyhow the serial works now.  But I am not home yet. I have backups of the flashdisk blocks mdblock1,2,3,4 and It would be nice if I could use them. Starting a new thread for this.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB