And the real debug output.

On 2 May 2012 19:01, Akos Vandra <axo...@gmail.com> wrote:
> Hi!
>
> As I've already mentioned, I also had trouble with getting rtos support 
> working.
> I just got around to try it out again. I'm still getting a segfault
> when after starting the debug session from eclipse.
>
> Attached are the configuration files and the openocd debug_level 3 output.
>
> As you can probably see from the configuration files, I am using NXP's
> lpc1758 device, with FreeRTOS, and a couple of (~4) tasks.
> The segfault occurs when I start the debug session from eclipse.
>
> As I wrote this email, I solved the issue, but I will post this mail
> to the list nonetheless.
> The problem was that I started the debug session without uploading the
> code to the controller, so the code on the controller and the elf file
> were not in sync.
> There is not really much to do in such a case, but it should not cause
> a segfault IMHO
>
> Regards,
>  Ákos Vandra
>
>
>
> On 27 April 2012 06:35, Paul Fertser <fercer...@gmail.com> wrote:
>> Morning,
>>
>> On Thu, Apr 26, 2012 at 11:01:49PM +0200, Freddie Chopin wrote:
>>> W dniu 2012-04-26 22:07, Paul Fertser pisze:
>>>> On Thu, Apr 26, 2012 at 09:56:23PM +0200, Freddie Chopin wrote:
>>>>> 1. I cannot make RTOS support work
>>>>
>>>> This's with eclipse i assume and that requires working without Eclipse
>>>> first.
>>>
>>> Well, it still leaves the issue of OpenOCD not detecting anything (not
>>> reporting FreeRTOS), or maybe you see some underlying condition that
>>> links these two issues... I don't know (; It just works perfectly
>>> perfect via Eclipse (not counting the RTOS thing)...
>>
>> Since i have no idea how exactly Eclipse interacts with gdb (and i do
>> not think i was able to find any decent documentation about the topic)
>> i assume that it passes some questionable unneeded commands that might
>> prevent RTOS support from working.
>>
>> And since i know for sure that my bare gdb config works for the
>> purpose, i come to the conclusion that Eclipse is doing something
>> strange and you never hit some RTOS-specific codepath that leads to
>> OpenOCD's segfault while with the correct config you do. Apparently,
>> there's still some nasty bug left but to debug it one needs to see the
>> backtrace.
>>
>> If you're going to try copying the unstripped binary and the sources
>> from your GNU/Linux system you'll most probably need to put the
>> sources at exactly the same path as they were for gdb to be able to
>> find them (should be possible with mingw).
>>
>> HTH
>> --
>> Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
>> mailto:fercer...@gmail.com
Open On-Chip Debugger 0.5.0-dev-g2780cba-dirty (2012-04-13-23:33)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
User : 11 3 command.c:557 command_print(): debug_level: 3
Debug: 12 3 configuration.c:87 find_file(): found 
/home/akos/Downloads/openocd-libswd-git7/libswd/tcl//interface/iqprogrammer.cfg
Debug: 13 3 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_interface ft2232
Debug: 14 3 command.c:151 script_debug(): command - interface ocd_interface 
ft2232
Debug: 16 3 command.c:364 register_command_handler(): registering 
'ocd_ft2232_device_desc'...
Debug: 17 3 command.c:364 register_command_handler(): registering 
'ocd_ft2232_serial'...
Debug: 18 3 command.c:364 register_command_handler(): registering 
'ocd_ft2232_layout'...
Debug: 19 3 command.c:364 register_command_handler(): registering 
'ocd_ft2232_vid_pid'...
Debug: 20 3 command.c:364 register_command_handler(): registering 
'ocd_ft2232_latency'...
Info : 21 4 transport.c:136 allow_transports(): only one transport option; 
autoselect 'jtag'
Debug: 22 4 command.c:364 register_command_handler(): registering 
'ocd_jtag_flush_queue_sleep'...
Debug: 23 4 command.c:364 register_command_handler(): registering 
'ocd_jtag_rclk'...
Debug: 24 4 command.c:364 register_command_handler(): registering 
'ocd_jtag_ntrst_delay'...
Debug: 25 4 command.c:364 register_command_handler(): registering 
'ocd_jtag_ntrst_assert_width'...
Debug: 26 4 command.c:364 register_command_handler(): registering 
'ocd_scan_chain'...
Debug: 27 4 command.c:364 register_command_handler(): registering 
'ocd_jtag_reset'...
Debug: 28 4 command.c:364 register_command_handler(): registering 
'ocd_runtest'...
Debug: 29 4 command.c:364 register_command_handler(): registering 
'ocd_irscan'...
Debug: 30 4 command.c:364 register_command_handler(): registering 
'ocd_verify_ircapture'...
Debug: 31 4 command.c:364 register_command_handler(): registering 
'ocd_verify_jtag'...
Debug: 32 4 command.c:364 register_command_handler(): registering 
'ocd_tms_sequence'...
Debug: 33 4 command.c:364 register_command_handler(): registering 
'ocd_wait_srst_deassert'...
Debug: 34 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 35 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 36 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 37 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 38 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 39 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 40 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 41 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 42 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 43 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 44 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 45 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 46 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 47 4 command.c:364 register_command_handler(): registering 'ocd_svf'...
Debug: 48 4 command.c:364 register_command_handler(): registering 'ocd_xsvf'...
Debug: 49 4 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_ft2232_layout ktlink_jtag
Debug: 50 4 command.c:151 script_debug(): command - ft2232_layout 
ocd_ft2232_layout ktlink_jtag
Debug: 52 4 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_ft2232_vid_pid 0x0403 0x6010
Debug: 53 4 command.c:151 script_debug(): command - ft2232_vid_pid 
ocd_ft2232_vid_pid 0x0403 0x6010
Debug: 55 4 configuration.c:87 find_file(): found 
/home/akos/Downloads/openocd-libswd-git7/libswd/tcl//target/lpc1768.cfg
Debug: 56 5 configuration.c:87 find_file(): found 
/home/akos/Downloads/openocd-libswd-git7/libswd/tcl//target/swj-dp.tcl
Debug: 57 5 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_adapter_nsrst_delay 200
Debug: 58 5 command.c:151 script_debug(): command - adapter_nsrst_delay 
ocd_adapter_nsrst_delay 200
User : 60 5 command.c:557 command_print(): adapter_nsrst_delay: 200
Debug: 61 5 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_swd newtap lpc1768 cpu -irlen 4 -ircapture 0x1 -irmask 0xf 
-expected-id 0x4ba00477
Debug: 62 5 command.c:151 script_debug(): command - ocd_swd ocd_swd newtap 
lpc1768 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x4ba00477
Debug: 63 5 tcl.c:575 jim_newtap_cmd(): Creating New Tap, Chip: lpc1768, Tap: 
cpu, Dotted: lpc1768.cpu, 8 params
Debug: 64 5 tcl.c:592 jim_newtap_cmd(): Processing option: -irlen
Debug: 65 5 tcl.c:592 jim_newtap_cmd(): Processing option: -ircapture
Debug: 66 5 tcl.c:592 jim_newtap_cmd(): Processing option: -irmask
Debug: 67 5 tcl.c:592 jim_newtap_cmd(): Processing option: -expected-id
Debug: 68 5 core.c:1337 jtag_tap_init(): Created Tap: lpc1768.cpu @ abs 
position 0, irlen 4, capture: 0x1 mask: 0xf
Debug: 69 5 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_target create lpc1768.cpu cortex_m3 -chain-position lpc1768.cpu
Debug: 70 5 command.c:151 script_debug(): command - ocd_target ocd_target 
create lpc1768.cpu cortex_m3 -chain-position lpc1768.cpu
Debug: 71 5 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 72 5 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 73 5 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 74 5 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 75 5 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 76 5 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 77 5 command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 78 5 command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 79 6 command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 80 6 command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 81 6 command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 82 6 command.c:364 register_command_handler(): registering 
'ocd_cortex_m3'...
Debug: 83 6 command.c:364 register_command_handler(): registering 
'ocd_cortex_m3'...
Debug: 84 6 command.c:364 register_command_handler(): registering 
'ocd_cortex_m3'...
Debug: 85 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 86 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 87 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 88 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 89 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 90 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 91 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 92 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 93 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 94 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 95 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 96 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 97 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 98 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 99 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 100 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 101 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 102 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 103 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 104 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 105 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 106 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 107 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 108 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 109 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 110 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 111 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 112 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 113 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 114 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 115 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 116 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 117 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 118 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 119 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 120 6 command.c:364 register_command_handler(): registering 
'ocd_lpc1768.cpu'...
Debug: 121 6 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_lpc1768.cpu configure -work-area-phys 0x10000000 -work-area-size 0x8000
Debug: 122 7 command.c:151 script_debug(): command - ocd_lpc1768.cpu 
ocd_lpc1768.cpu configure -work-area-phys 0x10000000 -work-area-size 0x8000
Debug: 123 7 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_flash bank lpc1768.flash lpc2000 0x0 0x80000 0 0 lpc1768.cpu lpc1700 
4000 calc_checksum
Debug: 124 7 command.c:151 script_debug(): command - ocd_flash ocd_flash bank 
lpc1768.flash lpc2000 0x0 0x80000 0 0 lpc1768.cpu lpc1700 4000 calc_checksum
Debug: 126 7 command.c:364 register_command_handler(): registering 
'ocd_lpc2000'...
Debug: 127 7 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_adapter_khz 10
Debug: 128 7 command.c:151 script_debug(): command - adapter_khz 
ocd_adapter_khz 10
Debug: 130 7 core.c:1639 jtag_config_khz(): handle jtag khz
Debug: 131 7 core.c:1602 adapter_khz_to_speed(): convert khz to interface 
specific speed value
Debug: 132 7 core.c:1602 adapter_khz_to_speed(): convert khz to interface 
specific speed value
User : 133 7 command.c:557 command_print(): 10 kHz
Debug: 134 7 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_lpc1768.cpu configure -event reset-init 
# Do not remap 0x0000-0x0020 to anything but the flash (i.e. select
# "User Flash Mode" where interrupt vectors are _not_ remapped,
# and reside in flash instead).
#
# See Table 612. Memory Mapping Control register (MEMMAP - 0x400F C040) bit 
description
# Bit Symbol Value Description Reset
# value
# 0 MAP Memory map control. 0
# 0 Boot mode. A portion of the Boot ROM is mapped to address 0.
# 1 User mode. The on-chip Flash memory is mapped to address 0.
# 31:1 - Reserved. The value read from a reserved bit is not defined. NA
#
# http://ics.nxp.com/support/documents/microcontrollers/?scope=LPC1768&type=user

