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
Regular Visitor
janscholz
Posts: 39
Registered: ‎08-30-2011
0
Accepted Solution

Digilent Nexys 3 Problems

Hy!

I try to program the nexys 3 board with SDK. When I try to program the FPGA, following error occurs:


data2mem -bm C:/EDK_Projects/Nexys3/Projects/Timer_App/SDK/SDK_Export/hw/system_bd.bmm -bt \
C:/EDK_Projects/Nexys3/Projects/Timer_App/SDK/SDK_Export/hw/system.bit -bd \
C:/Xilinx/13.4/ISE_DS/EDK/sw/lib/microblaze/mb_bootloop.elf tag microblaze_0 -o b \
C:/EDK_Projects/Nexys3/Projects/Timer_App/SDK/workspace/Timer_App_hw_platform/download.bit

 

What can I do? 

I downloaded Adept 2.9.4 and I downloaded Adept 2.0.1

The 2.9.4 seems to Identificate the Nexys3 board, but when I click on program FPGA in SDK the same error occurs. I don´t know what to do. In the SDK folder (of digilent-download) is .\libs, .\doc, .\include and .\samples but I can´t find how to include them to Xilinx...

Hope anybody can help me.

 

Regards Jan

 

Expert Contributor
joelby
Posts: 1,056
Registered: ‎10-05-2010
0

Re: Digilent Nexys 3 Problems

That just looks like the command line invocation of the data2mem tool and is not an error. Are there any other messages leading you to believe that something is wrong?
Regular Visitor
janscholz
Posts: 39
Registered: ‎08-30-2011
0

Re: Digilent Nexys 3 Problems

There are not so much needable messages. 

All I see is:

 

Program FPGA failed

Reason:

FPGA configuration encountered errors.

 

When I click on details:

 

Program FPGA failed

 

and all in my Console window is:

 

elfcheck -hw \
C:/EDK_Projects/Nexys3/Projects/Timer_App/SDK/workspace/Timer_App_hw_platform/system.xml \
-mode bootload -mem BRAM -pe microblaze_0 \
C:/EDK_Projects/Nexys3/Projects/Timer_App/SDK/workspace/empty_application_0/Debug/empty_application_0.elf
elfcheck
Xilinx EDK 13.4 Build EDK_O.87xd
Copyright (c) 1995-2011 Xilinx, Inc. All rights reserved.

Command Line: elfcheck -hw
C:/EDK_Projects/Nexys3/Projects/Timer_App/SDK/workspace/Timer_App_hw_platform/sy
stem.xml -mode bootload -mem BRAM -pe microblaze_0
C:/EDK_Projects/Nexys3/Projects/Timer_App/SDK/workspace/empty_application_0/Debu
g/empty_application_0.elf

ELF file :
C:/EDK_Projects/Nexys3/Projects/Timer_App/SDK/workspace/empty_application_0/Debu
g/empty_application_0.elf
elfcheck passed.

data2mem -bm C:/EDK_Projects/Nexys3/Projects/Timer_App/SDK/SDK_Export/hw/system_bd.bmm -bt \
C:/EDK_Projects/Nexys3/Projects/Timer_App/SDK/SDK_Export/hw/system.bit -bd \
C:/EDK_Projects/Nexys3/Projects/Timer_App/SDK/workspace/empty_application_0/Debug/empty_application_0.elf \
tag microblaze_0 -o b \
C:/EDK_Projects/Nexys3/Projects/Timer_App/SDK/workspace/Timer_App_hw_platform/download.bit

 

is there nobody who programed a Nexys3 Board via SDK and struggles with similar errors?

 

Regards Jan

Expert Contributor
joelby
Posts: 1,056
Registered: ‎10-05-2010
0

Re: Digilent Nexys 3 Problems

Are you able to communicate with the FPGA successfully using iMPACT? Have you installed the Digilent Plugin for Xilinx Tools?
Regular Visitor
janscholz
Posts: 39
Registered: ‎08-30-2011
0

Re: Digilent Nexys 3 Problems

