From 534b9809f661042db75a91b4ac71f0cb6d248a8c Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 23 Dec 2021 13:58:29 +0100 Subject: [PATCH] add reva jlink file --- .cargo/config.toml | 1 + jlink-reva.gdb | 13 +++++++++++++ va416xx-hal | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 jlink-reva.gdb diff --git a/.cargo/config.toml b/.cargo/config.toml index 8643736..731f822 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,6 +1,7 @@ [target.'cfg(all(target_arch = "arm", target_os = "none"))'] # uncomment ONE of these three option to make `cargo run` start a GDB session # which option to pick depends on your system +# If the RevA board is used, replace jlink.gdb with jlink-reva.gdb # runner = "arm-none-eabi-gdb -q -x jlink.gdb" # runner = "gdb-multiarch -q -x jlink.gdb" # runner = "gdb -q -x openocd.gdb" diff --git a/jlink-reva.gdb b/jlink-reva.gdb new file mode 100644 index 0000000..8712a8e --- /dev/null +++ b/jlink-reva.gdb @@ -0,0 +1,13 @@ +target remote localhost:2331 + +# For some reason, this is problematic even if the JLinkScript disabled the remote +# write protection. Therefore, don't do it for now +# This is only problematic on board RevA +# monitor reset + +# *try* to stop at the user entry point (it might be gone due to inlining) +break main + +load + +continue diff --git a/va416xx-hal b/va416xx-hal index f51ccac..ffae4b2 160000 --- a/va416xx-hal +++ b/va416xx-hal @@ -1 +1 @@ -Subproject commit f51ccaca9c2e7a916a0c05dfd7b6c60f9af516f9 +Subproject commit ffae4b2e0b6ef022e825e0e7577561ec7add0c9c