EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

TeraTerm, RTS, and Reset

Started by stephen_osborn_co September 12, 2006
I built a new board and put on the RTS controlled Reset feature so I
could allow the Philips Flash programming utility to control DTR and
RTS to program the LPC2138.

A problem happens with I bring up TeraTerm on the same serial port.
TeraTerm sets the RTS line, which holds the LPC2138 in reset.

Did I miss an applications note somewhere?

An Engineer's Guide to the LPC2100 Series

> -----Original Message-----
> From: l...
> [mailto:l...]On Behalf
> Of stephen_osborn_co
> Sent: Tuesday, September 12, 2006 2:29 PM
> To: l...
> Subject: [lpc2000] TeraTerm, RTS, and Reset
> I built a new board and put on the RTS controlled Reset feature so I
> could allow the Philips Flash programming utility to control DTR and
> RTS to program the LPC2138.
>
> A problem happens with I bring up TeraTerm on the same serial port.
> TeraTerm sets the RTS line, which holds the LPC2138 in reset.
>
> Did I miss an applications note somewhere?
>

Yes, this is the problem with using control lines for purposes other
than what they were originally designed for. You need to disconnect
the RTS line normally, as terminal programs use it to indicate that
they are active, and requesting to send data. I have built terminal
programs in the past, that did not put this line into the active
state, for just the reason that you are describing, but that is
not a very standard way of doing things. I'd like to find a
windows terminal program that would allow this line to be configured
so it would work properly, without disconnecting the pin.

Mike
>From: Michael Anton
>> -----Original Message-----
>> From: l...
>> [mailto:l...]On Behalf
>> Of stephen_osborn_co
>> I built a new board and put on the RTS controlled Reset feature so I
>> could allow the Philips Flash programming utility to control DTR and
>> RTS to program the LPC2138.
>>
>> A problem happens with I bring up TeraTerm on the same serial port.
>> TeraTerm sets the RTS line, which holds the LPC2138 in reset.
>>
>> Did I miss an applications note somewhere?
>>Yes, this is the problem with using control lines for purposes other
>than what they were originally designed for. You need to disconnect
>the RTS line normally, as terminal programs use it to indicate that
>they are active, and requesting to send data. I have built terminal
>programs in the past, that did not put this line into the active
>state, for just the reason that you are describing, but that is
>not a very standard way of doing things. I'd like to find a
>windows terminal program that would allow this line to be configured
>so it would work properly, without disconnecting the pin.

RealTerm provides manual control over RTS and DTR. I use it myself with an
ISP adapter and get control of reset and program mode right from the
terminal window.

Of course the ISP adapter allows you to do this with any terminal program :)

Robert
--------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

The 2024 Embedded Online Conference