Archana C

Regarding MCF5407 initialization

Discussion created by Archana C on Apr 24, 2006
Latest reply on Apr 27, 2006 by Michael Norman
I am using MCF5407 in one of the projects. I am facing a strange problem while initializing the chip.

We are using P&E ICDCFZ for debugging.

After validating the Chipselect 0, the debugger will not be able to recongnize the processor. Only reset will bring me back to processor.

The sequence of initialization is as follows:

1. Disable interrupts
2. caches off, invalidate
3. clear all ACRs
4. Map internal SRAM
5. Map SIM module
6. Initialize PLLCR to 0
7. Disable watchdog
8. Disable all the chipselect other than 0 (V bit in CSMR(n) set to 0)
9. program chipselect 0
10. Initialize the SDRAM

The behaviour remains the same, without debugger connected..

Has anyone faced similar kind of problem before?

In what ways enabling Global chipselect affect the processor?

Any pointer towards solution would be of great help.

Thanks in advance,
Archana

Outcomes