Reply by Nick Reitter November 28, 20062006-11-28
Mike,
Thanks for the encouragement to do more "digging". I now know the RS232
interface is made with the SP232A. (I did not realize there are Rxd and Txd
pins on the 68HC11. I did not have the "eyes" to see.) The code for sending
the data is a "3 liner", simple as you said. Everything works just fine.
Good to have this group of people to communicate with.
Nick
-----Original Message-----
From: m... [mailto:m...]On Behalf Of
Mike McCarty
Sent: Sunday, November 26, 2006 11:51 PM
To: m...
Subject: Re: [m68HC11] Buffalo Monitor & RS-232 code
Nick Reitter wrote:
>>Hi,
>>I have a data radio transmitter connected to the RS-232 connections on
my
>>Adapt11C24DX. (MC68HC11) When I have my program in RAM I can send data
to
>>the RS-232 connection and the transmitter quite well. I am using two
>>subroutines in the Monitor - OUTCRLF and OUT to accomplish this..
>>Now I want to place my code in EEPROM and have the program run from
power
>>up. My problem is that I do not know the code in the Monitor program
that
>>initializes the RS-232 connection. I tried the ONUART and ONSCI. They
did
>>not work.
>>Does any one know which portion of the Monitor program I must include in
>>my code to enable the RS 232 connector?
>>Thank you,
>>Nick Reitter
>>
>
>
>
>

I find it easier just to write my own routines. Handling the SCI
is pretty simple.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!
Reply by Mike McCarty November 27, 20062006-11-27
Nick Reitter wrote:
>>Hi,
>>I have a data radio transmitter connected to the RS-232 connections on my
>>Adapt11C24DX. (MC68HC11) When I have my program in RAM I can send data to
>>the RS-232 connection and the transmitter quite well. I am using two
>>subroutines in the Monitor - OUTCRLF and OUT to accomplish this..
>>Now I want to place my code in EEPROM and have the program run from power
>>up. My problem is that I do not know the code in the Monitor program that
>>initializes the RS-232 connection. I tried the ONUART and ONSCI. They did
>>not work.
>>Does any one know which portion of the Monitor program I must include in
>>my code to enable the RS 232 connector?
>>Thank you,
>>Nick Reitter
>>

I find it easier just to write my own routines. Handling the SCI
is pretty simple.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!
Reply by Nick Reitter November 25, 20062006-11-25
> Hi,
> I have a data radio transmitter connected to the RS-232 connections on my
> Adapt11C24DX. (MC68HC11) When I have my program in RAM I can send data to
> the RS-232 connection and the transmitter quite well. I am using two
> subroutines in the Monitor - OUTCRLF and OUT to accomplish this..
> Now I want to place my code in EEPROM and have the program run from power
> up. My problem is that I do not know the code in the Monitor program that
> initializes the RS-232 connection. I tried the ONUART and ONSCI. They did
> not work.
> Does any one know which portion of the Monitor program I must include in
> my code to enable the RS 232 connector?
> Thank you,
> Nick Reitter
>