Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Eclipse 如何在xilinx上使用SDK调试C程序?_Eclipse_Debugging_Fpga_Xilinx Edk - Fatal编程技术网

Eclipse 如何在xilinx上使用SDK调试C程序?

Eclipse 如何在xilinx上使用SDK调试C程序?,eclipse,debugging,fpga,xilinx-edk,Eclipse,Debugging,Fpga,Xilinx Edk,我正在使用Atlys spartan 6 xc6slx45,我必须调试以下代码: 1-#include "stdio.h" 2-int main (void) 3-{ 4-// Initialization of the necessary variables 5-int i,j,k; 6-// Initialization of source A and B 4x4 matrices and result C matrix 7-int a[4][4]={ {1,2,3,4}, 8-{1,2,3

我正在使用Atlys spartan 6 xc6slx45,我必须调试以下代码:

1-#include "stdio.h"
2-int main (void)
3-{
4-// Initialization of the necessary variables
5-int i,j,k;
6-// Initialization of source A and B 4x4 matrices and result C matrix
7-int a[4][4]={ {1,2,3,4},
8-{1,2,3,4},
9-{1,2,3,4},
10-{1,2,3,4}};

11-int b[8][8]={ {1,2,3,4},
12-{1,2,3,4},
13-{1,2,3,4},
14-{1,2,3,4}};

15-int c[8][8]={ {0,0,0,0},
16-{0,0,0,0},
17-{0,0,0,0},
18-{0,0,0,0}};

19-xil_printf("‐‐ Entering main() ‐‐\r\n");
20-for (i=0; i<4; i++ )
21-{
22-for (j=0; j<4; j++)
23-{
24-for(k=0; k<4; k++)
25-{
26-c[i][j]=c[i][j]+a[i][k]*b[k][j];
27-}
28-}
29-}
30-for (i=0; i<4; i++ )
31-{
32-for (j=0; j<4; j++)
33-{
34-xil_printf("%d ",c[i][j]);
35-}
36-xil_printf("\n\r");
37-}
38-return 0;
39-}

不幸的是,如果您阅读以下文档,这是一个已经存在很长时间的真正令人讨厌的SDK错误:

您将看到一节介绍SDK的一个限制:

Xilinx C/C++调试器(GDB)调试器在反汇编视图打开时挂起。

关闭所有反汇编窗口,然后重试

另一个可能导致问题的原因是断点太多,请在启动新的调试会话之前尝试删除断点并重置CPU


希望有帮助

你读过thread吗?你使用的是哪个版本的ISE?
No source available for "_start()".
Target failed:Target is not responding(timeout).