MPC8309更换ddr后烧录问题

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

MPC8309更换ddr后烧录问题

908 Views
qb
Contributor I

此前一直使用镁光的ddr为MT47H128M16RT-25E IT,现更换ddr为紫光SCB18T1G160AF,在通过codewarrior烧录过程中出现如下问题:
1、擦除:ide快速报告擦除成功,但重启验证实际未成功擦除;
2、写入:第一个block之后即报告如下错误:
Flash driver reports the following error(s): The flash device algorithm was interrupted during execution. Please check if the flash base address is correct or if there are any flash devices mapped inside the selected memory space. If a custom target initialization file was used then check the following parameters: flash base address, flash bank size and flash bank port size. Please enable Verify Target Memory Writes in Target Configuration to check that the algorithm downloads correctly. If you are downloading the algorithm to DDR try checking your DDR configuration.

请问在ide选项和cfg文件中是否有需要对应适配的地方?

Tags (3)
0 Kudos
3 Replies

857 Views
yipingwang
NXP TechSupport
NXP TechSupport

I assume that you are using CodeWarrior for PA 10.5.1, and you use CodeWarrior initialization file 8309SOM_init_core.tcl, please modify "DDR2 Controller Registers" section in your CodeWarrior initialization file according to the DDR datasheet.

Please refer to 

https://www.nxp.com.cn/docs/en/application-note/AN3369.pdf

https://www.nxp.com.cn/docs/en/application-note/AN2910.pdf

0 Kudos

850 Views
qb
Contributor I

我在ide目录下甚至整个电脑上都没有搜到8309SOM_init_core.tcl,但我确定烧录过程依赖于8309SOM_init.cfg这个文件,其内部也有一些ddr配置,请问这二者是否发挥同样的作用?

0 Kudos

787 Views
yipingwang
NXP TechSupport
NXP TechSupport

如果您用的是CodeWarrior 8.8, 文件8309SOM_init.cfg也是一样的。

0 Kudos