[prev in list] [next in list] [prev in thread] [next in thread]
List: openocd-development
Subject: [OpenOCD-devel] [openocd:tickets] #102 Segfault in SVF module
From: "Alex Forencich" <aforencich () users ! sf ! net>
Date: 2015-07-30 19:45:21
Message-ID: /p/openocd/tickets/102/12a78be8d3bf5071561074f4e039072d8ab405fd.tickets () openocd ! p ! sourceforge ! net
[Download RAW message or body]
[Attachment #2 (multipart/related)]
--===============2221630503553289018==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Seems like it is fixed now. I was able to successfully load a configuration onto the \
FPGA. However, I had to manually make the changes to the latest git revision; not \
sure what is up with that.
---
** [tickets:#102] Segfault in SVF module**
**Status:** new
**Milestone:** 0.9.0
**Labels:** svf
**Created:** Wed Jul 29, 2015 07:58 PM UTC by Alex Forencich
**Last Updated:** Thu Jul 30, 2015 09:03 AM UTC
**Owner:** nobody
I am getting a segfault when attempting to program a Xilinx Virtex 6 FPGA via an SVF \
file. I attempted to use XSVF as well, but openocd xsvf support is broken.
This is the output I get leading up to the segfault:
svf processing file: "fpga.svf"
TRST OFF;
ENDIR IDLE;
ENDDR IDLE;
STATE RESET;
STATE IDLE;
FREQUENCY 1E6 HZ;
adapter speed: 1000 kHz
TIR 0 ;
HIR 0 ;
TDR 0 ;
HDR 0 ;
TIR 0 ;
HIR 0 ;
HDR 0 ;
TDR 0 ;
SIR 10 TDI (03c9) SMASK (03ff) ;
SDR 32 TDI (00000000) SMASK (ffffffff) TDO (f42a8093) MASK (0fffffff) ;
TIR 0 ;
HIR 0 ;
TDR 0 ;
HDR 0 ;
TIR 0 ;
HIR 0 ;
TDR 0 ;
HDR 0 ;
TIR 0 ;
HIR 0 ;
HDR 0 ;
TDR 0 ;
SIR 10 TDI (03c9) ;
SDR 32 TDI (00000000) TDO (f42a8093) ;
SIR 10 TDI (03ff) ;
SIR 10 TDI (03cb) ;
SIR 10 TDI (03d4) ;
RUNTEST 100000 TCK;
SIR 10 TDI (03d4) TDO (0010) MASK (0010) ;
SIR 10 TDI (03c5) TDO (0000) MASK (0000) ;
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) \
; Segmentation fault (core dumped)
Note that the SVF file is about 60 MB. This error probably stems from a 243,000 line \
SDR instruction (SDR 119784640 TDI (0000000400000004...60MB snip...fffffffffff) ; )
---
Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is subscribed \
to https://sourceforge.net/p/openocd/tickets/
To unsubscribe from further messages, a project admin can change settings at \
https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing \
list, you can unsubscribe from the mailing list.
--===============2221630503553289018==
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit
<div class="markdown_content"><p>Seems like it is fixed now. I was able to \
successfully load a configuration onto the FPGA. However, I had to manually make the \
changes to the latest git revision; not sure what is up with that.<br /> </p>
<hr />
<p><strong> <a class="alink" \
href="http://sourceforge.net/p/openocd/tickets/102">[tickets:#102]</a> Segfault in \
SVF module</strong></p> <p><strong>Status:</strong> new<br />
<strong>Milestone:</strong> 0.9.0<br />
<strong>Labels:</strong> svf <br />
<strong>Created:</strong> Wed Jul 29, 2015 07:58 PM UTC by Alex Forencich<br />
<strong>Last Updated:</strong> Thu Jul 30, 2015 09:03 AM UTC<br />
<strong>Owner:</strong> nobody</p>
<p>I am getting a segfault when attempting to program a Xilinx Virtex 6 FPGA via an \
SVF file. I attempted to use XSVF as well, but openocd xsvf support is broken.<br /> \
</p> <p>This is the output I get leading up to the segfault:</p>
<p>svf processing file: "fpga.svf"<br />
TRST OFF;<br />
ENDIR IDLE;<br />
ENDDR IDLE;<br />
STATE RESET;<br />
STATE IDLE;<br />
FREQUENCY 1E6 HZ;<br />
adapter speed: 1000 kHz<br />
TIR 0 ;<br />
HIR 0 ;<br />
TDR 0 ;<br />
HDR 0 ;<br />
TIR 0 ;<br />
HIR 0 ;<br />
HDR 0 ;<br />
TDR 0 ;<br />
SIR 10 TDI (03c9) SMASK (03ff) ;<br />
SDR 32 TDI (00000000) SMASK (ffffffff) TDO (f42a8093) MASK (0fffffff) ;<br />
TIR 0 ;<br />
HIR 0 ;<br />
TDR 0 ;<br />
HDR 0 ;<br />
TIR 0 ;<br />
HIR 0 ;<br />
TDR 0 ;<br />
HDR 0 ;<br />
TIR 0 ;<br />
HIR 0 ;<br />
HDR 0 ;<br />
TDR 0 ;<br />
SIR 10 TDI (03c9) ;<br />
SDR 32 TDI (00000000) TDO (f42a8093) ;<br />
SIR 10 TDI (03ff) ;<br />
SIR 10 TDI (03cb) ;<br />
SIR 10 TDI (03d4) ;<br />
RUNTEST 100000 TCK;<br />
SIR 10 TDI (03d4) TDO (0010) MASK (0010) ;<br />
SIR 10 TDI (03c5) TDO (0000) MASK (0000) ;<br />
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff \
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) \
;<br /> Segmentation fault (core dumped)</p>
<p>Note that the SVF file is about 60 MB. This error probably stems from a 243,000 \
line SDR instruction (SDR 119784640 TDI (0000000400000004...60MB snip...fffffffffff) \
; )</p> <hr />
<p>Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is \
subscribed to <a href="https://sourceforge.net/p/openocd/tickets">https://sourceforge.net/p/openocd/tickets/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a \
href="https://sourceforge.net/p/openocd/admin/tickets/options.">https://sourceforge.net/p/openocd/admin/tickets/options.</a> \
Or, if this is a mailing list, you can unsubscribe from the mailing \
list.</p></div>
--===============2221630503553289018==--
------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic