Hi folks,
I am short before going mad...
I have a Xilinx ML403 board with a Virtex 4 FX12 FPGA sitting on my desk.
I use an EDK generated PPC405 design as a submodule.
My current task is to interface with a simple IIC chip via the Xilinx IIC core. That works - from time to time. My software behaves completely strange - hangs, seems to skip parts, runs into Xilinx' assertion stop code, etc...
I use the following libs and drivers: Xilinx intc, iic, uartlite, xil_printf libc's printf
I tried to dig into the problem using the Xilinx supplied XMD debugger. It looks like I am suffering from "side effects": I have seen data going corrupt (function pointers NULLing) while execution is somewhere else. I have also seen program exception and machine check exeptions in the PPC's ESR register :-( Behavior changes with position of code in memory. Sometimes an inserted or removed operation completely changes the behaviour...
So the question is: Does anyone have similar experiences? Is there any known corrupt driver code in the last EDK revision? Am I doing something badly wrong?
If you have some ideas, PLEASE let me know... I can provide more details on request.
Thanks a lot,
Philipp :-)