It seems that there is problem with the following configuration in CodeWarrior initialization file, OR0[AM] should be 1111_1100_0000_0000_0(64M), for details please refer to MPC8377 Reference Manual.
### CS0 - 512K NorFLASH
writemem.l 0xe0005000 0xFC000801 # BR0 base address at 0xFc000000, port size 8 bit, GPCM, valid
writemem.l 0xe0005004 0xFFF80FF7 # OR0 512K flash size, 15 w.s., timing relaxed
If your problem remains, would you please create a new thread to discuss more about CodeWarrior initialization file porting for your target board?
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I was set up in accordance with the hardware configuration of the board. I tried to set 1111_1100_0000_0000_0 (64M), or not.
Please try whether it would be helpful to configure 0xe0005004 as 0xFC000FF7.
Thanks,
Yiping
I tried or not!
Do you mean the flash programming problem remains?
Yes, flash programming problems still exist!
Have you verified whether there is problem with the DDR controller configuration?
Would you please try whether the sample project can be executed successfully in DDR?
Thanks,
Yiping