for uart (rs232) without bit bang
can we send for example !@$ASDF$%
and i return FASDLFADSF
just for test? or the protocol is binary (not human) read/writeable?

2011/1/31 Paul Alfille <paul.alfi...@gmail.com>:
> Some of the serial bus masters have an ascii mode that you that is
> easy to test with a terminal emulator (LINK, HA5 HA7,...). The other
> serial bus masters have a rather specific binary mode (DS9097U, DS9097
> passive).
>
> The two other ways to test the serial adapter not involving owfs are
> digitemp and the 1-wire public domain kit.
>
> It's also possible to communicate with the serial adapters remotely
> using telnet and the
> rfc2217 in-band binary mode.
>
> Paul
>
> On Mon, Jan 31, 2011 at 6:24 PM, Roberto Spadim <robe...@spadim.com.br> wrote:
>> kkkk i was asking "?" not affirming.
>> there´s a echo command for serial-onewire converter?
>>
>> 2011/1/31 Mick Sulley <m...@sulley.info>:
>>> Hi Roberto,
>>>
>>> My 1-wire is currently working OK so I thought I would try out your
>>> suggestion to see what I get.
>>>
>>> I open up a Putty session, set it to serial connection, serial
>>> line /dev/ttyS2, speed 9600
>>>
>>> There is no cursor in the window, if I type 'hello' and hit return the
>>> cursor goes back to the start of the line.  I expected it to echo back
>>> on the next line, have I done something wrong here?
>>>
>>> Thanks
>>> Mick
>>>
>>>
>>> On Mon, 2011-01-31 at 12:47 -0200, Roberto Spadim wrote:
>>>> there's a easy ping test for serial adapters?
>>>> for example, if i plug my serial-onewire converter, could i open putty
>>>> or another serial program and send "hello" and it will give me
>>>> "hello"?
>>>> it's just for easy test (without owfs)
>>>>
>>>> 2011/1/31 Mick Sulley <m...@sulley.info>:
>>>> > OK it just happened again.  Started my python program and it failed
>>>> > with
>>>> > DEFAULT: ow_reconnect.c:TestConnection(52) Failed to reconnect DS9097
>>>> > bus master!
>>>> >
>>>> > In a terminal I ran
>>>> > owhttpd -p 3001 -d /dev/ttyS2 --debug
>>>> >
>>>> > and this gave me
>>>> >
>>>> > CONNECT: ow_avahi_link.c:OW_Load_avahi_library(72) No Avahi support.
>>>> > Library libavahi-client couldn't be loaded
>>>> > CONNECT: ow_dnssd.c:OW_Load_dnssd_library(136) Zeroconf/Bonjour is
>>>> > disabled since dnssd library isn't found
>>>> >   CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[]
>>>> >  DEBUG: owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C 100C
>>>> > (for simulated adapters)
>>>> >  DEBUG: ow_ds9097U.c:DS2480_initialize_repeatedly(259) Attempt #0 to
>>>> > initialize the DS9097U
>>>> >  DEBUG: ow_ds9097U.c:DS2480_big_reset_serial(337) Send the initial
>>>> > reset to the bus master.
>>>> >  DEBUG: ow_ds9097U.c:DS2480_configuration_read(467) wrong response (70
>>>> > not 00)
>>>> >  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(488) Failed first attempt
>>>> > at resetting baud rate of bus master /dev/ttyS2
>>>> >  DEBUG: ow_ds9097U.c:DS2480_configuration_read(467) wrong response (70
>>>> > not 00)
>>>> >  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(493) Failed second attempt
>>>> > at resetting baud rate of bus master /dev/ttyS2
>>>> >  DEBUG: ow_ds9097U.c:DS2480_configuration_read(467) wrong response (70
>>>> > not 00)
>>>> >  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(488) Failed first attempt
>>>> > at resetting baud rate of bus master /dev/ttyS2
>>>> >  DEBUG: ow_ds9097U.c:DS2480_configuration_read(467) wrong response (70
>>>> > not 00)
>>>> >  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(493) Failed second attempt
>>>> > at resetting baud rate of bus master /dev/ttyS2
>>>> >  DEBUG: ow_ds9097U.c:DS2480_configuration_write(451) wrong response (CD
>>>> > not 44)
>>>> >  DEBUG: ow_ds9097U.c:DS2480_big_reset_serial(337) Send the initial
>>>> > reset to the bus master.
>>>> >  DEBUG: ow_ds9097U.c:DS2480_configuration_read(467) wrong response (70
>>>> > not 00)
>>>> >  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(488) Failed first attempt
>>>> > at resetting baud rate of bus master /dev/ttyS2
>>>> >  DEBUG: ow_ds9097U.c:DS2480_configuration_read(467) wrong response (70
>>>> > not 00)
>>>> >  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(493) Failed second attempt
>>>> > at resetting baud rate of bus master /dev/ttyS2
>>>> >  DEBUG: ow_ds9097U.c:DS2480_configuration_read(467) wrong response (70
>>>> > not 00)
>>>> >  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(488) Failed first attempt
>>>> > at resetting baud rate of bus master /dev/ttyS2
>>>> >  DEBUG: ow_ds9097U.c:DS2480_configuration_read(467) wrong response (70
>>>> > not 00)
>>>> >  DEBUG: ow_ds9097U.c:DS2480_set_baud_control(493) Failed second attempt
>>>> > at resetting baud rate of bus master /dev/ttyS2
>>>> >  DEBUG: ow_ds9097U.c:DS2480_configuration_write(451) wrong response (CD
>>>> > not 44)
>>>> >
>>>> >
>>>> > I opened up a browser on http://localhost:3001/ and it says unable to
>>>> > connect.
>>>> >
>>>> > The serial port looks OK
>>>> > mick@mick-desktop:~$ dmesg | grep tty
>>>> > [    0.000000] console [tty0] enabled
>>>> > [    0.489257] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>>>> > [    0.489554] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>>>> > [   14.681524] 0000:03:07.0: ttyS1 at I/O 0xdf00 (irq = 17) is a 16550A
>>>> > [   14.681616] 0000:03:07.0: ttyS2 at I/O 0xde00 (irq = 17) is a 16550A
>>>> > mick@mick-desktop:~$
>>>> >
>>>> >
>>>> > I then rebooted and it all works fine!
>>>> >
>>>> > Any idea what could cause this problem?
>>>> >
>>>> > Thanks
>>>> >
>>>> > Mick
>>>> >
>>>> >
>>>> >
>>>> > ------------------------------------------------------------------------------
>>>> > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>>>> > Finally, a world-class log management solution at an even better 
>>>> > price-free!
>>>> > Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>>>> > February 28th, so secure your free ArcSight Logger TODAY!
>>>> > http://p.sf.net/sfu/arcsight-sfd2d
>>>> > _______________________________________________
>>>> > Owfs-developers mailing list
>>>> > Owfs-developers@lists.sourceforge.net
>>>> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>>> Finally, a world-class log management solution at an even better price-free!
>>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>>> February 28th, so secure your free ArcSight Logger TODAY!
>>> http://p.sf.net/sfu/arcsight-sfd2d
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> Owfs-developers@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>
>>>
>>
>>
>>
>> --
>> Roberto Spadim
>> Spadim Technology / SPAEmpresarial
>>
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>> Finally, a world-class log management solution at an even better price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>



-- 
Roberto Spadim
Spadim Technology / SPAEmpresarial

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to