default data rate when downloading code
Chris-
9600 baud is the correct baud rate for programming.
The PC <--> Stamp identify and program algorithms use the serial
port's DTR, TX and RX signals in a precisely choreographed sequence.
If your RF modem doesn't communicate on all three lines it could
support the debug function (typically uses RX only) but be unable to
accomplish the identify and program functions.
Regards,
Steve
On 30 Dec 01 at 0:52, Christopher C Dundorf wrote:
> I have and RF modem which only supports 9600 baud between a BS2P
> Demo Board and a PC. The debug window seems to work fine with data
> coming up as expected, however the Run command which downloads new
> code to the stamp does not...
9600 baud is the correct baud rate for programming.
The PC <--> Stamp identify and program algorithms use the serial
port's DTR, TX and RX signals in a precisely choreographed sequence.
If your RF modem doesn't communicate on all three lines it could
support the debug function (typically uses RX only) but be unable to
accomplish the identify and program functions.
Regards,
Steve
On 30 Dec 01 at 0:52, Christopher C Dundorf wrote:
> I have and RF modem which only supports 9600 baud between a BS2P
> Demo Board and a PC. The debug window seems to work fine with data
> coming up as expected, however the Run command which downloads new
> code to the stamp does not...
Comments
Board and a PC. The debug window seems to work fine with data coming up
as expected, however the Run command which downloads new code to the
stamp does not. An error comes up that the Basic Stamp 2P is not
responding. Why is this happening? What is the default data rate when
downloading code? If it's not 9600 Baud, how do I change it to this
speed?
BTW, without the modem the system works fine, and, with the modem the
identify command does not work either.
Regards,
Chris Dundorf
________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today! For your FREE software, visit:
http://dl.www.juno.com/get/web/.
Stamps is the superScreamer from Ewave and Parallax. Is that the
one you have?
>I have and RF modem which only supports 9600 baud between a BS2P Demo
>Board and a PC. The debug window seems to work fine with data coming up
>as expected, however the Run command which downloads new code to the
>stamp does not. An error comes up that the Basic Stamp 2P is not
>responding. Why is this happening? What is the default data rate when
>downloading code? If it's not 9600 Baud, how do I change it to this
>speed?
>
>BTW, without the modem the system works fine, and, with the modem the
>identify command does not work either.
>
>Regards,
>Chris Dundorf
Yes, the Stamp is programmed at 9600 baud. However, it takes special
conditions to put the Stamp into programming mode. The ATN pin (DTR
signal on pin4 of the DB9) has to be pulsed high briefly, while the
TX line is in the BREAK state and stays there for at least 50
millliseconds after the ATN pulse. After that there is an
identification exchange that has rather critical timing. The Ewave
modem is especially configured to do that, so that people in robotics
competitions can reprogram their 'bot on the move. Your Proxim modem
would have to support BREAK and the pulsed ATN, although you could
probably provide some additional circuitry to recreate those signals.
Moreover, the timing of programming is critical. The responses from
the Stamp have to come back to the PC running Stampw.exe without much
delay, or else the programming software will time out with a
"communication error". That could be tough for some RF modems that
assemble data into packets. I know that Parallax and Ewave worked
closely on the latest release of the STAMPW.EXE version 1.3 to
resolve some of these timing issues with their superscreamer modem.
If you want more detail on the programming algorithm and its timing,
refer to my web page at: <http://www.emesystems.com/BS2clone.htm>.
-- regards,
Tracy Allen
electronically monitored ecosystems
mailto:tracy@e...
http://www.emesystems.com
At 12:25 PM -0500 12/30/01, Christopher C Dundorf wrote:
>No, I have a 1994 vintage spread spectrum modem by Proxim that supports
>9600 baud coms. My first question related to getting the system to work
>is to find out what data rate is used when downloading code to the BS2P
>Stamp. If it can't be set to 9600 or less, I'm out of luck. If it can,
>then I need to know what other settings are required (i.e. flow control,
>etc.) Any ideas?
>
>Chris
>
><<>>
>
> Date: Sat, 29 Dec 2001 23:01:22 -0800
> > From: Tracy Allen <tracy@e...>
> > Subject: Re: default data rate when downloading code
> >
> > The only RF modem I know of which supports remote programming of
> > Stamps is the superScreamer from Ewave and Parallax. Is that the
> > one you have?
> >
> > >I have and RF modem which only supports 9600 baud between a BS2P
> > Demo
> > >Board and a PC. The debug window seems to work fine with data
> > coming up
> > >as expected, however the Run command which downloads new code to
> > the
> > >stamp does not. An error comes up that the Basic Stamp 2P is not
> > >responding. Why is this happening? What is the default data rate
> > when
> > >downloading code? If it's not 9600 Baud, how do I change it to
> > this
> > >speed?
> > >
> > >BTW, without the modem the system works fine, and, with the modem
> > the
> > >identify command does not work either.
> > >
> > >Regards,
> > >Chris Dundorf