MCF5271 runnig from SDRAM

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

MCF5271 runnig from SDRAM

1,544 次查看
CM601
Contributor I
Hello,
I have a custom board with the MCF5271 and Micron MT48LC4M32B2 SDRAM chip.
The memory test is working fine, i am able to read and write the whole memory, but when i try to run code from the SDRAM WITH cache enabled the program freeze after reaching the code above the first 1MB. With disabled cache it is executing code properly.
标签 (1)
0 项奖励
回复
1 回复

729 次查看
ynaught
Contributor III
Hi,
 
Search for the thread "SDRAM configuration help"
 
I had problems on my board that may be from the same misconfiguration.  In my case, all was well until I did a movem.l instruction, popping many registers off the stack.
 
The punchline was that I had configured the RAM for CAS2 and the CPU for CAS3 (or something like that); essentially because the table headers describing the SDRAM controller were confusing.
 
So... all worked well until the CPU and RAM got a chance to burst some data, then it screwed all up.  Sounds similar to what you're describing.
 
Good luck!
0 项奖励
回复