Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
lisun
Posts: 11
Registered: ‎12-01-2011
0

I have been working SDK C project, one day all the C projects stop working.

I have been working SDK C project, one day all the C projects stop working.

I have ise 13.2 and implement my design on ML510 board.  I have some C project that talk to the Ethernet port written by other engineer (I am a beginner using SDK and writing C code to tell pc440 processor). The code was doing fine and yesterday I re-ran the C code, all the sudden it stops working. The LED is not on the board, I don’t see anything coming out from the UART. I tried to make a new hello world.c and copied my old code to my the helloworld.c , but it is still not working. Have it happen to you, I submitted a case on Xilinx, but the engineer did not give me any solution.

 

Thanks a lot

 

Shelly 

Super Contributor
joy1887
Posts: 152
Registered: ‎03-31-2011
0

Re: I have been working SDK C project, one day all the C projects stop working.

Have u tried after creating a fresh project?

Visitor
sunsocool
Posts: 11
Registered: ‎06-26-2012
0

Re: I have been working SDK C project, one day all the C projects stop working.

问题描述不清,发点错误信息,或者截图上来

Visitor
lisun
Posts: 11
Registered: ‎12-01-2011
0

Re: I have been working SDK C project, one day all the C projects stop working.

I did try create a new workspace, I start a new C project, HelloWorld.c and it works fine, then I created another project IwIP Echo Server project. I assume the IwIP would work without any editting like the helloworld. But it is not working, I don't see anything that is coming out from the UART. I may try to create a fresh ISE project later today.

 

Thanks for the reply!

 

Shelly 

Visitor
sunsocool
Posts: 11
Registered: ‎06-26-2012
0

Re: I have been working SDK C project, one day all the C projects stop working.

Is there any wrong message when you build the project,or everything is ok but it didn't work?Maybe you should make sure your usrt port on your pc is working fine and then right-click the elf file select "run as" then select "run configurations"  at the run configuration dialogbox select "STDIO Connection" page ,makesure you have "Connect STDIO to Console" option selected and right UART port selected in the listbox and have the right BAUD rate set.

Good luck!

Super Contributor
joy1887
Posts: 152
Registered: ‎03-31-2011
0

Re: I have been working SDK C project, one day all the C projects stop working.

For LWIP problem did u choose Xilkernel as your os?have u set it propoerly?

Expert Contributor
golson
Posts: 879
Registered: ‎04-07-2008
0

Re: I have been working SDK C project, one day all the C projects stop working.

Look at the signals and the MHS file to see if you are using the TEMAC in MII mode.  If you are then you need to

be running at 100 Mb/s.  If you want to run at GB/s then you need to change the TEMAC to RGMII.

 

Visitor
lisun
Posts: 11
Registered: ‎12-01-2011
0

Re: I have been working SDK C project, one day all the C projects stop working.

Thanks for the reply!

 

I am new bie to the EDK and SDK. Can you please show me how to choose Xilkernel as OS.

All the EDK and SDK project are setup by other eengineer, my job is writting PID loop in C/VHDL code and run it on the ML510. 

Visitor
lisun
Posts: 11
Registered: ‎12-01-2011
0

Re: I have been working SDK C project, one day all the C projects stop working.

I think I have the right UART port setup, if I make a C project helloworld.c in the same SDK project, I did get something out of it.
Expert Contributor
golson
Posts: 879
Registered: ‎04-07-2008
0

Re: I have been working SDK C project, one day all the C projects stop working.

I mean look at your ethernet setup in the MHS file.  to check if it is set up for MII. That is the default setup.  If you want to

use Gigabit you need to change it to RGMII.