EmbeddedRelated.com
Forums

serial output ?

Started by dakota_99_64804 January 19, 2005

I have a bx24 and a bs2p24. The program that i have on the bs2p is
communicating serial out at 9600 8-no parity-inverted and does work.
However when I move the program over to bx24, it dont work. I've
monitored the bx24 as it sends data out through hyperterminal, but
with the bs2p24 i can not. So I guess my question is, is there a
difference in serout of the stamp and the putQueueStr of the bx24?
thansk for any help offered!




dakota_99_64804 wrote:

>I have a bx24 and a bs2p24. The program that i have on the bs2p is
>communicating serial out at 9600 8-no parity-inverted and does work.
>However when I move the program over to bx24, it dont work. I've
>monitored the bx24 as it sends data out through hyperterminal, but
>with the bs2p24 i can not. So I guess my question is, is there a
>difference in serout of the stamp and the putQueueStr of the bx24?
>thansk for any help offered! >
Your question is confusing because first you say the BX-24 doesn't work
and then you say it does work with HyperTerminal. Assuming that the
BX-24 doesn't work at all then we probably need to see some code to help
you.

Of course serout and PutQueueStr are different but the question is, did
you take care of those differences. For example how big is the output
queue for the COMx port you are using? Are you using COM1 or COM3 on
other output pins?




Sorry for sounding confusing. Let me simplify it:

BX24 does not work with the device that i am try to
talk to.
BX24 is working with the Hypertimernal.

As for the COM's, I'm using com3 with pin 11 & 12 and
&H88 which is inverted and something else that i can't
remember right off hand. BPS is 9600.

Buffer size for the input is 20 and the output is 45.

the data string that i am sending is:

Nul, Nul, Nul, Nul, Nul, SOH, "ZOO", STX, "AAHELLO",
EOT
Stamp BX24
Nul = $00 &H00
SOH = $01 &H01
STX = $02 &H02
EOT = $04 &H04 The Stamp part works fine with the device, but not
with hyperterminail and that maybe due to a resistor
or two that are missing. going to test that here
shortly.

basicly i am wanting to know what the difference might
in pins and the means of outputing data serially?

Thanks again! --- Mike Perks <> wrote:
> >
> Your question is confusing because first you say the
> BX-24 doesn't work
> and then you say it does work with HyperTerminal.
> Assuming that the
> BX-24 doesn't work at all then we probably need to
> see some code to help
> you.
>
> Of course serout and PutQueueStr are different but
> the question is, did
> you take care of those differences. For example how
> big is the output
> queue for the COMx port you are using? Are you using
> COM1 or COM3 on
> other output pins?

>
> dakota_99_64804 wrote:
>
> >I have a bx24 and a bs2p24. The program that i have
> on the bs2p is
> >communicating serial out at 9600 8-no
> parity-inverted and does work.
> >However when I move the program over to bx24, it
> dont work. I've
> >monitored the bx24 as it sends data out through
> hyperterminal, but
> >with the bs2p24 i can not. So I guess my question
> is, is there a
> >difference in serout of the stamp and the
> putQueueStr of the bx24?
> >thansk for any help offered!
> >
> >

__________________________________




Nevermind, the problem has been solve and is now work
the way it should be... yahoo.. thanks again for the
help! --- dodge dakota <> wrote:

>
> Sorry for sounding confusing. Let me simplify it:
>
> BX24 does not work with the device that i am try to
> talk to.
> BX24 is working with the Hypertimernal.
>
> As for the COM's, I'm using com3 with pin 11 & 12
> and
> &H88 which is inverted and something else that i
> can't
> remember right off hand. BPS is 9600.
>
> Buffer size for the input is 20 and the output is
> 45.
>
> the data string that i am sending is:
>
> Nul, Nul, Nul, Nul, Nul, SOH, "ZOO", STX,
> "AAHELLO",
> EOT
> Stamp BX24
> Nul = $00 &H00
> SOH = $01 &H01
> STX = $02 &H02
> EOT = $04 &H04 > The Stamp part works fine with the device, but not
> with hyperterminail and that maybe due to a
> resistor
> or two that are missing. going to test that here
> shortly.
>
> basicly i am wanting to know what the difference
> might
> in pins and the means of outputing data serially?
>
> Thanks again! > --- Mike Perks <> wrote:
> > >
> > Your question is confusing because first you say
> the
> > BX-24 doesn't work
> > and then you say it does work with HyperTerminal.
> > Assuming that the
> > BX-24 doesn't work at all then we probably need to
> > see some code to help
> > you.
> >
> > Of course serout and PutQueueStr are different but
> > the question is, did
> > you take care of those differences. For example
> how
> > big is the output
> > queue for the COMx port you are using? Are you
> using
> > COM1 or COM3 on
> > other output pins?
>
> >
> > dakota_99_64804 wrote:
> >
> > >I have a bx24 and a bs2p24. The program that i
> have
> > on the bs2p is
> > >communicating serial out at 9600 8-no
> > parity-inverted and does work.
> > >However when I move the program over to bx24, it
> > dont work. I've
> > >monitored the bx24 as it sends data out through
> > hyperterminal, but
> > >with the bs2p24 i can not. So I guess my question
> > is, is there a
> > >difference in serout of the stamp and the
> > putQueueStr of the bx24?
> > >thansk for any help offered!
> > >
> > >
>
> __________________________________ >
>
> Yahoo! Groups Links >


__________________________________





--- In , dodge dakota <dakota_99_64804@y...> wrote:
> Nevermind, the problem has been solve and is now work
> the way it should be... yahoo.. thanks again for the
> help!
>

Please tell us what the problem was so we can all learn.

Thanks
Mike




Part of the problem was the wiring... Wouldn't work
the first time but did the second time... then fixed
some code... --- basicx_austin <> wrote:

>
>
> --- In , dodge dakota
> <dakota_99_64804@y...> wrote:
> > Nevermind, the problem has been solve and is now
> work
> > the way it should be... yahoo.. thanks again for
> the
> > help!
> >
>
> Please tell us what the problem was so we can all
> learn.
>
> Thanks
> Mike >
> Yahoo! Groups Links >

__________________________________