Hello Yang Wei,
Please test DDR memory first with CodeWarrior.
Please check CodeWarrior initialization file, you need to configure eLBC OR and BR registers according to your target board, please refer to MPC8309 reference manual for detailed description for these registers.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------