public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] CPM Reset on MPC8xx & SPI
@ 2005-04-21 15:39 Will Wagner
  0 siblings, 0 replies; only message in thread
From: Will Wagner @ 2005-04-21 15:39 UTC (permalink / raw)
  To: eCos Discussion

Been having problems getting SPI working on an 866P.

I have tracked this down to _mpc8xx_reset_cpm setting all the dual port 
RAM to zero. Unfortunately at 0x3dac there is stored the location the 
current location of the SPI Parameter RAM and at 0x3dae the default 
value is stored. These really shouldn't be set to zero when the CPM is 
reset.

I guess it would be too complicated in the reset function to not set 
those values to zero?

It is easy to work around by resetting the correct value into the SPI 
Parameter RAM when initialising the other parameters, however it was a 
very unexpected step to have to do. Is having to reset it the more 
correct way or should the reset function be changed to prevent it being 
set to zero?

Once I get this working would anyone be interested in me getting this 
into CVS?

Thanks for any help,

Will Wagner


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-21 15:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-21 15:39 [ECOS] CPM Reset on MPC8xx & SPI Will Wagner

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).