Hi,
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
I think it is a clear memory corruption problem in openocd.
I find reallocate calls only in the parser of the SVF file
so probably it is a feature of my svf file that was not foreseen.
I can help debugging but I need some help and advise. There is a little
bit of too many new things at the same time (debugginig on a raspberry,
openocd itself, I have zero knowledge of svf language)
What I do on the raspberry is:
sudo openocd -f interface/sysfsgpio-raspberrypi.cfg
then from another terminal on the raspberry:
telnet localhost 4444
scan_chain
svf <the svf file>
I don't know how to declare my target (igloo fpga) but it seems to me
that an atomatic tap is found by scan_chain.
I attach here the start of the svf file that create the crash (my mailer
is rewrapping the lines, in fact this can be a problem for this bug):
!#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;
ENDIR IRPAUSE;
ENDDR DRPAUSE;
SIR 8 TDI(C0);
...

Crash is at SDR 708 TDI(92...
line
In fact mailer rewrapped those lines.
The left of those lines look like that on my screen:
SDR 708 TDI(9249
    492492492492
    924924924924
    STATE IDLE;
RUNTEST IDLE 1 TCK;


Thanks

-- 
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

------------------------------------------------------------------------------
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

Reply via email to