It is head, rev 1672

The first idscan succeds, but the IR check fails

Debug output is:
====================================
Starting program: 
/home/lundin/delad/arbete/mikrop/arm/openocd/trunk/src/openocd
Open On-Chip Debugger 0.2.0-in-development (2009-05-08-12:06) svn:1672M


BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS


$URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
500 kHz
500 kHz
Info : J-Link ARM V8 compiled Mar 27 2009 16:41:15
Info : JLink caps 0x39ff7bbf
Info : JLink max mem block 9744
Info : Vref = 3.293 TCK = 1 TDI = 0 TDO = 1 TMS = 0 SRST = 1 TRST = 1

Info : J-Link JTAG Interface ready
Info : JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (Manufacturer: 
0x23b, Part: 0xba00, Version: 0x3)
Info : JTAG Tap/device matched
Info : JTAG tap: stm32.bs tap/device found: 0x16410041 (Manufacturer: 
0x020, Part: 0x6410, Version: 0x1)
Info : JTAG Tap/device matched



Øyvind Harboe wrote:
> On Fri, May 8, 2009 at 2:29 PM, Magnus Lundin <[email protected]> wrote:
>   
>> Øyvind Harboe wrote:
>>     
>>> I've committed a file testing/profile.txt. I'll see about breaking out
>>> an stm32 to test against too.
>>>
>>> It would be interesting if you could test the flush_count feature
>>> on 1606 & latest to see  if flush count and time spent is
>>> proportional.
>>>
>>>
>>>       
>> And I can tell you what you will find :)
>>     
>
> is this w/1606?
>
>   
>> Segfault
>>
>> (gdb) backtrace
>> #0 0x080a2ea4 in buf_cpy (from=0x8149460 "\001", to=0x1 <Address 0x1 out of
>> bounds>, size=5) at binarybuffer.c:65
>> #1 0x080988bb in jtag_read_buffer (buffer=0x8149450 "\021�Z",
>> cmd=0xb7ed2014) at jtag.c:1329
>> #2 0x080a1be9 in jlink_tap_execute () at jlink.c:760
>> #3 0x080a1ef2 in jlink_execute_queue () at jlink.c:255
>> #4 0x08097b13 in interface_jtag_execute_queue () at jtag.c:1437
>> #5 0x08097b82 in jtag_execute_queue_noclear () at jtag.c:1454
>> #6 0x08098702 in jtag_check_value_mask (field=0xbfffe9c8, value=0x8143708
>> "\001", mask=0x8143718 "\017") at jtag.c:1403
>> #7 0x080994f8 in jtag_add_ir_scan (num_fields=1, fields=0xbfffe9c8,
>> state=TAP_INVALID) at jtag.c:577
>> #8 0x0805d693 in arm_jtag_set_instr (jtag_info=0x81451cc, new_instr=10,
>> no_verify_capture=0x0) at arm_jtag.c:61
>> #9 0x0807daa1 in adi_jtag_dp_scan_u32 (jtag_info=0x81451cc, instr=10 '\n',
>> reg_addr=4 '\004', RnW=1 '\001', outvalue=0, invalue=0x0, ack=0x0) at
>> arm_adi_v5.c:110
>> #10 0x0807dc29 in scan_inout_check_u32 (swjdp=0x8145228, instr=<value
>> optimized out>, reg_addr=<value optimized out>, RnW=<value optimized out>,
>> outvalue=0,
>> invalue=0xbfffeb00) at arm_adi_v5.c:163
>> #11 0x0807dce8 in dap_dp_read_reg (swjdp=0x8145228, value=0xbfffeb00,
>> reg_addr=<value optimized out>) at arm_adi_v5.c:293
>> #12 0x0807de2c in ahbap_debugport_init (swjdp=0x8145228) at arm_adi_v5.c:962
>> #13 0x0807a6bd in cortex_m3_examine (target=0x8143e80) at cortex_m3.c:1440
>> #14 0x0804ea5b in target_examine () at target.c:468
>> #15 0x08049fb3 in handle_init_command (cmd_ctx=0x812a008, cmd=0x8138060
>> "init", args=0x813a044, argc=0) at openocd.c:153
>> #16 0x080a519c in run_command (context=0x812a008, c=0x8138080,
>> words=0x813a040, num_words=1) at command.c:402
>> #17 0x080a546a in script_command (interp=0x812a020, argc=1, argv=0xbfffec70)
>> at command.c:129
>> #18 0x080b4c02 in Jim_EvalObj (interp=0x812a020, scriptObjPtr=0x8139f80) at
>> jim.c:8716
>> #19 0x080b4c02 in Jim_EvalObj (interp=0x812a020, scriptObjPtr=0x813a0f8) at
>> jim.c:8716
>> #20 0x080ba0ff in Jim_CatchCoreCommand (interp=0x812a020, argc=2,
>> argv=0xbfffedc0) at jim.c:11421
>> #21 0x080b4c02 in Jim_EvalObj (interp=0x812a020, scriptObjPtr=0x813a208) at
>> jim.c:8716
>> #22 0x080b6283 in Jim_EvalExpression (interp=0x812a020,
>> exprObjPtr=0x8140918, exprResultPtrPtr=0xbfffef1c) at jim.c:6935
>> #23 0x080b7001 in Jim_GetBoolFromExpr (interp=0x812a020,
>> exprObjPtr=0x8140918, boolPtr=0xbfffef58) at jim.c:7218
>> #24 0x080bce44 in Jim_IfCoreCommand (interp=0x812a020, argc=5,
>> argv=0xbfffefc0) at jim.c:10305
>> #25 0x080b4c02 in Jim_EvalObj (interp=0x812a020, scriptObjPtr=0x81384b0) at
>> jim.c:8716
>> #26 0x080b52cb in JimCallProcedure (interp=0x812a020, cmd=0x8138658, argc=0,
>> argv=0xbffff0b0) at jim.c:8865
>> #27 0x080b4fa6 in Jim_EvalObj (interp=0x812a020, scriptObjPtr=0x8138430) at
>> jim.c:8722
>> #28 0x080b5d62 in Jim_Eval_Named (interp=0x812a020, script=0x80ecb7a "init",
>> filename=0x80fdcc6 "command.c", lineno=456) at jim.c:8909
>> #29 0x080a50bd in command_run_line (context=0x812a008, line=0x80ecb7a
>> "init") at command.c:456
>> #30 0x08049ed0 in openocd_main (argc=1, argv=0xbffff324) at openocd.c:288
>> #31 0x08049c02 in main (argc=Cannot access memory at address 0x1
>> ) at main.c:39
>> (gdb) Quit
>>
>> STM32 + JLink
>>
>> /M
>>
>>     
>
>
>
>   

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to