Hy I tried to use the Impact tool and it also doesn´t work. Following error occurs:

 

Cable connection failed.
PROGRESS_END - End Operation.
Elapsed time = 3 sec.
Cable autodetection failed.
WARNING:iMPACT:923 - Can not find cable, check cable setup !

 

I thing I found out what was the Problem. I use EDK 13.4 and it looks for me as if the digilent files and/or drivers aren´t able to work with 13.4.

When I tried the Impact tool with 12.4 everything worked and I could programm the FPGA.

I´ll try to create a hardware-design with edk now and tell then, if it works.

 

Regards Jan

Regular Visitor
janscholz
Posts: 39
Registered: ‎08-30-2011
0

Re: Digilent Nexys 3 Problems

No I have a new problem.

In BSB, XPS can´t find my board. I browse in "Set Project Peripheral Repository Search Path" to the lib-directory from the digilent-download "Nexys3_BSB_Support". Choose plb and then I can´t find other boards then them of Xilinx. Did I forget to make any setting or something else?

Regular Visitor
janscholz
Posts: 39
Registered: ‎08-30-2011
0

Re: Digilent Nexys 3 Problems

I don´t know why, but when I restartet my computer. Everything is ok. 

Finally I can begin to work.

 

Thanks for the help.

Regular Visitor
janscholz
Posts: 39
Registered: ‎08-30-2011
0

Re: Digilent Nexys 3 Problems

[ Edited ]

Ok, I thought everything is ok, but now I´m again at the Point, where I want to programm the FPGA via SDK again...

The same "error" occurs:

 

ELF file : C:/Xilinx/12.4/ISE_DS/EDK/sw/lib/microblaze/mb_bootloop.elf
elfcheck passed.

data2mem -bm \
E:/Nexys3/Projects/EDK/Timer_app/SDK/SDK_Workspace_35/hw_platform_0/system_bd.bmm -bt \
E:/Nexys3/Projects/EDK/Timer_app/SDK/SDK_Workspace_35/hw_platform_0/system.bit -bd \
C:/Xilinx/12.4/ISE_DS/EDK/sw/lib/microblaze/mb_bootloop.elf tag microblaze_0 -o b \
E:/Nexys3/Projects/EDK/Timer_app/SDK/SDK_Workspace_35/hw_platform_0/download.bit

 

and the following error-window opens:

 

Program FPGA failed

Reason:

FPGA configuration encoutered errors.

 

When I klick on Details:

Program FPGA failed

ERROR: Connection to Board Failed

Failed to Open JTAG Cable
Check the following:
1. Cable is Connected to the Board and the Board is Powered-ON
2. On Cable Lock Error, Close the other application using the cable or Remove Cable Locks using "xclean_cablelock" command
3. You have specified the correct JTAG settings for cable type and port.

 

Any ideas?

Expert Contributor
joelby
Posts: 1,056
Registered: ‎10-05-2010
0

Re: Digilent Nexys 3 Problems

I'm not sure if the Digilent drivers work with 13.4 - that's probably a question for Digilent support - but you will need to follow the driver installation process (copying libraries around) for each new ISE installation. Have you followed the steps to configure the plugin in EDK? I refer to these steps in the manual: > EDK Software Development Kit (SDK) Setup > The following steps show how to use the EDK Software Development Kit (SDK) with the Plug-in. First, launch SDK and Select “Xilinx Tools 􏰀 Configure JTAG Settings” menu item. > >Select “3rd Party Cable, Xilinx Plug-in” and type in “-cable type xilinx_plugin modulename digilent_plugin” into the “Other Options:” field. You will need to do this for each version of EDK you have installed and are using. (the WYSIWYG editor doesn't even show up on an iPad, and I can't even use the HTML formatting tab!)
Regular Visitor
janscholz
Posts: 39
Registered: ‎08-30-2011
0

Re: Digilent Nexys 3 Problems

Thank you!!! Now it´s working. I didn´t find any document descirbed this step? Can you post a link to the manual, just to complete my documentation.