MPC8272 Write-through cache OK, write-back not

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

MPC8272 Write-through cache OK, write-back not

2,839 次查看
genuap
NXP Employee
NXP Employee
Question from newsgroup:

Write-through cache OK, write-back not
----------------------------------------------
I have a strange problem. I have a program that runs fine with write- through
cache, but not with write-back. It is not a multi-threaded program, the
application is single-threaded. It is running after a boot from u-boot on an
8272. Could I have something set wrong in the SDRAM controller that would
cause this? - Sat, Mar 24 2007 8:39 pm

A> Could this be a synchronization issue? Are you jumping from flash to SDRAM? When you initially copy your image over to SDRAM you want to make sure the SDRAM is marked as non-executable and cache-inhibited, at least until you have the image over there. Then make the changes in the MMU and do the jump.

What are your BAT or TLB entry attributes for the area you are trying to execute from? How do you do the jump? Any sync statements in there before you jump? Is this a branch absolute?
0 项奖励
回复
0 回复数