Загрузка данных
я запускаю так:
west debugserver -r pyocd --build-dir build_rt1024/build_pjsip/
-- west debugserver: rebuilding
ninja: no work to do.
-- west debugserver: using runner pyocd
-- runners.pyocd: pyOCD GDB server running on port 3333
0001100 I Target type is mimxrt1024 [board]
0001178 I DP IDR = 0x0bd11477 (v1 MINDP rev0) [dap]
0001290 I AHB-AP#0 IDR = 0x04770041 (AHB-AP var4 rev0) [discovery]
0001320 I AHB-AP#0 Class 0x1 ROM table #0 @ 0xe00fd000 (designer=00e:NXP part=88c) [rom_table]
0001327 I [0]<e00fe000:ROM class=1 designer=43b:Arm part=4c8> [rom_table]
0001327 I AHB-AP#0 Class 0x1 ROM table #1 @ 0xe00fe000 (designer=43b:Arm part=4c8) [rom_table]
0001336 I [0]<e00ff000:ROM class=1 designer=43b:Arm part=4c7> [rom_table]
0001336 I AHB-AP#0 Class 0x1 ROM table #2 @ 0xe00ff000 (designer=43b:Arm part=4c7) [rom_table]
0001346 I [0]<e000e000:SCS v7-M class=14 designer=43b:Arm part=00c> [rom_table]
0001349 I [1]<e0001000:DWT v7-M class=14 designer=43b:Arm part=002> [rom_table]
0001353 I [2]<e0002000:FPB v7-M class=14 designer=43b:Arm part=00e> [rom_table]
0001358 I [3]<e0000000:ITM v7-M class=14 designer=43b:Arm part=001> [rom_table]
0001366 I [1]<e0041000:ETM M7 class=9 designer=43b:Arm part=975 devtype=13 archid=4a13 devid=0:0:0> [rom_table]
0001378 I [2]<e0042000:CTI CS-400 class=9 designer=43b:Arm part=906 devtype=14 archid=0000 devid=40800:0:0> [rom_table]
0001389 I [1]<e0040000:TPIU M7 class=9 designer=43b:Arm part=9a9 devtype=11 archid=0000 devid=ca1:0:0> [rom_table]
0001393 I [2]<e0043000:TSGEN class=15 designer=43b:Arm part=101> [rom_table]
0001399 I IMXRT Boot Mode: Internal Boot [target_imxrt]
0001413 I CPU core #0: Cortex-M7 r1p1, v7.0-M architecture [cortex_m]
0001413 I Extensions: [DSP, FPU, FPU_DP, FPU_V5, MPU] [cortex_m]
0001413 I FPU present: FPv5-D16-M [cortex_m]
0001506 I 4 hardware watchpoints [dwt]
0001513 I 8 hardware breakpoints, 1 literal comparators [fpb]
0001580 I Semihost server started on port 4444 (core 0) [server]
0002852 I GDB server started on port 3333 (core 0) [gdbserver]
0048116 I Client connected to port 3333! [gdbserver]
0048314 I Attempting to load RTOS plugins [gdbserver]
(.venv) vovan@localhost:~/ZEPHYR_RTOS/zephyrproject/zephyr> west debug -r pyocd --build-dir build_rt1024/build_pjsip
-- west debug: rebuilding
ninja: no work to do.
-- west debug: using runner pyocd
-- runners.pyocd: pyOCD GDB server running on port 3333
GNU gdb (Zephyr SDK 0.16.3) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "--host=x86_64-build_pc-linux-gnu --target=arm-zephyr-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://github.com/zephyrproject-rtos/sdk-ng/issues>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from build_rt1024/build_pjsip/zephyr/zephyr.elf...
Remote debugging using :3333
arch_system_halt (reason=reason@entry=20) at /home/vovan/ZEPHYR_RTOS/zephyrproject/zephyr/kernel/fatal.c:30
30 for (;;) {
Successfully halted device
Resetting target
Loading section rom_start, size 0x2278 lma 0x80000000
0001090 I Target type is mimxrt1024 [board]
0001101 C Unable to claim interface for probe 0238000030f6a44000000000000000000000000097969905 [__main__]
Loading section text, size 0xec874 lma 0x80002280