Coldfire 5282 problem

Etienne Fortin etienne.fortin at
Tue Aug 17 19:42:55 UTC 2004

Ok guys, a very STUPID answer... I assumed that rambar0 was RAMBAR
(onboard SRAM), but rambar0 is REALLY FLASHBAR.... Rambar1 is the true
SRAM Base Address register (RAMBAR). Quite a stupid mistake... But
Motorola did it quite confusing...

Etienne Fortin

-----Message d'origine-----
De : Etienne Fortin [mailto:etienne.fortin at] 
Envoyé : 17 août, 2004 15:22
À : rtems-users at
Objet : Coldfire 5282 problem

I'm currently working on a port of RTEMS to the Motorola Coldfire and
the 5282 Lite Kit developement board. I have the following problem:

As soon as I change the value of the RAMBAR register, the next
instruction trigger a bus error, which seems to be that the code, which
was executing from the internal flash of the 5282, is not accessible
anymore. Using GDB no memory region can be read either just after the
RAMBAR register is initialized.

Question: How can a change to the RAMBAR register invalidate access to
the internal flash??? Or am I missing something here?

Etienne Fortin

More information about the users mailing list