cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
k-50
Explorer
Explorer
2,635 Views
Registered: ‎08-16-2008

system with FPU halts. looking for advanced debugging methods (RISCwatch, RISCtrace)

Hi! 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!
0 Kudos
2 Replies
elzinga
Xilinx Employee
Xilinx Employee
2,615 Views
Registered: ‎08-08-2007

Try the following answer record http://www.xilinx.com/support/answers/24759.htm

 

Thanks,

Steve

 

0 Kudos
k-50
Explorer
Explorer
2,525 Views
Registered: ‎08-16-2008

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?).
0 Kudos