Regarding MCF5407 initialization

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Regarding MCF5407 initialization

2,481件の閲覧回数
archana
Contributor I
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
ラベル(1)
0 件の賞賛
返信
1 返信

911件の閲覧回数
mnorman
NXP Employee
NXP Employee
Prior to validating CS0, it will respond to all accesses as it is the "global chip-select".  Once it is validated, CS0 will only be activated for accesses that fall within the programmed address range.  Make sure that the debugger and your software are not attempting accesses outside the valid CS0 range after it is validated (i.e. after global CS is disabled).
0 件の賞賛
返信