public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Changing flash wait state on SAM7
@ 2008-04-07 16:43 Davies, Greg
  2008-04-07 17:13 ` Andrew Lunn
  2008-04-07 23:14 ` Andrew Lunn
  0 siblings, 2 replies; 6+ messages in thread
From: Davies, Greg @ 2008-04-07 16:43 UTC (permalink / raw)
  To: ecos-discuss

I've been having some strange memory issues that I've been talking about
in the "eCos causing something.. Maybe?" thread. Basically I was seeing
random values when I did a dump of any section of memory. The BDI folks
suggested I change the flash wait state. I did this and the problem went
away. 

I now have an issue similar to this while trying to debug. I can see
that the first 3 instructions set the flash wait state to 1 (by writing
0x100 to 0xffffff60), but I need it to be 3. This seems to be in a
function called reset_vector (or at least that's what gdb calls it). I
tried changing what looked like the same code (but called
__flash_init__) in
packages\hal\arm\at91\at91sam7s\current\include\hal_platform_setup.h,
and I rebuilt everything, but when I loaded on the new code, it still
wrote the same value. Am I changing the flash wait state in the right
spot?

--
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] 6+ messages in thread

end of thread, other threads:[~2008-04-08  7:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-07 16:43 [ECOS] Changing flash wait state on SAM7 Davies, Greg
2008-04-07 17:13 ` Andrew Lunn
2008-04-07 23:14 ` Andrew Lunn
2008-04-08  7:03   ` Tom Deconinck
2008-04-08  7:54     ` Andrew Lunn
2008-04-08  8:16       ` Jürgen Lambrecht

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