Hi,
thanks a lot. Very fast reaction on this list! The openocd web site
suggest forum for bug report...
I attach here start of the svf file (if mail attachment work on this
mailing list...)
Native raspberry driver? How do I do that? another -f interface?
By the way there is a typo in the SysfsGPIO message:
sudo openocd -f interface/sysfsgpio-raspberrypi.cfg
Open On-Chip Debugger 0.8.0-dev-00131-gf4943ac (2013-09-03-16:56)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
SysfsGPIO nums: tck = 11, tms = 25, tdi = 10, tdi = 9
SysfsGPIO num: trst = 7
Should read:
SysfsGPIO nums: tck = 11, tms = 25, tdi = 10, tdo = 9
SysfsGPIO num: trst = 7
Then it continue like that (see that message that I get from openocd for
some reason is not the full contains of svf file at the crash place)
Info : SysfsGPIO JTAG bitbang driver
Info : This adapter doesn't support configurable speed
Warn : There are no enabled taps. AUTO PROBING MIGHT NOT WORK!!
Warn : AUTO auto0.tap - use "jtag newtap auto0 tap -expected-id
0x1ba141cf ..."
Warn : AUTO auto0.tap - use "... -irlen 2"
Warn : gdb services need one or more targets defined
Info : accepting 'telnet' connection from 4444
TapName Enabled IdCode Expected IrLen IrCap IrMask
-- ------------------- -------- ---------- ---------- ----- ----- ------
0 auto0.tap Y 0x1ba141cf 0x1ba141cf 2 0x01 0x03
open("180_svf/FRONTEND_MODULE_180_VERIFY.svf"): No such file or directory
svf svf [-tap device.tap] <file> [quiet] [nil] [progress]
xsvf (tapname|'plain') filename ['virt2'] ['quiet']
in procedure 'svf'
svf processing file: "FRONTEND_MODULE_180_VERIFY.svf"
FREQUENCY 4E6 HZ;
Error: Translation from khz to jtag_speed not implemented
in procedure 'adapter_khz'
STATE RESET;
RUNTEST IDLE 5 TCK;
ENDIR IRPAUSE;
ENDDR DRPAUSE;
SIR 8 TDI(0F);
SDR 32 TDI(00000000);
STATE IDLE;
RUNTEST IDLE 1 TCK;
SDR 32 TDI(00000000) TDO(03A141CF) MASK(06FFFFFF);
ENDIR IRPAUSE;
ENDDR DRPAUSE;
SIR 8 TDI(7F);
STATE IDLE;
RUNTEST IDLE 3 TCK;
STATE IDLE;
RUNTEST IDLE 50E-6 SEC;
ENDIR IRPAUSE;
ENDDR DRPAUSE;
SIR 8 TDI(01);
924924924924924924924924924924924);
*** glibc detected *** openocd: malloc(): memory corruption: 0x00521808 ***
On 09/10/2013 11:39 AM, Paul Fertser wrote:
> Hi,
>
> On Tue, Sep 10, 2013 at 11:11:43AM +0200, Nicolas Produit wrote:
>> this is my first mail to this list so sorry if I do something wrong.
>> I posted a bug report on sparkfun openocd forum but did not get a lot of
>> answers there...
>> https://forum.sparkfun.com/viewtopic.php?f=18&t=36484&e=0
>
> Heh, I personally wouldn't read any webforums looking for OpenOCD
> bugs, same about some of the developers, this place is the right
> medium to discuss issues.
>
> Please send at least the beginning of your SVF file to the list for
> investigation in a way that wouldn't mangle it anyhow.
>
> I'm almost sure we'll make it work rather soon and you'll get rid of
> that windows machine :)
>
> Also, using native raspberrypi driver should allow for considerably
> faster flashing than the sysfs driver.
>
--
Nicolas Produit
ISDC, Data Centre for Astrophysics Phone:+41 22 379 2140
16, Chemin d'Ecogia Fax: +41 22 379 2133
CH-1290 Versoix www: http://isdc.unige.ch/~produit
!#ACTION VERIFY_ARRAY;
!#PROCEDURE VERIFY_IDCODE
!# PROC_PRELOAD
!# PROC_ENABLE
!# DO_VERIFY_EOL
!# DO_VERIFY_RLOCK
!# DO_EXIT;
!#SVF_PATH
C:\Users\polar\flash\fe\FRONTEND_MODULE_180_svf\FRONTEND_MODULE_180_VERIFY_ARRAY.svf;
!#Programming Mode Single;
!#CREATOR FlashPro Version: v11.1 SP1;
!#CAPTURE 11.1.1.101;
!#DEVICE AGL250V2;
!#PACKAGE AGL250V2-cs196;
!#DATE 2013/09/06;
!#TIME 14:19:17;
!#STAPL_VERSION JESD71;
!#VENDOR Microsemi Corporation;
!#IDCODE 03A141CF;
!#IDMASK 06FFFFFF;
!#DESIGN FRONTEND_MODULE;
!#DESIGN_DIRECTORY
/home/pol/polar_svn/firmware/obox/frontend_alb/firmware/designer/impl1/;
!#CHECKSUM 4568;
!#SECURITY Disable;
!#ALG_VERSION 20;
!#MAP_VERSION 1;
!#TOOL_VERSION 1;
!#MAX_FREQ 10000000;
!#SILSIG 00000000;
!#SPEED_GRAD STD;
!#TEMP_GRAD IND;
!#PLAYER_VERSION_VARIABLE PLAYERVERSIONVARIABLE;
!#PLAYER_VERSION_SW_VARIABLE PLAYERVERSIONSWVARIABLE;
FREQUENCY 4E6 HZ;
STATE RESET;
RUNTEST IDLE 5 TCK;
ENDIR IRPAUSE;
ENDDR DRPAUSE;
SIR 8 TDI(0F);
SDR 32 TDI(00000000);
STATE IDLE;
RUNTEST IDLE 1 TCK;
SDR 32 TDI(00000000) TDO(03A141CF) MASK(06FFFFFF);
ENDIR IRPAUSE;
ENDDR DRPAUSE;
SIR 8 TDI(7F);
STATE IDLE;
RUNTEST IDLE 3 TCK;
STATE IDLE;
RUNTEST IDLE 50E-6 SEC;
ENDIR IRPAUSE;
ENDDR DRPAUSE;
SIR 8 TDI(01);
SDR 708 TDI(92492492492492492492492492492492492492492492492492492492492492492492
4924924924924924924924924924924924924924924924924924924924924924924924924924
924924924924924924924924924924924);
STATE IDLE;
RUNTEST IDLE 1 TCK;
...
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel