* [ECOS] Trouble with SCC3 on AdderII module
@ 2003-10-07 14:52 Paul Randall
2003-10-07 15:13 ` Gary Thomas
2003-10-08 19:41 ` Gary Thomas
0 siblings, 2 replies; 4+ messages in thread
From: Paul Randall @ 2003-10-07 14:52 UTC (permalink / raw)
To: ecos-discuss; +Cc: Frank Robbins
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.
Any help would be greatly appreciated.
Paul Randall
Delta Digital Video
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] Trouble with SCC3 on AdderII module
2003-10-07 14:52 [ECOS] Trouble with SCC3 on AdderII module Paul Randall
@ 2003-10-07 15:13 ` Gary Thomas
[not found] ` <3F840BAD.3060803@delta-info.com>
2003-10-08 19:41 ` Gary Thomas
1 sibling, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2003-10-07 15:13 UTC (permalink / raw)
To: Paul Randall; +Cc: eCos Discussion, Frank Robbins
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] Trouble with SCC3 on AdderII module
[not found] ` <3F840BAD.3060803@delta-info.com>
@ 2003-10-08 16:58 ` Gary Thomas
0 siblings, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2003-10-08 16:58 UTC (permalink / raw)
To: Paul Randall; +Cc: eCos Discussion
On Wed, 2003-10-08 at 07:05, Paul Randall wrote:
> I don't think this e-mail made it to the list the last time I sent it
> so I'm posting it again.
>
> Hi Gary,
>
> From what I can tell, CYGPKG_IO_SERIAL_DEVICES is enabled. So is
> CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_SCC3. But I'm still having
> problems. My ecc file for the AdderII module is attached.
>
> By the way, did someone follow through with my request to add the
> relocatable parameter block pointer to the spi_pram structure in the
> ppc8xx.h file? I haven't seen any changes on CVSweb yet.
>
This did make it - at least to me - twice. BTW - there is no reason
to send a whole .ecc file, you can use "ecosconfig export XXX" to
glean the important details.
As for the problems with SCC3 - I'm looking at it now and hope to have
a solution later today.
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] Trouble with SCC3 on AdderII module
2003-10-07 14:52 [ECOS] Trouble with SCC3 on AdderII module Paul Randall
2003-10-07 15:13 ` Gary Thomas
@ 2003-10-08 19:41 ` Gary Thomas
1 sibling, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2003-10-08 19:41 UTC (permalink / raw)
To: Paul Randall; +Cc: eCos Discussion, Frank Robbins
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.
>
> Any help would be greatly appreciated.
>
I didn't see the problem you are reporting. Except for a compile error
(which obviously you did not see), this worked for me:
% ecosconfig new adderII net
% ecosconfig import serial.ecm
% ecosconfig tree
where 'serial.ecm' is:
cdl_component CYGPKG_IO_SERIAL_DEVICES {
user_value 1
};
The compile error is now fixed BTW - update your tree.
CAUTION: There is a current problem (BUG #90391) which says that if
you enable the serial device drivers on these platforms, it will hang.
That's only 50% true - if you enable the SMC1 driver then it hangs.
Leave it off and it will work fine. For my testing, I also did this:
cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_SMC1 {
user_value 0
};
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-10-08 19:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-07 14:52 [ECOS] Trouble with SCC3 on AdderII module Paul Randall
2003-10-07 15:13 ` Gary Thomas
[not found] ` <3F840BAD.3060803@delta-info.com>
2003-10-08 16:58 ` Gary Thomas
2003-10-08 19:41 ` Gary Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).