This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: SCC serial driver for MPC860
- To: Christoph Csebits <Christoph dot Csebits at frequentis dot com>
- Subject: Re: [ECOS] SCC serial driver for MPC860
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Thu, 10 May 2001 08:14:38 -0600 (MDT)
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat, Inc.
On 10-May-2001 Christoph Csebits wrote:
> On Thu, May 10, 2001 at 07:54:24AM -0600, Gary Thomas wrote:
>>
>> On 10-May-2001 Christoph Csebits wrote:
>> > hi
>> > i am starting to write an SCC2 serial
>> > driver for my MPC860 based custom
>> > board.
>> >
>> > Is this the right way, copying
>> > the quicc_smc1 files to quicc_scc2
>> > and adjust the following functions:
>> >
>> > cyg_hal_plf_serial_init( )
>> > cyg_hal_plf_serial_putc( )
>> > cyg_hal_plf_serial_getc( )
>>
>> You'll only need these if you want to use the SCC port for
>> diagnostic I/O (diag_printf, etc). The "normal" serial drivers
>> do not use them.
>
> Till now i dont have a serial line under eCos,
> - my serial line is mapped to SCC2.
>
> (i have a simple load&go boostrapper on
> the board and want to replace it by eCos (RedBoot)
>
> What would you recommend to do?
>
> thanks, christoph
In that case, you will need to use SCC2 for your diagnostic (monitor)
I/O. Changing the plf_serial routines above is the correct course.