This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Trouble with SCC3 on AdderII module
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Paul Randall <prandall at delta-info dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>,Frank Robbins <Frank dot Robbins at Analogue-Micro dot com>
- Date: 07 Oct 2003 09:13:02 -0600
- Subject: Re: [ECOS] Trouble with SCC3 on AdderII module
- Organization: MLB Associates
- References: <3F82D378.7080806@delta-info.com>
On Tue, 2003-10-07 at 08:53, Paul Randall wrote:
> Hi All,
>
> I have a A&M AdderII module and I am trying to communicate using the
> serial port. The serial port on the AdderII uses SCC3 (the only SCC
> available on the MPC852T). However, when I do a cyg_io_lookup(
> "/dev/scc3", &scc_handle ), the call fails becase SCC3 is not in the
> driver list.
>
> I build eCos under Windows using the Configuration Tool. I check the
> "Hardware serial device drivers" option and the "PowerPC QUICC/SCC
> serial port 3 driver" selection under it.
>
> From my experience using SCC1 on the Viper, I know the following line
> should be in the \pkgconf\system.h file:
>
> #define CYGDAT_IO_SERIAL_DEVICE_HEADER
> <pkgconf/io_serial_powerpc_quicc_smc.h>
>
> This line is not in the \pkgconf\system.h file for the AdderII, but I
> can't figure out why not. This is preventing the
> pkgconf\io_serial_powerpc_quicc_smc.h file from being included in the
> \pkgconf\io_serial.h file.
>
First of all, you need to enable the serial drivers:
cdl_component CYGPKG_IO_SERIAL_DEVICES {
user_value 1
};
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss