View Single Post
  #3 (permalink)  
Old 04-25-2006, 05:49 PM
Guest
 
Posts: n/a
Default Re: Xilinx Virtex-4 OCM Usage Issues

Yeah the boot code pretty much copies the program to SDRAM, loads the
jump address and jumps. I modified the code to include the isync/sync
instructions:

<program copied to SDRAM>
<Cache is cleared - cache is already disabled>

0xffffca30 main+0x25c: 4c00012c isync
0xffffca34 main+0x260: 7c0004ac sync
0xffffca38 main+0x264: 7c0903a6 mtctr r0 <entryPt>
0xffffca3c main+0x268: 4e800421 bctrl

The code still halts as it did before. Thanks for the idea.

Reply With Quote