Re: [OpenOCD-devel] OpenOCD SVF player buffer limitation

2013-11-13 Thread Andreas Fritiofson
On Wed, Nov 13, 2013 at 5:05 PM, Paul Fertser wrote: > Hi, > > On Mon, Nov 11, 2013 at 02:35:03PM +0100, Andreas Fritiofson wrote: > > On Mon, Nov 11, 2013 at 2:22 PM, Paul Fertser <[1]fercer...@gmail.com> > wrote: > > > > It has an SDR 33065440 bits long (4133180 bytes) and so the "buffer is >

Re: [OpenOCD-devel] OpenOCD SVF player buffer limitation

2013-11-13 Thread Jens Bauer
Hi Paul. On Wed, 13 Nov 2013 20:29:45 +0400, Paul Fertser wrote: > On Mon, Nov 11, 2013 at 02:55:11PM +0100, Jens Bauer wrote: >> I know on some systems, malloc can't handle buffers larger than 1MB. > > Do you mean some embedded ones? Still that limitation sounds way too > strange for any memory

Re: [OpenOCD-devel] OpenOCD SVF player buffer limitation

2013-11-13 Thread Paul Fertser
Hi Jens, On Mon, Nov 11, 2013 at 02:55:11PM +0100, Jens Bauer wrote: > I know on some systems, malloc can't handle buffers larger than 1MB. Do you mean some embedded ones? Still that limitation sounds way too strange for any memory allocator I can think of. > But sometimes I also use daisy-chain

Re: [OpenOCD-devel] OpenOCD SVF player buffer limitation

2013-11-13 Thread Paul Fertser
Hi, On Mon, Nov 11, 2013 at 02:35:03PM +0100, Andreas Fritiofson wrote: > On Mon, Nov 11, 2013 at 2:22 PM, Paul Fertser <[1]fercer...@gmail.com> wrote: > > It has an SDR 33065440 bits long (4133180 bytes) and so the "buffer is > not enough, report to author" message is output. > > What was

Re: [OpenOCD-devel] OpenOCD SVF player buffer limitation

2013-11-11 Thread Jens Bauer
Hi Andreas, Paul and Simon. On Mon, 11 Nov 2013 14:35:03 +0100, Andreas Fritiofson wrote: > On Mon, Nov 11, 2013 at 2:22 PM, Paul Fertser wrote: >> What was the reason you commented out realloc() code initially, are >> there any gotchas that should be taken into account? > > I haven't looked at

Re: [OpenOCD-devel] OpenOCD SVF player buffer limitation

2013-11-11 Thread Andreas Fritiofson
On Mon, Nov 11, 2013 at 2:22 PM, Paul Fertser wrote: > It has an SDR 33065440 bits long (4133180 bytes) and so the "buffer is > not enough, report to author" message is output. > > What was the reason you commented out realloc() code initially, are > there any gotchas that should be taken into ac

[OpenOCD-devel] OpenOCD SVF player buffer limitation

2013-11-11 Thread Paul Fertser
Hi, First of all, thank you for the SVF player, it seems many people around the globe enjoy using it. Out of curiousity I got an SVF file for the largest FPGA around here at $dayjob (targetting XC4VFX100) and tried playing it back with OpenOCD. It has an SDR 33065440 bits long (4133180 bytes) an