XPS Download Bitstream to FPGA

Gast #1828371
Lesenswert?
• ▲
▼
Hallo, ich beim Laden einen Microblaze von XPS auf das Spartan 3a 
folgende Fehlermeldung, die mich nicht sehr weiterbringen.
hat jemand ähnliche Probleme gehabt?



At Local date and time: Mon Aug 23 16:02:33 2010
 make -f system.make download started...

*********************************************
Downloading Bitstream onto the target board
*********************************************
impact -batch etc/download.cmd
Release 12.2 - iMPACT M.63c (nt)
Copyright (c) 1995-2010 Xilinx, Inc.  All rights reserved.
Preference Table
Name                 Setting
StartupClock         Auto_Correction
AutoSignature        False
KeepSVF              False
ConcurrentMode       False
UseHighz             False
ConfigOnFailure      Stop
UserLevel            Novice
MessageLevel         Detailed
svfUseTime           false
SpiByteSwap          Auto_Correction
AutoInfer            false
SvfPlayDisplayComments false
AutoDetecting cable. Please wait.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
 Driver file xusbdfwu.sys found.
 Driver version: src=1027, dest=1027.
 Driver windrvr6.sys version = 8.1.1.0. WinDriver v8.11 Jungo (c) 1997 - 
2006 Build Date: Oct 16 2006 X86 32bit SYS
12:35:07, version = 811.
 Cable PID = 0008.
 Max current requested during enumeration is 74 mA.
Type = 0x0004.
 Cable Type = 3, Revision = 0.
 Setting cable speed to 6 MHz.
Cable connection established.
Firmware version = 1303.
File version of C:/Xilinx/12.2/ISE_DS/ISE/data/xusb_xlp.hex = 1303.
Firmware hex file version = 1303.
PLD file version = 0012h.
 PLD version = 0012h.
Type = 0x0004.
 ESN device is not available for this cable.
Identifying chain contents...'0': : Manufacturer's ID = Xilinx xcf04s, 
Version : 15
----------------------------------------------------------------------
----------------------------------------------------------------------
'1': : Manufacturer's ID = Xilinx xc3s700a, Version : 2
INFO:iMPACT:1777 -
   Reading C:/Xilinx/12.2/ISE_DS/ISE/xcf/data/xcf04s.bsd...
INFO:iMPACT:501 - '1': Added Device xcf04s successfully.
INFO:iMPACT:1777 -
   Reading C:/Xilinx/12.2/ISE_DS/ISE/spartan3a/data/xc3s700a.bsd...
----------------------------------------------------------------------
----------------------------------------------------------------------
done.
Elapsed time =      0 sec.
Elapsed time =      0 sec.
'1': Loading file 'implementation/download.bit' ...
INFO:iMPACT:501 - '1': Added Device xc3s700a successfully.
done.
----------------------------------------------------------------------
----------------------------------------------------------------------
----------------------------------------------------------------------
Maximum TCK operating frequency for this device chain: 10000000.
Validating chain...
Boundary-scan chain validated successfully.
INFO:iMPACT:501 - '1': Added Device xc3s700a successfully.
'1': Programming device...
 LCK_cycle = NoWait.
LCK cycle: NoWait
done.
'1': Reading status register contents...
CRC error 
:
    0
IDCODE not validated while writing FDRI 
:
    0
DCM Locked 
:
    1
status of GTS_CFG_B 
:
    1
status of GWE 
:
    1
status of GHIGH 
:
    1
value of VSEL pin 0 
:
    1
value of VSEL pin 1 
:
    1
value of VSEL pin 2 
:
    1
value of MODE pin M0 
:
    1
value of MODE pin M1 
:
    0
value of MODE pin M2 
:
    0
value of CFG_RDY (INIT_B) 
:
    1
DONEIN input from Done Pin 
:
    1
SYNC word not found 
:
    0
 LCK_cycle = NoWait.
LCK cycle: NoWait
'1': Programmed successfully.
Elapsed time =      0 sec.
----------------------------------------------------------------------
----------------------------------------------------------------------
INFO:iMPACT:2219 - Status register values:
INFO:iMPACT - 0011 1111 1100 1100
INFO:iMPACT:579 - '1': Completed downloading bit file to device.
INFO:iMPACT:188 - '1': Programming completed successfully.
INFO:iMPACT - '1': Checking done pin....done.
Done!
#2016188
Lesenswert?
• ▲
▼
Hallo zusammen,
ich habe das gleiche Problem wie von Harald beschrieben, allerdings mit 
IMPACT 12.3 im -batch-Betrieb.
Mein Board ist ein Spartan3AN Starter Kit von Xilinx/Digilent.
Während der Entwicklung möchte ich das FPGA über ein DOS BAT 
konfigurieren.
In der GUI sieht das so aus:
- Initialize Chain
  - XC3S700AN und XCF04S werden gefunden
- Select BIT-Stream for XC3S700AN (select)
- Select BIT-Stream for XCF04S (cancel)
- Rechtsclick auf XC3S700AN in der BS-Chain
- Program FPGA only
-> Design wird geladen und gestartet

Diesen Vorgang wollte ich nun automatisieren:
Aufruf: impact -batch download.cmd

Aufbau download.cmd:
setMode -bs
setCable -p auto
identify
assignfile -p 1 -file test.bit  // alternativ: adddevice
program -p 1
closeCable
quit

Dieser Batch scheint jedoch zu versuchen, das Flash zu programmieren.

Hat jemand einen Tipp für mich?

Danke, Marcus
#2016507
Lesenswert?
• ▲
▼
Hi Duke, danke für den Schubs... Ich hatte da schonmal angesetzt, aber 
die entscheidenden Zeilen nicht gefunden.

Wenn man in der GUI-Console mitliest, findet man BATCH CMD Befehle.
Aus denen habe ich mir nun ein funktionierendes Skript zusammengebaut:

impact.cmd:
setMode -bs
setCable -port auto
Identify -inferir
identifyMPM
assignFile -p 1 -file "filename.bit"
Program -p 1 -onlyFpga
closeCable
quit

DOS-Aufruf:
impact -batch impact.cmd

So langsam wird's was. Ich steige gerade von Altera in den S3AN ein, 
weil ich für ein Projekt platz-/kostengünstig eine MCU mit einem FPGA 
verbinden muss. MCU ist der PicoBlaze, soll später auf einem XC3S50AN 
laufen.

Danke nochmal - Marcus

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren