MCF5271 runnig from SDRAM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MCF5271 runnig from SDRAM

1,585件の閲覧回数
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 返信

770件の閲覧回数
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 件の賞賛
返信