This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SCC serial driver for MPC860



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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]