Skip to content

Instantly share code, notes, and snippets.

@jonathanpallant
Created July 6, 2023 14:13
Show Gist options
  • Save jonathanpallant/4c5e0ca9b1a5906af07aa525d6206855 to your computer and use it in GitHub Desktop.
Save jonathanpallant/4c5e0ca9b1a5906af07aa525d6206855 to your computer and use it in GitHub Desktop.
probe-rs-cli psoc6 log
RUST_LOG=debug cargo run --release --features=cli --bin probe-rs -- download --chip CY8C624ABZI-S2D44A0 ../app-template/target/thumbv6m-none-eabi/release/hello
Finished release [optimized] target(s) in 0.19s
Running `target/release/probe-rs download --chip CY8C624ABZI-S2D44A0 ../app-template/target/thumbv6m-none-eabi/release/hello`
INFO probe_rs: Writing log to "/Users/jonathan/Library/Application Support/rs.probe-rs.probe-rs/1688652679732.log"
DEBUG probe_rs::config::registry: Searching registry for chip with name CY8C624ABZI-S2D44A0
DEBUG probe_rs::config::registry: Partial match for chip name: CY8C624ABZI-S2D44
DEBUG probe_rs::config::registry: Exact match for chip name: CY8C624ABZI-S2D44A0
DEBUG list_all:list_cmsisdap_devices: probe_rs::probe::cmsisdap::tools: Searching for CMSIS-DAP probes using libusb
DEBUG list_all:list_cmsisdap_devices: probe_rs::probe::cmsisdap::tools: Found 1 CMSIS-DAP probes using libusb, searching HID
DEBUG list_all:list_cmsisdap_devices: probe_rs::probe::cmsisdap::tools: Found 1 CMSIS-DAP probes total
DEBUG list_all:list_jlink_devices: jaylink: libusb 1.0.26.11724
DEBUG list_all:list_jlink_devices: jaylink: libusb has capability API: true
DEBUG list_all:list_jlink_devices: jaylink: libusb has HID access: false
DEBUG list_all:list_jlink_devices: jaylink: libusb has hotplug support: true
DEBUG list_all:list_jlink_devices: jaylink: libusb can detach kernel driver: true
DEBUG open: probe_rs::probe::cmsisdap::tools: Opening 04b4:f155 in CMSIS-DAPv2 mode
DEBUG open: probe_rs::probe::cmsisdap::commands: Draining probe of any pending data.
DEBUG open: probe_rs::probe::cmsisdap::commands: Attempt 1 to find packet size
DEBUG open: probe_rs::probe::cmsisdap::commands: Success: packet size is 64
DEBUG open: probe_rs::probe::cmsisdap::commands: Configuring probe to use packet size 64
DEBUG open: probe_rs::probe::cmsisdap: Detected probe capabilities: Capabilities { _swd_implemented: true, _jtag_implemented: false, swo_uart_implemented: false, swo_manchester_implemented: false, _atomic_commands_implemented: true, _test_domain_timer_implemented: false, swo_streaming_trace_implemented: false, _uart_communication_port_implemented: false, uart_com_port_implemented: false }
DEBUG attach: probe_rs::probe::cmsisdap: Attaching to target system (clock = 1000kHz)
INFO attach: probe_rs::probe::cmsisdap: Using protocol SWD
DEBUG debug_port_setup: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=DebugPort, addr=0)
DEBUG debug_port_setup:process_batch: probe_rs::probe::cmsisdap: 1 items in batch
DEBUG debug_port_setup:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 1 items
DEBUG debug_port_setup:process_batch: probe_rs::probe::cmsisdap: 1 of batch of 1 items executed
DEBUG debug_device_unlock: probe_rs::architecture::arm::sequences: debug_device_unlock - empty by default
DEBUG debug_core_start: probe_rs::architecture::arm::communication_interface: Selecting DP Default id=0
DEBUG debug_core_start:debug_port_start: probe_rs::architecture::arm::dp: Writing DP register ABORT, value=0x0000001e id=0
DEBUG debug_core_start:debug_port_start: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=0, data=0x0000001e id=0
DEBUG debug_core_start:debug_port_start: probe_rs::architecture::arm::dp: Writing DP register SELECT, value=0x00000000 id=0
DEBUG debug_core_start:debug_port_start: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=8, data=0x00000000 id=0
DEBUG debug_core_start:debug_port_start: probe_rs::architecture::arm::dp: Reading DP register CTRL/STAT id=0
DEBUG debug_core_start:debug_port_start: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=DebugPort, addr=4) id=0
DEBUG debug_core_start:debug_port_start:process_batch: probe_rs::probe::cmsisdap: 3 items in batch id=0
DEBUG debug_core_start:debug_port_start:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 3 items id=0
DEBUG debug_core_start:debug_port_start:process_batch: probe_rs::probe::cmsisdap: 3 of batch of 3 items executed id=0
DEBUG debug_core_start:debug_port_start: probe_rs::architecture::arm::dp: Read DP register CTRL/STAT, value=0xf0000040 id=0
DEBUG debug_core_start: probe_rs::architecture::arm::communication_interface: Setting orun_detect: false id=0
DEBUG debug_core_start: probe_rs::architecture::arm::dp: Reading DP register CTRL/STAT id=0
DEBUG debug_core_start: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=DebugPort, addr=4) id=0
DEBUG debug_core_start:process_batch: probe_rs::probe::cmsisdap: 1 items in batch id=0
DEBUG debug_core_start:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 1 items id=0
DEBUG debug_core_start:process_batch: probe_rs::probe::cmsisdap: 1 of batch of 1 items executed id=0
DEBUG debug_core_start: probe_rs::architecture::arm::dp: Read DP register CTRL/STAT, value=0xf0000040 id=0
DEBUG debug_core_start: probe_rs::architecture::arm::dp: Writing DP register CTRL/STAT, value=0xf0000040 id=0
DEBUG debug_core_start: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=4, data=0xf0000040 id=0
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::architecture::arm::communication_interface: Changing AP to 0, AP_BANK_SEL to 15 id=0 dp=Default ap=0 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::architecture::arm::dp: Writing DP register SELECT, value=0x000000f0 id=0 dp=Default ap=0 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=8, data=0x000000f0 id=0 dp=Default ap=0 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=252) id=0 dp=Default ap=0 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 3 items in batch id=0 dp=Default ap=0 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 3 items id=0 dp=Default ap=0 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 3 of batch of 3 items executed id=0 dp=Default ap=0 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 dp=Default ap=0 register="IDR" value=2222391297
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::architecture::arm::communication_interface: Changing AP to 1, AP_BANK_SEL to 15 id=0 dp=Default ap=1 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::architecture::arm::dp: Writing DP register SELECT, value=0x010000f0 id=0 dp=Default ap=1 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=8, data=0x010000f0 id=0 dp=Default ap=1 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=252) id=0 dp=Default ap=1 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 items in batch id=0 dp=Default ap=1 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 2 items id=0 dp=Default ap=1 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 of batch of 2 items executed id=0 dp=Default ap=1 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 dp=Default ap=1 register="IDR" value=2222391297
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::architecture::arm::communication_interface: Changing AP to 2, AP_BANK_SEL to 15 id=0 dp=Default ap=2 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::architecture::arm::dp: Writing DP register SELECT, value=0x020000f0 id=0 dp=Default ap=2 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=8, data=0x020000f0 id=0 dp=Default ap=2 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=252) id=0 dp=Default ap=2 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 items in batch id=0 dp=Default ap=2 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 2 items id=0 dp=Default ap=2 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 of batch of 2 items executed id=0 dp=Default ap=2 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 dp=Default ap=2 register="IDR" value=611778577
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::architecture::arm::communication_interface: Changing AP to 3, AP_BANK_SEL to 15 id=0 dp=Default ap=3 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::architecture::arm::dp: Writing DP register SELECT, value=0x030000f0 id=0 dp=Default ap=3 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=8, data=0x030000f0 id=0 dp=Default ap=3 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=252) id=0 dp=Default ap=3 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 items in batch id=0 dp=Default ap=3 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 2 items id=0 dp=Default ap=3 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 of batch of 2 items executed id=0 dp=Default ap=3 register="IDR"
DEBUG debug_core_start:AP discovery:valid_access_ports:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 dp=Default ap=3 register="IDR" value=0
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::communication_interface: Changing AP to 0, AP_BANK_SEL to 15 id=0 ap=0 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::dp: Writing DP register SELECT, value=0x000000f0 id=0 ap=0 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=8, data=0x000000f0 id=0 ap=0 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=252) id=0 ap=0 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 items in batch id=0 ap=0 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 2 items id=0 ap=0 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 of batch of 2 items executed id=0 ap=0 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=0 register="IDR" value=2222391297
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=248) id=0 ap=0 register="BASE"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 1 items in batch id=0 ap=0 register="BASE"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 1 items id=0 ap=0 register="BASE"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 1 of batch of 1 items executed id=0 ap=0 register="BASE"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=0 register="BASE" value=4043309059
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=240) id=0 ap=0 register="BASE2"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 1 items in batch id=0 ap=0 register="BASE2"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 1 items id=0 ap=0 register="BASE2"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 1 of batch of 1 items executed id=0 ap=0 register="BASE2"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=0 register="BASE2" value=0
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::communication_interface: Changing AP to 0, AP_BANK_SEL to 0 id=0 ap=0 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::dp: Writing DP register SELECT, value=0x00000000 id=0 ap=0 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=8, data=0x00000000 id=0 ap=0 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=0) id=0 ap=0 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 items in batch id=0 ap=0 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 2 items id=0 ap=0 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 of batch of 2 items executed id=0 ap=0 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=0 register="CSW" value=58720338
DEBUG debug_core_start:AP discovery: probe_rs::architecture::arm::ap: Writing register CSW, value=CSW { DbgSwEnable: 1, HNONSEC: 1, PROT: 6, CACHE: 3, SPIDEN: 0, _RES0: 0, MTE: 0, Type: 0, Mode: 0, TrinProg: 0, DeviceEn: 0, AddrInc: Single, _RES1: 0, SIZE: U8 } id=0
DEBUG debug_core_start:AP discovery: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=AccessPort, addr=0, data=0xe3000010 id=0
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=0) id=0 ap=0 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 items in batch id=0 ap=0 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 2 items id=0 ap=0 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 of batch of 2 items executed id=0 ap=0 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=0 register="CSW" value=1132462160
DEBUG debug_core_start:AP discovery: probe_rs::architecture::arm::ap: Writing register CSW, value=CSW { DbgSwEnable: 0, HNONSEC: 0, PROT: 0, CACHE: 3, SPIDEN: 1, _RES0: 0, MTE: 0, Type: 0, Mode: 0, TrinProg: 0, DeviceEn: 1, AddrInc: Single, _RES1: 0, SIZE: U32 } id=0
DEBUG debug_core_start:AP discovery: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=AccessPort, addr=0, data=0x03800052 id=0
DEBUG debug_core_start:AP discovery: probe_rs::architecture::arm::communication_interface: HNONSEC supported: true id=0
DEBUG debug_core_start:AP discovery: probe_rs::architecture::arm::communication_interface: Device enabled: true id=0
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::communication_interface: Changing AP to 0, AP_BANK_SEL to 15 id=0 ap=0 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::dp: Writing DP register SELECT, value=0x000000f0 id=0 ap=0 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=8, data=0x000000f0 id=0 ap=0 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=244) id=0 ap=0 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 3 items in batch id=0 ap=0 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 3 items id=0 ap=0 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 3 of batch of 3 items executed id=0 ap=0 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=0 register="CFG" value=0
DEBUG debug_core_start:AP discovery: probe_rs::architecture::arm::communication_interface: AP GenericAp { address: ApAddress { dp: Default, ap: 0 } }: MemoryAp(MemoryApInformation { address: ApAddress { dp: Default, ap: 0 }, supports_only_32bit_data_size: false, debug_base_address: 4043309056, supports_hnonsec: true, has_large_address_extension: false, has_large_data_extension: false, device_enabled: true }) id=0
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::communication_interface: Changing AP to 1, AP_BANK_SEL to 15 id=0 ap=1 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::dp: Writing DP register SELECT, value=0x010000f0 id=0 ap=1 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=8, data=0x010000f0 id=0 ap=1 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=252) id=0 ap=1 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 items in batch id=0 ap=1 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 2 items id=0 ap=1 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 of batch of 2 items executed id=0 ap=1 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=1 register="IDR" value=2222391297
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=248) id=0 ap=1 register="BASE"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 1 items in batch id=0 ap=1 register="BASE"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 1 items id=0 ap=1 register="BASE"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 1 of batch of 1 items executed id=0 ap=1 register="BASE"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=1 register="BASE" value=4026531843
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=240) id=0 ap=1 register="BASE2"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 1 items in batch id=0 ap=1 register="BASE2"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 1 items id=0 ap=1 register="BASE2"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 1 of batch of 1 items executed id=0 ap=1 register="BASE2"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=1 register="BASE2" value=0
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::communication_interface: Changing AP to 1, AP_BANK_SEL to 0 id=0 ap=1 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::dp: Writing DP register SELECT, value=0x01000000 id=0 ap=1 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=8, data=0x01000000 id=0 ap=1 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=0) id=0 ap=1 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 items in batch id=0 ap=1 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 2 items id=0 ap=1 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 of batch of 2 items executed id=0 ap=1 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=1 register="CSW" value=41943138
DEBUG debug_core_start:AP discovery: probe_rs::architecture::arm::ap: Writing register CSW, value=CSW { DbgSwEnable: 1, HNONSEC: 1, PROT: 6, CACHE: 3, SPIDEN: 0, _RES0: 0, MTE: 0, Type: 0, Mode: 0, TrinProg: 0, DeviceEn: 0, AddrInc: Single, _RES1: 0, SIZE: U8 } id=0
DEBUG debug_core_start:AP discovery: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=AccessPort, addr=0, data=0xe3000010 id=0
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=0) id=0 ap=1 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 items in batch id=0 ap=1 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 2 items id=0 ap=1 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 of batch of 2 items executed id=0 ap=1 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=1 register="CSW" value=1132462160
DEBUG debug_core_start:AP discovery: probe_rs::architecture::arm::ap: Writing register CSW, value=CSW { DbgSwEnable: 0, HNONSEC: 0, PROT: 0, CACHE: 2, SPIDEN: 1, _RES0: 0, MTE: 0, Type: 0, Mode: 0, TrinProg: 0, DeviceEn: 1, AddrInc: Packed, _RES1: 0, SIZE: U32 } id=0
DEBUG debug_core_start:AP discovery: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=AccessPort, addr=0, data=0x02800062 id=0
DEBUG debug_core_start:AP discovery: probe_rs::architecture::arm::communication_interface: HNONSEC supported: true id=0
DEBUG debug_core_start:AP discovery: probe_rs::architecture::arm::communication_interface: Device enabled: true id=0
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::communication_interface: Changing AP to 1, AP_BANK_SEL to 15 id=0 ap=1 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::dp: Writing DP register SELECT, value=0x010000f0 id=0 ap=1 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=8, data=0x010000f0 id=0 ap=1 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=244) id=0 ap=1 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 3 items in batch id=0 ap=1 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 3 items id=0 ap=1 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 3 of batch of 3 items executed id=0 ap=1 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=1 register="CFG" value=0
DEBUG debug_core_start:AP discovery: probe_rs::architecture::arm::communication_interface: AP GenericAp { address: ApAddress { dp: Default, ap: 1 } }: MemoryAp(MemoryApInformation { address: ApAddress { dp: Default, ap: 1 }, supports_only_32bit_data_size: false, debug_base_address: 4026531840, supports_hnonsec: true, has_large_address_extension: false, has_large_data_extension: false, device_enabled: true }) id=0
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::communication_interface: Changing AP to 2, AP_BANK_SEL to 15 id=0 ap=2 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::dp: Writing DP register SELECT, value=0x020000f0 id=0 ap=2 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=8, data=0x020000f0 id=0 ap=2 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=252) id=0 ap=2 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 items in batch id=0 ap=2 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 2 items id=0 ap=2 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 of batch of 2 items executed id=0 ap=2 register="IDR"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=2 register="IDR" value=611778577
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=248) id=0 ap=2 register="BASE"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 1 items in batch id=0 ap=2 register="BASE"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 1 items id=0 ap=2 register="BASE"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 1 of batch of 1 items executed id=0 ap=2 register="BASE"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=2 register="BASE" value=3759140867
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=240) id=0 ap=2 register="BASE2"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 1 items in batch id=0 ap=2 register="BASE2"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 1 items id=0 ap=2 register="BASE2"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 1 of batch of 1 items executed id=0 ap=2 register="BASE2"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=2 register="BASE2" value=0
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::communication_interface: Changing AP to 2, AP_BANK_SEL to 0 id=0 ap=2 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::dp: Writing DP register SELECT, value=0x02000000 id=0 ap=2 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=8, data=0x02000000 id=0 ap=2 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=0) id=0 ap=2 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 items in batch id=0 ap=2 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 2 items id=0 ap=2 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 of batch of 2 items executed id=0 ap=2 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=2 register="CSW" value=587202624
DEBUG debug_core_start:AP discovery: probe_rs::architecture::arm::ap: Writing register CSW, value=CSW { DbgSwEnable: 1, HNONSEC: 1, PROT: 6, CACHE: 3, SPIDEN: 0, _RES0: 0, MTE: 0, Type: 0, Mode: 0, TrinProg: 0, DeviceEn: 0, AddrInc: Single, _RES1: 0, SIZE: U8 } id=0
DEBUG debug_core_start:AP discovery: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=AccessPort, addr=0, data=0xe3000010 id=0
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=0) id=0 ap=2 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 items in batch id=0 ap=2 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 2 items id=0 ap=2 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 2 of batch of 2 items executed id=0 ap=2 register="CSW"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=2 register="CSW" value=587202640
DEBUG debug_core_start:AP discovery: probe_rs::architecture::arm::ap: Writing register CSW, value=CSW { DbgSwEnable: 0, HNONSEC: 0, PROT: 2, CACHE: 3, SPIDEN: 0, _RES0: 0, MTE: 0, Type: 0, Mode: 0, TrinProg: 0, DeviceEn: 1, AddrInc: Off, _RES1: 0, SIZE: U8 } id=0
DEBUG debug_core_start:AP discovery: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=AccessPort, addr=0, data=0x23000040 id=0
DEBUG debug_core_start:AP discovery: probe_rs::architecture::arm::communication_interface: HNONSEC supported: false id=0
DEBUG debug_core_start:AP discovery: probe_rs::architecture::arm::communication_interface: Device enabled: true id=0
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::communication_interface: Changing AP to 2, AP_BANK_SEL to 15 id=0 ap=2 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::dp: Writing DP register SELECT, value=0x020000f0 id=0 ap=2 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=8, data=0x020000f0 id=0 ap=2 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=244) id=0 ap=2 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 3 items in batch id=0 ap=2 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 3 items id=0 ap=2 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 3 of batch of 3 items executed id=0 ap=2 register="CFG"
DEBUG debug_core_start:AP discovery:read_ap_register: probe_rs::architecture::arm::ap: Register read succesful id=0 ap=2 register="CFG" value=0
DEBUG debug_core_start:AP discovery: probe_rs::architecture::arm::communication_interface: AP GenericAp { address: ApAddress { dp: Default, ap: 2 } }: MemoryAp(MemoryApInformation { address: ApAddress { dp: Default, ap: 2 }, supports_only_32bit_data_size: false, debug_base_address: 3759140864, supports_hnonsec: false, has_large_address_extension: false, has_large_data_extension: false, device_enabled: true }) id=0
DEBUG debug_core_start: probe_rs::architecture::arm::ap: Writing register CSW, value=CSW { DbgSwEnable: 0, HNONSEC: 0, PROT: 2, CACHE: 3, SPIDEN: 0, _RES0: 0, MTE: 0, Type: 0, Mode: 0, TrinProg: 0, DeviceEn: 0, AddrInc: Single, _RES1: 0, SIZE: U32 } id=0
DEBUG debug_core_start: probe_rs::architecture::arm::communication_interface: Changing AP to 0, AP_BANK_SEL to 0 id=0
DEBUG debug_core_start: probe_rs::architecture::arm::dp: Writing DP register SELECT, value=0x00000000 id=0
DEBUG debug_core_start: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=8, data=0x00000000 id=0
DEBUG debug_core_start: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=AccessPort, addr=0, data=0x23000012 id=0
DEBUG debug_core_start: probe_rs::architecture::arm::ap: Writing register TAR, value=TAR { address: e000edf0 } id=0
DEBUG debug_core_start: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=AccessPort, addr=4, data=0xe000edf0 id=0
DEBUG debug_core_start:read_ap_register: probe_rs::probe::cmsisdap: Adding command to batch: Read(port=AccessPort, addr=12) id=0 ap=0 register="DRW"
DEBUG debug_core_start:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 4 items in batch id=0 ap=0 register="DRW"
DEBUG debug_core_start:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 4 items id=0 ap=0 register="DRW"
DEBUG debug_core_start:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 4 of batch of 4 items executed id=0 ap=0 register="DRW"
DEBUG debug_core_start:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Adding command to batch: Write(port=DebugPort, addr=0, data=0x00000004 id=0 ap=0 register="DRW"
DEBUG debug_core_start:read_ap_register:process_batch: probe_rs::probe::cmsisdap: Attempting batch of 0 items id=0 ap=0 register="DRW"
DEBUG debug_core_start:read_ap_register:process_batch: probe_rs::probe::cmsisdap: 0 of batch of 0 items executed id=0 ap=0 register="DRW"
DEBUG probe_rs::probe::cmsisdap: Detaching from CMSIS-DAP probe
DEBUG process_batch: probe_rs::probe::cmsisdap: 1 items in batch
DEBUG process_batch: probe_rs::probe::cmsisdap: Attempting batch of 1 items
DEBUG process_batch: probe_rs::probe::cmsisdap: 1 of batch of 1 items executed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment