unable  to burn u-boot image into the flash using code warrior

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

unable  to burn u-boot image into the flash using code warrior

1,508 Views
sunilkhatri
Contributor I

1.we are having a new board based on mpc8640

2.we need to have a config file as initialisation file required by code warrior. so we took help from available hpcn board cfg file and wrote our own.

3.it helped and board registers are initialised.

4.but now when we tried harware diagnosis tool adn tried to put our u-boot.bin into flash it starts downloading flash dirver but failed and error message was sth like clobbered ddr. failed to access DDR memory because unable to get magic no from the device.check ur device type or its configuration setting .

5.we tried all possible different setting for ram but not able to get the flash driver downloaded in ddr to burn u-boot into flash..

6.we have 512 MB of ram MT47H64M16 – 8 Meg x 16 x 8 banks.

please sombody help me in getting away from this error.

if this problem is because of DDR initialisation setting please tell me the setting values in ddr ram controller we are using controller 2 type of ram ddr2 and capacity 512 MB. four chips each of 128 Mb each with setting as 13 rows 10 colums and 3 logical banks.

 

if u need any more details for help please u are welcome.please our full project is hanging around for a start after board bring up. i an attaching the config fiel from our board..

 

thanks sunil khatri 

realtime techsolutions.

Labels (1)
0 Kudos
Reply
1 Reply

706 Views
ronco
NXP Employee
NXP Employee

Hello Sunil,

 

The DDR on your MPC86451D board does indeed need to be initialized properly and fully functional before the CodeWarrior Flash Programmer will work.  Or, this board will need some some other RAM available.  What kind of RAM doesn't matter too much to the Flash Programmer as long as it has at least 40Kb of exclusive use of RAM somewhere.

 

This forum is not the right venue to discuss or explain how to initialize your DDR but I refer you to some Application Notes on the topic: AN2583, AN3369 and AN3939.  You can search for them at www.freescale.com.  Failing that, please either contact your local Freescale Sales Office or submit a request for assistance, including all details of your DDR interface, to RISC10@freescale.com.  I hope this helps.

 

Regards,

Ron

0 Kudos
Reply