[coldfire-gnu-discuss] Sprite's support for ST M29W160EB Flash

Daniel Jacobowitz dan at codesourcery.com
Wed Jul 15 14:57:57 UTC 2009


On Tue, Jul 14, 2009 at 05:14:22PM +0300, Tarmo Kuuse wrote:
> Hi!
> 
> We finally received the real boards which replace M5208EVBe as
> development platform. The product board has ST M29W160EB Flash
> devices.
> 
> I'm trying to create a board definition, but cannot find relevant
> Flash device configurations (tab 'Memory map').
> 
> The only information regarding flash devices is "Supported flash
> device types include cfm and cfi" (Getting started guide, ch 8.11, p
> 131). That doesn't tell me much. Could you please elaborate - what do
> 'cfm' and 'cfi' represent? Which one should I use for my Flash?

CFM is the integrated boot flash in some ColdFire chips.  An ST part
is not going to be a CFM flash.  CFI is the Common Flash Interface; if
the chip supports CFI, the Sourcery G++ Sprite will be able to probe
for it and select the correct programming algorithm.

If the chip is not CFI-compliant, or uses an unknown programming
algorithm, then you have a couple of options; you can use an external
tool to program the flash (mark it as "ROM" in the Board Builder
instead of flash), or else contact CodeSourcery sales about adding
support for the chip.

Hope that helps!

-- 
Daniel Jacobowitz
CodeSourcery



More information about the coldfire-gnu-discuss mailing list