system with FPU halts. looking for advanced debugging methods (RISCwatch, RISCtrace)
My program intensively use PPC405 FPU in Virtex4. And sometimes execution halts. I can't find the reason, because it halts only when it runs(not in debug mode). When I go step by step in debug mode it works!
There are interesting IBM tools (RISCwatch, RISCtrace). Where I can download them? If I have no externals pins on fpga for connection RISCtrace, can I use internal buffer in fpga to collect data?
When cpu was freezed I connected with xmd and typed rrd. PC register had big value out of my program memory.
Also it would be interesting to dump registers of FPU(may overflow go to exeption and halting), but it seems xmd can't do it.
Thank for any help in advance!
Hi! I continue to investigate the problem. When I add Interrupt-Handler Table my program sometime hangs at Vector Offset 0x0700 (exactly 0x07b0). Exception-Syndrome Register = 0x08000000. It means that illegal-instruction program exception occurred. How FPU instructions are implemented in SDK (call interface or in interrupt handler?).