[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cdtest and .gcc_exc section




Andrew Bythell wrote:
> 
> DISCLAIMER: I think I have Outlook configured to do plain text but it *is*
> Microsoft so please forgive me if this is still HTML-y.

It's ok.

> 
> Target is m68k, BSP is gen68360, Host is Solaris 2.6
> 
> I have just tailored the gen68360 BSP to support my hardware and am
> executing the sample apps to make sure all is well.  All the apps (hello,
> ticker, base_sp, paranoia) work well but there are issues with cdtest.
> Linking cdtest yields a "warning: no memory region specified for section
> '.gcc_exc'.
> 
> I modified linkcmds and created a section for *(".gcc_exc").  Running the
> program outputs the letter 'H' to the console, then it stops.
> I tried putting .gcc_exc in Ram and in Rom, but the results are always the
> same.
> 
> I have a feeling I'm overlooking something but I can't figure out what it
> is.  Any suggestions?

Make sure that yor are doing polled I/O to the console. cdtest does
output during initialization before interrupts are enabled.
Interrupt-driven I/O just will not work, for obvious reasons. Some other
samples do work with interrupt-driven I/O. The ones you tried do, I think.

If that is not the problem, send more info. In particular, send your
linkcmds file.

BTW, all of this should work just fine in the next release.


> 
> Andrew Bythell  System Design For Test
> Nortel Networks  Microelectronics Group
> tel.613.765-6930             esn.39.56930

-- 
Charles-Antoine Gauthier
Institute for Information Technology
National Research Council of Canada