add reva jlink file

This commit is contained in:
Robin Müller 2021-12-23 13:58:29 +01:00
parent a151e354f8
commit 534b9809f6
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
3 changed files with 15 additions and 1 deletions

View File

@ -1,6 +1,7 @@
[target.'cfg(all(target_arch = "arm", target_os = "none"))'] [target.'cfg(all(target_arch = "arm", target_os = "none"))']
# uncomment ONE of these three option to make `cargo run` start a GDB session # uncomment ONE of these three option to make `cargo run` start a GDB session
# which option to pick depends on your system # 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 = "arm-none-eabi-gdb -q -x jlink.gdb"
# runner = "gdb-multiarch -q -x jlink.gdb" # runner = "gdb-multiarch -q -x jlink.gdb"
# runner = "gdb -q -x openocd.gdb" # runner = "gdb -q -x openocd.gdb"

13
jlink-reva.gdb Normal file
View File

@ -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

@ -1 +1 @@
Subproject commit f51ccaca9c2e7a916a0c05dfd7b6c60f9af516f9 Subproject commit ffae4b2e0b6ef022e825e0e7577561ec7add0c9c