MPC8248CVR SDRAM calibration and configuration

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

MPC8248CVR SDRAM calibration and configuration

876 次查看
winstonjacob
Contributor IV

I am using MPC8248CVR processor, I don't have SDboot option, so I need to flash the binaries via Codewarrior IDE to NOR flash, also we are using SDRAM, so how to do the calibration and the the NOR flash using Codewarrior.

If NXP have any documents, please share with me.

 

Regards

Winston

0 项奖励
回复
1 回复

854 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please modify the following section in CW initialization file C:\Program Files (x86)\Freescale\CodeWarrior PA V8.8\PowerPC_EABI_Support\Initialization_Files\PQ2\ep8248_init.cfg according to your custom board.

# Setup the chip selects

# CS0 is 8MB flash at 0xff800000, 32-bit port, no error checking, writable, GPCM, 60x bus, valid
writemmr BR0 0xFF801801
writemmr OR0 0xFF8008B2

# CS2 is board control & status registers at 0xFA000000, 8-bit port size, GPCM
writemmr OR2 0xfff00854
writemmr BR2 0xFA000801

# CS1 is 16MB SDRAM at 0x00000000, 32-bit port size, SDRAM machine, r/w, valid
writemmr OR1 0xff0030c0
writemmr BR1 0x00001841

Then refer to the attached procedure to do flash programming in CW 8.8.

0 项奖励
回复