MPC5645S access to internal flash for graphics

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

MPC5645S access to internal flash for graphics

跳至解决方案
928 次查看
miquel_soler
Contributor I

Hello.

 

I'm Working with MPC5645S demo board with TFT application and code warrior IDE 5.9

 

I have the DCU3 configured and running with a TFT of 800x480.

Following the document (AN4444) called Configuring and using the DCU3 and DCULite on the MPC5645S MCU.

The document explain that if the graphics are stored in internal flash memory, the access setting must be modified from the reset conditions by cleaning the flash PFSACC register to 0x00000000.

In reference manual of MPC5645S (pages 837-838) explain this about the modification of PFSACC register:

" This field is initialized by hardware reset to the value contained in address 0x3E08 of the shadow block of the flash array. An erased or unprogrammed flash sets this field to 0xFFFF_FFFF.

 

Unfortunately I don't know how to access to this shadow block to set the address 0x3E08 register to 0x00000000.

 

Can somebody help me with this problem to solved it.

 

Thanks

 

Miquel Soler i Mir

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
761 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

You need not to modify the Shadow Flash. You can simple modify the PFSACC register in your code, use e.g

CFLASH0.PFSACC.R = 0x0; //Allow DCU access to int flash.

BR, Petr

在原帖中查看解决方案

0 项奖励
回复
2 回复数
762 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

You need not to modify the Shadow Flash. You can simple modify the PFSACC register in your code, use e.g

CFLASH0.PFSACC.R = 0x0; //Allow DCU access to int flash.

BR, Petr

0 项奖励
回复
761 次查看
miquel_soler
Contributor I

Thanks for the help.

Now is working.

Where did you found this information ?

Thanks

Miquel Soler i Mir

0 项奖励
回复