This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.text | |
.balign 4096 | |
.space 4096 - 8 | |
.globl _start | |
.type _start,@function | |
_start: | |
mrs x1, tpidr_el0 | |
// An ADRP instruction, which writes to a register Rn. | |
// • This instruction must be located in memory at an address where the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./bin/openocd -s ./scripts -f interface/cmsis-dap.cfg -f target/psoc6_2m.cfg -d3 | |
Open On-Chip Debugger 0.11.0+dev-4.4.0.2134 (2022-09-08-21:18) | |
Licensed under GNU GPL v2 | |
For bug reports, read | |
http://openocd.org/doc/doxygen/bugs.html | |
User : 3 3 options.c:54 configuration_output_handler(): debug_level: 3 | |
Debug: 4 3 options.c:240 add_default_dirs(): bindir=/Users/jenkinsuser/builds/dbykvR6R/0/repo/cyopenocd/build/install/openocd/bin | |
Debug: 5 3 options.c:241 add_default_dirs(): pkgdatadir=/Users/jenkinsuser/builds/dbykvR6R/0/repo/cyopenocd/build/install/openocd | |
Debug: 6 3 options.c:242 add_default_dirs(): exepath=/Users/jonathan/Documents/ferrous-systems/knurling/infineon/openocd/bin | |
Debug: 7 3 options.c:243 add_default_dirs(): bin2data=.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ RUST_LOG=debug cargo run --release -- --chip CY8C624ABZI-S2D44A0 ../app-template/target/thumbv6m-none-eabi/release/hello -v -v | |
Finished release [optimized] target(s) in 0.09s | |
Running `target/release/probe-run --chip CY8C624ABZI-S2D44A0 ../app-template/target/thumbv6m-none-eabi/release/hello -v -v` | |
(HOST) DEBUG Searching registry for chip with name CY8C624ABZI-S2D44A0 | |
└─ probe_rs::config::registry @ /Users/jonathan/Documents/ferrous-systems/knurling/probe-rs/probe-rs/src/config/registry.rs:159 | |
(HOST) DEBUG Partial match for chip name: CY8C624ABZI-S2D44 | |
└─ probe_rs::config::registry @ /Users/jonathan/Documents/ferrous-systems/knurling/probe-rs/probe-rs/src/config/registry.rs:173 | |
(HOST) DEBUG Exact match for chip name: CY8C624ABZI-S2D44A0 | |
└─ probe_rs::config::registry @ /Users/jonathan/Documents/ferrous-systems/knurling/probe-rs/probe-rs/src/config/registry.rs:170 | |
(HOST) DEBUG Searching for CMSIS-DAP probes using libusb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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::tool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openocd -f /opt/homebrew/share/openocd/scripts/interface/cmsis-dap.cfg -f /opt/homebrew/share/openocd/scripts/target/psoc6.cfg | |
Open On-Chip Debugger 0.12.0 | |
Licensed under GNU GPL v2 | |
For bug reports, read | |
http://openocd.org/doc/doxygen/bugs.html | |
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'. | |
Info : Listening on port 6666 for tcl connections | |
Info : Listening on port 4444 for telnet connections | |
Info : Using CMSIS-DAPv2 interface with VID:PID=0x04b4:0xf155, serial=171109F801071400 | |
Info : CMSIS-DAP: SWD supported |