mww 0x400FC040 0x01

Debug: 135 7 command.c:151 script_debug(): command - ocd_lpc1768.cpu 
ocd_lpc1768.cpu configure -event reset-init 
# Do not remap 0x0000-0x0020 to anything but the flash (i.e. select
# "User Flash Mode" where interrupt vectors are _not_ remapped,
# and reside in flash instead).
#
# See Table 612. Memory Mapping Control register (MEMMAP - 0x400F C040) bit 
description
# Bit Symbol Value Description Reset
# value
# 0 MAP Memory map control. 0
# 0 Boot mode. A portion of the Boot ROM is mapped to address 0.
# 1 User mode. The on-chip Flash memory is mapped to address 0.
# 31:1 - Reserved. The value read from a reserved bit is not defined. NA
#
# http://ics.nxp.com/support/documents/microcontrollers/?scope=LPC1768&type=user

mww 0x400FC040 0x01

Debug: 136 7 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_adapter_khz 666
Debug: 137 7 command.c:151 script_debug(): command - adapter_khz 
ocd_adapter_khz 666
Debug: 139 7 core.c:1639 jtag_config_khz(): handle jtag khz
Debug: 140 7 core.c:1602 adapter_khz_to_speed(): convert khz to interface 
specific speed value
Debug: 141 7 core.c:1602 adapter_khz_to_speed(): convert khz to interface 
specific speed value
User : 142 7 command.c:557 command_print(): 666 kHz
Debug: 143 7 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_lpc1768.cpu configure -rtos auto
Debug: 144 7 command.c:151 script_debug(): command - ocd_lpc1768.cpu 
ocd_lpc1768.cpu configure -rtos auto
Debug: 145 7 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_init
Debug: 146 8 command.c:151 script_debug(): command - init ocd_init
Debug: 148 8 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_target init
Debug: 149 8 command.c:151 script_debug(): command - ocd_target ocd_target init
Debug: 151 8 target.c:929 handle_target_init_command(): Initializing targets...
Debug: 152 8 command.c:364 register_command_handler(): registering 
'ocd_target_request'...
Debug: 153 8 command.c:364 register_command_handler(): registering 
'ocd_trace'...
Debug: 154 8 command.c:364 register_command_handler(): registering 
'ocd_trace'...
Debug: 155 8 command.c:364 register_command_handler(): registering 
'ocd_fast_load_image'...
Debug: 156 8 command.c:364 register_command_handler(): registering 
'ocd_fast_load'...
Debug: 157 8 command.c:364 register_command_handler(): registering 
'ocd_profile'...
Debug: 158 8 command.c:364 register_command_handler(): registering 
'ocd_virt2phys'...
Debug: 159 8 command.c:364 register_command_handler(): registering 'ocd_reg'...
Debug: 160 8 command.c:364 register_command_handler(): registering 'ocd_poll'...
Debug: 161 8 command.c:364 register_command_handler(): registering 
'ocd_wait_halt'...
Debug: 162 8 command.c:364 register_command_handler(): registering 'ocd_halt'...
Debug: 163 8 command.c:364 register_command_handler(): registering 
'ocd_resume'...
Debug: 164 8 command.c:364 register_command_handler(): registering 
'ocd_reset'...
Debug: 165 8 command.c:364 register_command_handler(): registering 
'ocd_soft_reset_halt'...
Debug: 166 8 command.c:364 register_command_handler(): registering 'ocd_step'...
Debug: 167 8 command.c:364 register_command_handler(): registering 'ocd_mdw'...
Debug: 168 8 command.c:364 register_command_handler(): registering 'ocd_mdh'...
Debug: 169 8 command.c:364 register_command_handler(): registering 'ocd_mdb'...
Debug: 170 8 command.c:364 register_command_handler(): registering 'ocd_mww'...
Debug: 171 8 command.c:364 register_command_handler(): registering 'ocd_mwh'...
Debug: 172 8 command.c:364 register_command_handler(): registering 'ocd_mwb'...
Debug: 173 8 command.c:364 register_command_handler(): registering 'ocd_bp'...
Debug: 174 8 command.c:364 register_command_handler(): registering 'ocd_rbp'...
Debug: 175 8 command.c:364 register_command_handler(): registering 'ocd_wp'...
Debug: 176 8 command.c:364 register_command_handler(): registering 'ocd_rwp'...
Debug: 177 8 command.c:364 register_command_handler(): registering 
'ocd_load_image'...
Debug: 178 8 command.c:364 register_command_handler(): registering 
'ocd_dump_image'...
Debug: 179 8 command.c:364 register_command_handler(): registering 
'ocd_verify_image'...
Debug: 180 8 command.c:364 register_command_handler(): registering 
'ocd_test_image'...
Debug: 181 8 command.c:364 register_command_handler(): registering 
'ocd_reset_nag'...
Debug: 182 8 ft2232.c:2655 ft2232_init(): ft2232 interface using shortest path 
jtag state transitions
Debug: 183 8 ft2232.c:2528 ft2232_init_libftdi(): 'ft2232' interface using 
libftdi with 'ktlink_jtag' layout (0403:6010)
Debug: 184 106 ft2232.c:2575 ft2232_init_libftdi(): current latency timer: 2
Debug: 185 106 ft2232.c:2586 ft2232_init_libftdi(): FTDI chip type: 4 "2232H"
Debug: 186 106 ft2232.c:2612 ft2232_set_data_bits_low_byte(): 80 28 3b
Debug: 187 106 ft2232.c:2632 ft2232_set_data_bits_high_byte(): 82 89 ff
Info : 188 106 ft2232.c:4588 ktlink_init_jtag(): KT-LINK JTAG-Mode 
initialization complete...
Info : 189 106 ft2232.c:845 ft2232h_ft4232h_clk_divide_by_5(): max TCK change 
to: 30000 kHz
Debug: 190 107 core.c:1602 adapter_khz_to_speed(): convert khz to interface 
specific speed value
Debug: 191 107 core.c:1606 adapter_khz_to_speed(): have interface set up
Debug: 192 107 ft2232.c:813 ft2232h_ft4232h_adaptive_clocking(): 97
Debug: 193 107 ft2232.c:874 ft2232_speed(): 86 2c 00
Debug: 194 107 core.c:1602 adapter_khz_to_speed(): convert khz to interface 
specific speed value
Debug: 195 107 core.c:1606 adapter_khz_to_speed(): have interface set up
Info : 196 107 core.c:1421 adapter_init(): clock speed 666 kHz
Debug: 197 107 openocd.c:137 handle_init_command(): Debug Adapter init complete
Debug: 198 107 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_transport init
Debug: 199 107 command.c:151 script_debug(): command - ocd_transport 
ocd_transport init
Debug: 201 107 transport.c:266 handle_transport_init(): handle_transport_init
Debug: 202 107 ft2232.c:4670 ktlink_reset(): trst: 0, srst: 0, high_output: 
0x09, high_direction: 0xff
Debug: 203 107 core.c:713 jtag_add_reset(): SRST line released
Debug: 204 107 core.c:737 jtag_add_reset(): TRST line released
Debug: 205 107 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 206 311 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_jtag arp_init
Debug: 207 311 command.c:151 script_debug(): command - ocd_jtag ocd_jtag 
arp_init
Debug: 208 311 core.c:1435 jtag_init_inner(): Init JTAG chain
Debug: 209 311 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 210 311 core.c:1055 jtag_examine_chain(): DR scan interrogation for 
IDCODE/BYPASS
Debug: 211 311 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Info : 212 313 core.c:955 jtag_examine_chain_display(): JTAG tap: lpc1768.cpu 
tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)
Debug: 213 313 core.c:1219 jtag_validate_ircapture(): IR capture validation scan
Debug: 214 315 core.c:1280 jtag_validate_ircapture(): lpc1768.cpu: IR capture 
0x01
Debug: 215 315 openocd.c:150 handle_init_command(): Examining targets...
Debug: 216 315 arm_adi_v5.c:1086 ahbap_debugport_init():  
Info : 217 315 arm_adi_v5.c:1097 ahbap_debugport_init(): Selecting JTAG 
transport command set.
Info : 218 319 arm_adi_v5.c:1216 ahbap_debugport_init(): AP INIT COMPLETE
Debug: 219 319 arm_adi_v5.c:154 dap_setup_accessport(): DAP: Set CSW a2000012
Debug: 220 319 arm_adi_v5.c:162 dap_setup_accessport(): DAP: Set TAR e000ed00
Debug: 221 321 target.c:1605 target_read_u32(): address: 0xe000ed00, value: 
0x412fc230
Debug: 222 321 cortex_m3.c:1821 cortex_m3_examine(): Cortex-M3 r2p0 processor 
detected
Debug: 223 321 cortex_m3.c:1822 cortex_m3_examine(): cpuid: 0x412fc230
Debug: 224 321 arm_adi_v5.c:162 dap_setup_accessport(): DAP: Set TAR e0002000
Debug: 225 323 target.c:1605 target_read_u32(): address: 0xe0002000, value: 
0x00000261
Debug: 226 323 cortex_m3.c:1839 cortex_m3_examine(): FPB fpcr 0x261, numcode 6, 
numlit 2
Debug: 227 323 arm_adi_v5.c:162 dap_setup_accessport(): DAP: Set TAR e0001000
Debug: 228 325 target.c:1605 target_read_u32(): address: 0xe0001000, value: 
0x40000000
Debug: 229 325 cortex_m3.c:1791 cortex_m3_dwt_setup(): DWT dwtcr 0x40000000, 
comp 4, watch/trigger
Info : 230 325 cortex_m3.c:1848 cortex_m3_examine(): lpc1768.cpu: hardware has 
6 breakpoints, 4 watchpoints
Debug: 231 325 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_flash init
Debug: 232 325 command.c:151 script_debug(): command - ocd_flash ocd_flash init
Debug: 233 325 arm_adi_v5.c:154 dap_setup_accessport(): DAP: Set CSW a2000002
Debug: 234 325 arm_adi_v5.c:162 dap_setup_accessport(): DAP: Set TAR e000edf0
Debug: 236 327 tcl.c:912 handle_flash_init_command(): Initializing flash 
devices...
Debug: 237 327 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 238 327 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 239 327 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 240 327 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 241 327 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 242 327 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 243 327 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 244 327 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 245 327 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 246 327 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 247 327 command.c:364 register_command_handler(): registering 
'ocd_flash'...
Debug: 248 327 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_mflash init
Debug: 249 327 command.c:151 script_debug(): command - ocd_mflash ocd_mflash 
init
Debug: 251 329 mflash.c:1331 handle_mflash_init_command(): Initializing mflash 
devices...
Debug: 252 329 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_nand init
Debug: 253 329 command.c:151 script_debug(): command - ocd_nand ocd_nand init
Debug: 255 331 tcl.c:521 handle_nand_init_command(): Initializing NAND 
devices...
Debug: 256 331 command.c:151 script_debug(): command - ocd_command ocd_command 
type ocd_pld init
Debug: 257 331 command.c:151 script_debug(): command - ocd_pld ocd_pld init
Debug: 259 333 pld.c:232 handle_pld_init_command(): Initializing PLDs...
Info : 260 8006 server.c:80 add_connection(): accepting 'gdb' connection from 
3333
Debug: 261 8006 breakpoints.c:201 breakpoint_clear_target_internal(): Delete 
all breakpoints for target: lpc1768.cpu
Debug: 262 8006 breakpoints.c:356 watchpoint_clear_target(): Delete all 
watchpoints for target: lpc1768.cpu
Debug: 263 8006 target.c:1062 target_call_event_callbacks(): target event 25 
(gdb-attach)
Debug: 264 8006 gdb_server.c:880 gdb_new_connection(): New GDB Connection: 1, 
Target lpc1768.cpu, state: halted
Debug: 265 8006 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qSupported'
Warn : 266 8006 gdb_server.c:654 gdb_get_packet_inner(): acknowledgment 
received, but no packet pending
Debug: 267 8006 gdb_server.c:2200 gdb_input_inner(): received packet: '?'
User : 268 8006 gdb_server.c:130 gdb_last_signal(): undefined debug reason 6 - 
target needs reset
Debug: 269 8006 gdb_server.c:2200 gdb_input_inner(): received packet: 'Hc-1'
Debug: 270 8006 gdb_server.c:2200 gdb_input_inner(): received packet: 'qC'
Debug: 271 8006 gdb_server.c:2200 gdb_input_inner(): received packet: 'qOffsets'
Debug: 272 8006 gdb_server.c:2200 gdb_input_inner(): received packet: 'Hg0'
Debug: 273 8006 gdb_server.c:2200 gdb_input_inner(): received packet: 'g'
Debug: 274 8010 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 0  value 0xa64
Debug: 275 8014 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 1  value 0x0
Debug: 276 8018 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 2  value 0x10000044
Debug: 277 8022 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 3  value 0x0
Debug: 278 8026 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 4  value 0x1000030c
Debug: 279 8030 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 5  value 0xa5a5a5a5
Debug: 280 8034 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 6  value 0xa5a5a5a5
Debug: 281 8038 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 7  value 0xa5a5a5a5
Debug: 282 8042 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 8  value 0xa5a5a5a5
Debug: 283 8046 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 9  value 0xa5a5a5a5
Debug: 284 8050 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 10  value 0xa5a5a5a5
Debug: 285 8054 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 11  value 0xa5a5a5a5
Debug: 286 8058 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 12  value 0xa5a5a5a5
Debug: 287 8062 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 13  value 0x10000a68
Debug: 288 8066 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 14  value 0x6b13
Debug: 289 8070 cortex_m3.c:1473 cortex_m3_load_core_reg_u32(): load from core 
reg 15  value 0x70fc
Debug: 290 8073 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qXfer:memory-map:read::0,fff'
Debug: 291 8074 gdb_server.c:2200 gdb_input_inner(): received packet: 'm70fc,4'
Debug: 292 8074 gdb_server.c:1278 gdb_read_memory_packet(): addr: 0x000070fc, 
len: 0x00000004
Debug: 293 8074 target.c:1443 target_read_buffer(): reading buffer of 4 byte at 
0x000070fc
Debug: 294 8074 arm_adi_v5.c:154 dap_setup_accessport(): DAP: Set CSW a2000012
Debug: 295 8074 arm_adi_v5.c:162 dap_setup_accessport(): DAP: Set TAR 70fc
Debug: 296 8076 arm_adi_v5.c:154 dap_setup_accessport(): DAP: Set CSW a2000002
Debug: 297 8076 arm_adi_v5.c:162 dap_setup_accessport(): DAP: Set TAR e000edf0
Debug: 298 8078 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qSymbol::'
Debug: 299 8078 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qSymbol::5f74785f7468726561645f63757272656e745f707472'
Debug: 300 8078 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qSymbol::5f74785f7468726561645f637265617465645f707472'
Debug: 301 8078 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qSymbol::5f74785f7468726561645f637265617465645f636f756e74'
Debug: 302 8078 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qSymbol:10000774:707843757272656e74544342'
Debug: 303 8078 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qSymbol:1000077c:707852656164795461736b734c69737473'
Debug: 304 8079 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qSymbol:100007ec:7844656c617965645461736b4c69737431'
Debug: 305 8079 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qSymbol:10000800:7844656c617965645461736b4c69737432'
Debug: 306 8079 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qSymbol:100007e4:707844656c617965645461736b4c697374'
Debug: 307 8079 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qSymbol:100007e0:70784f766572666c6f7744656c617965645461736b4c697374'
Debug: 308 8079 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qSymbol:1000074c:7850656e64696e6752656164794c697374'
Debug: 309 8079 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qSymbol:1000081c:785461736b7357616974696e675465726d696e6174696f6e'
Debug: 310 8079 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qSymbol:10000738:7853757370656e6465645461736b4c697374'
Debug: 311 8080 gdb_server.c:2200 gdb_input_inner(): received packet: 
'qSymbol:10000768:757843757272656e744e756d6265724f665461736b73'
Auto-detected RTOS: FreeRTOS
Debug: 313 8080 target.c:1443 target_read_buffer(): reading buffer of 4 byte at 
0x10000768
Debug: 314 8080 arm_adi_v5.c:154 dap_setup_accessport(): DAP: Set CSW a2000012
Debug: 315 8080 arm_adi_v5.c:162 dap_setup_accessport(): DAP: Set TAR 10000768
Debug: 316 8082 target.c:1443 target_read_buffer(): reading buffer of 4 byte at 
0x10000774
Debug: 317 8082 arm_adi_v5.c:162 dap_setup_accessport(): DAP: Set TAR 10000774
Debug: 318 8084 target.c:1443 target_read_buffer(): reading buffer of 4 byte at 
0x1000077c
Debug: 319 8084 arm_adi_v5.c:162 dap_setup_accessport(): DAP: Set TAR 1000077c
Debug: 320 8086 target.c:1443 target_read_buffer(): reading buffer of 4 byte at 
0x1000078c
Debug: 321 8086 arm_adi_v5.c:162 dap_setup_accessport(): DAP: Set TAR 1000078c
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to