UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

PROM issue

Reply
Highlighted
Visitor
Posts: 3
Registered: ‎01-12-2018

PROM issue

I have successfully created a project and programmed the XC6SLX9. 

However, I have not been able to write to the PROM. I have a XCF04SVOG20C, wired as per UG380.pdf fig 2-2. 

When I initialize the chain the XC6SLX9 shows up, but instead of the XCF04, an unknown_1_8 device is there.

When I do create Prom, it creates the file, no problems.

 

Why does an unknown device show up instead of my XCF04?

 

Here is the console output:

 

GUI --- Auto connect to cable...
INFO:iMPACT - Digilent Plugin: Plugin Version: 2.5.2
INFO:iMPACT - Digilent Plugin: no JTAG device was found.
AutoDetecting cable. Please wait.
*** WARNING ***: When port is set to auto detect mode, cable speed is set to default 6 MHz regardless of explicit arguments supplied for setting the baud rates
PROGRESS_START - Starting Operation.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
File version of /opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64/xusbdfwu.hex = 1030.
File version of /usr/share/xusbdfwu.hex = 1030.
Using libusb.
Kernel release = 2.6.32-358.el6.x86_64.
Max current requested during enumeration is 300 mA.
Type = 0x0005.
Cable Type = 3, Revision = 0.
Setting cable speed to 6 MHz.
Cable connection established.
Firmware version = 2401.
File version of /opt/Xilinx/14.7/ISE_DS/ISE/data/xusb_xp2.hex = 2401.
Firmware hex file version = 2401.
PLD file version = 200Dh.
PLD version = 200Dh.
PROGRESS_END - End Operation.
Elapsed time = 2 sec.
Type = 0x0005.
ESN option: 0000150F637001.
Attempting to identify devices in the boundary-scan chain configuration...
INFO:iMPACT - Current time: 1/12/18 7:06 PM
PROGRESS_START - Starting Operation.
Identifying chain contents...INFO:iMPACT:1588 - '0':The part does not appear to be Xilinx Part.
'0': : Manufacturer's ID =Unknown , Version : 13
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'1': : Manufacturer's ID = Xilinx xc6slx9, Version : 2
INFO:iMPACT:1777 -
Reading /opt/Xilinx/14.7/ISE_DS/ISE/spartan6/data/xc6slx9.bsd...
INFO:iMPACT:501 - '1': Added Device xc6slx9 successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
done.
ERROR:iMPACT - Bsdl reader is not available for device 2.
PROGRESS_END - End Operation.
Elapsed time = 0 sec.
INFO:iMPACT:1777 -
Reading /home/ise/Test/unknown_1_8.bsd...
INFO:iMPACT:1777 -
Reading /home/ise/Test/unknown_1_8.bsd...
INFO:iMPACT - The UNKNOWN device BSDL file(s) are saved to this location: '/home/ise/Test/'

Explorer
Posts: 226
Registered: ‎01-22-2015

Re: PROM issue

Hi @bhartung

 

Welcome to the Xilinx forum!

 

The good news is that many things appear to be working for you !

 

The following line from your console output helps isolate the problem.

    '0': : Manufacturer's ID =Unknown , Version : 13

 

This line indicates that iMPACT has tried to read an IDCODE from your PROM and got something that was unexpected. See page 6 of Xilinx datasheet DS123 for more information about the IDCODE for your PROM.

 

Suggested Action:   When iMPACT asks you to “Select Attached SPI/BPI”, check that you are specifying your PROM correctly. Be sure you select the correct interface (SPI or BPI), correct part number for PROM, and correct data width.  If you are sure that you’ve specified these things correctly then again check connections from PROM to JTAG and from PROM to FPGA. 

 

Mark

Visitor
Posts: 3
Registered: ‎01-12-2018

Re: PROM issue

DS123 says the IDCODE is 6 hex digits. The console output just shows a 0. I checked all voltages to the prom, they are correct per DS123. Resoldered all components related to the PROM. This is not an SPI/BPI prom, but rather a Xilinx Prom. It is just appearing as unknown, instead of the correct part. I know the circuit worked at one time, as there is code on the prom and it loads into the FPGA on power up.

I guess the next step is to replace the PROM as it seems it is bad.

Explorer
Posts: 226
Registered: ‎01-22-2015

Re: PROM issue

Yes, replacing the PROM seems like a logical next step.   Be sure to check table 1-2 in ug161 to ensure you are using a PROM that is compatible with your SPARTAN-6 FPGA.

Explorer
Posts: 226
Registered: ‎01-22-2015

Re: PROM issue

[ Edited ]

      I know the circuit worked at one time, as there is code on the prom....

 

If someone has blown the eFUSEs (ug380, pg93) in your FPGA then the FPGA may prevent you from programming the PROM.  I know this to be true for 7-series FPGAs and I suspect it is true for your SPARTAN-6 FPGA.

 

According to ug380, you can inspect and program the eFUSEs using the iMPACT software that comes with ISE.

Visitor
Posts: 3
Registered: ‎01-12-2018

Re: PROM issue

Took lots of trial and error, and google searches. Turns out I had 2 issues. 

1. Needed to download the xcf files for Xilinx proms to correctly identify the device to Impact.

2. Needed to save the PROM file as .isc NOT as .mcs

 

I successfully programmed the fpga and the prom.

Explorer
Posts: 226
Registered: ‎01-22-2015

Re: PROM issue

[ Edited ]

Congratulations on your success!    - and thanks for summarizing how you did it.

 

Can you tell us more about "download xcf files for Xilinx proms" and about "save the PROM file as .isc"?   I confess that I have not done these things before - and they seem unusual.

 

This extra information from you will help others who read your post.  

 

Thanks,

Mark