MPC8309更换ddr后烧录问题

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC8309更换ddr后烧录问题

1,492 次查看
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文件中是否有需要对应适配的地方?

标记 (3)
0 项奖励
回复
3 回复数

1,441 次查看
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 项奖励
回复

1,434 次查看
qb
Contributor I

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

0 项奖励
回复

1,371 次查看
yipingwang
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复