Matthias Urlichs wrote:
> 30cm is way too long for TTL RS232. I've had the same issue with the
> built-in serial of a NSLU2, only worse because it's 3V instead of five.
This is also 3.3V. The funny thing is that, the WRT54GL works perfectly
with such cable, and it is still a 3.3V device.
I solve
Hi,
Alessio Sangalli:
> It must be the signal quality which is not "good enough"? I am not using
> particular long wire, it's about 30cm.
>
30cm is way too long for TTL RS232. I've had the same issue with the
built-in serial of a NSLU2, only worse because it's 3V instead of five.
--
Matthias Ur
Alessio Sangalli wrote:
> It works! While direct interface from DS2480B and Asus doesn't.
> It must be the signal quality which is not "good enough"? I am not using
> particular long wire, it's about 30cm.
Maybe this is the last email about this topic.
I have tested with a very short cable (4cm
Paul Alfille wrote:
> I think you are now the world expert.
Sorry if I flood the ML about this issue but I discovered that:
if I connect a MAX233 "back-to-back" meaning that:
DS2480B <-> MAX233 TTL-0
MAX232 RS232-0 <-> MAX233 RS232-1
MAX232 TTL-1 <-> Asus WL500gP
It works! While direct interfac
I tried to connect *another* Asus WL500gP but the result is still the
same like the other:
[EMAIL PROTECTED]:~# owhttpd --foreground --error_level=9 -d /dev/ttyS1 -p 3001
CALL: PARSENAME path=[]
CONNECT: Cannot detect DS2480 or LINK interface on /dev/ttyS1.
DEBUG: COM_close: flush
DEBUG: CO
I think you are now the world expert.
On Tue, Apr 8, 2008 at 7:06 PM, Alessio Sangalli <[EMAIL PROTECTED]> wrote:
> The same OW circuit tested with a WRT54GL, which has the same 3.3V TTL
> serial ports, works perfectly:
>
> [EMAIL PROTECTED]:~# owhttpd --foreground --error_level=9 -d /dev/ttyS1 -
The same OW circuit tested with a WRT54GL, which has the same 3.3V TTL
serial ports, works perfectly:
[EMAIL PROTECTED]:~# owhttpd --foreground --error_level=9 -d /dev/ttyS1 -p 3001
CALL: PARSENAME path=[]
DEBUG: ServerProcessOut = 1026
DEBUG: ServerProcessAccept 3001[1026] try lock 0
DEB
Paul Alfille wrote:
> The code is from the datasheet and also can be seen in the public
> domain kit and digitemp.
Ok so I read the datasheet and it seems that I have to issue a reset
command as first thing.
FUNCTION BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
reset110X00
Paul Alfille wrote:
> If you're asking how to "ping" the DS2480B, that's what OWFS does in the
> startup sequence to test if its a DS2480B or "passive" adapter.
>
> owhttpd --foreground --error_level=9 -d /dev/ttyS1 -p 3001
> will show that attempt.
# owhttpd --foreground --error_level=9 -d /dev/
Paul Alfille wrote:
> Is it possible that your signal levels are ok, but the power supply too low?
The power supply is the very same in case of the USB-serial adapter and
direct serial.
I will try to "ping" the device like you said anyway. Thank you
Alessio
-
If you're asking how to "ping" the DS2480B, that's what OWFS does in the
startup sequence to test if its a DS2480B or "passive" adapter.
owhttpd --foreground --error_level=9 -d /dev/ttyS1 -p 3001
will show that attempt.
The code is from the datasheet and also can be seen in the public domain
kit
Alessio Sangalli wrote:
> Paul Davis wrote:
>> That's a good bet. The polarity is inverted between the logic side and
>> the RS232 side of the line driver. It could explain your problem.
>
>
> I connected the POL pin to GND but the problem seem to stay ... :(
I need to go lower level. I would
Paul Davis wrote:
> That's a good bet. The polarity is inverted between the logic side and
> the RS232 side of the line driver. It could explain your problem.
I connected the POL pin to GND but the problem seem to stay ... :(
bye
Alessio
-
That's a good bet. The polarity is inverted between the logic side and
the RS232 side of the line driver. It could explain your problem.
Paul
On Apr 4, 2008, at 6:26 AM, Alessio Sangalli <[EMAIL PROTECTED]> wrote:
> Some more debugging info: while ocnnected to the ttyS1 owhttpd does
> not
>
Some more debugging info: while ocnnected to the ttyS1 owhttpd does not
find the device; it does when I attach through the USB serial converter.
Might it be that I connected the "POL" pin to Vcc, instead I should have
connected to GND or leave floating??
[EMAIL PROTECTED]:~# owhttpd -p 3001 -d /
Paul Alfille wrote:
> owhttpd -p 3001 -d /dev/ttyUSB0 # works
> owhttpd -p 3001 -d /dev/ttyS1 # does NOT work;
>
> Very nice work-through of the problem.
>
> The datasheet says 4.5V to 5.5V. I can't tell you if 3.3V is supported.
> http://datasheets.maxim-ic.com/en/ds/DS2480B.pdf
Well..
On Thu, Apr 3, 2008 at 6:52 PM, Alessio Sangalli <[EMAIL PROTECTED]> wrote:
> owhttpd -p 3001 -d /dev/ttyUSB0 # works
> owhttpd -p 3001 -d /dev/ttyS1 # does NOT work;
>
Very nice work-through of the problem.
The datasheet says 4.5V to 5.5V. I can't tell you if 3.3V is supported.
http://datasheet
On Thu, Apr 3, 2008 at 5:49 PM, Alessio Sangalli <[EMAIL PROTECTED]> wrote:
> Christian Magnusson wrote:
> > I have compiled owfs for my Asus WL-500W Kamikaze-7.09, and owfs, fuse
> and
> > usb-support worked on that router.
>
> I am not using USB support. Should I? I just use a PL2003 adapter and
On Thu, Apr 3, 2008 at 5:33 PM, Alessio Sangalli <[EMAIL PROTECTED]> wrote:
>
> mh... ok maybe I misunderstood how the "OW*" software works, isn't owfs
> and fuse anyway necessary for any other tool?
>
No. I'm sorry it's not clear.
The same syntax and library is used by all the tools (owfs, owht
Paul Alfille wrote:
> Could you try doing the samehardware test with either:
> 1. owserver and owdir/owread
So at the end:
owhttpd -p 3001 -d /dev/ttyUSB0 # works
owhttpd -p 3001 -d /dev/ttyS1 # does NOT work;
meaning that with the former I can access the webpage and see my devices
(two tempera
Paul Alfille wrote:
> Alessio,
>
> It's a little hard to tease out FUSE problems and owfs problems at times.
> 2. owhttpd and wget or a remote web browser
yes, owhttpd works on the USB-serial adapter. I wil not try with the
internal 3.3V TTL serial port.
bye
Alessio
Christian Magnusson wrote:
> I have compiled owfs for my Asus WL-500W Kamikaze-7.09, and owfs, fuse and
> usb-support worked on that router.
I am not using USB support. Should I? I just use a PL2003 adapter and
then interface to the DS2480 as it were serial. I designed my own PCB
for it... Should
Paul Alfille wrote:
> Alessio,
>
> It's a little hard to tease out FUSE problems and owfs problems at times.
>
> Could you try doing the samehardware test with either:
> 1. owserver and owdir/owread
> or
> 2. owhttpd and wget or a remote web browser
mh... ok maybe I misunderstood how the "OW*" s
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alessio
Sangalli
Sent: den 3 april 2008 04:54
To: owfs-developers@lists.sourceforge.net
Subject: [Owfs-developers] owfs on openwrt
I I have a small board with a DS2480B on it and a couple of 1-wire devices.
Everything works perfectly
Alessio,
It's a little hard to tease out FUSE problems and owfs problems at times.
Could you try doing the samehardware test with either:
1. owserver and owdir/owread
or
2. owhttpd and wget or a remote web browser
Paul Alfille
On Thu, Apr 3, 2008 at 11:24 AM, Alessio Sangalli <[EMAIL PROTECTED]
Alessio Sangalli wrote:
> I have attached a USB to serial converter to the Asus (the very same
> setup works on my laptop as I mentioned) and tried to issue the command
> below.
I forgot to mention, all the tests I have made were done with 2.7p4 and
also with 2.6p8
bye
Alessio
PS isn't there a
Alessio Sangalli wrote:
> I I have a small board with a DS2480B on it and a couple of 1-wire devices.
>
> Everything works perfectly when run on my laptop through a MAX233A as
> level converter.
I have attached a USB to serial converter to the Asus (the very same
setup works on my laptop as I men
I I have a small board with a DS2480B on it and a couple of 1-wire devices.
Everything works perfectly when run on my laptop through a MAX233A as
level converter.
I then wanted to try it on my Asus WL-500gP, that has two TTL 3.3V
serial ports.
The DS2480B should be able to nterface with this por
28 matches
Mail list logo