MCF5329EVB - Chip select signals and memory mapping problems

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCF5329EVB - Chip select signals and memory mapping problems

1,270 Views
mastro
Contributor I
Hi,

I'm using the Coldfire MCF5329 evaluation board and I have to access with the Compact Flash.Which is the initial address that I have to set for read and write to?
The Compact Flash is mapped with the chip select 1 signal, but how can I set it?
How is organized the memory?
Thank in advance!

mastro
Labels (1)
0 Kudos
2 Replies

311 Views
PaoloRenzo
Contributor V
Depends on how your LCF is organized (how software fits on hardware)
And finally Chips Selects base address configuration is important.
You have to read more about ColdFire or at least entire Chip Select memory chapter

Good luck
0 Kudos

311 Views
mastro
Contributor I
Hi,

Thanks for the reply Paolo.
I have already read the MCF5329 Reference Manual and the MCF5329 Hardware Specification and
I have set the flex-bus for accessing Compact Flash in this way:

CSAR1 = 0x02000000;
CSCR1 = 0x002A3780; //as MCF5329 Hardware Specification
CSMR1 = 0x01FF0001; // Compact Flash with 32MB of memory

I have try to write from the 0x02000000 address but I can't.
Have I to set something else?
Thank you very much,

mastro
0 Kudos