-
-
Notifications
You must be signed in to change notification settings - Fork 836
Open
Labels
Potential BugA potential, unconfirmed or very special circumstance bugA potential, unconfirmed or very special circumstance bug
Milestone
Description
Hi,
At my company, I am working on a cutsom board equipped with a NORDIC nrf54L15.
We need to use the Black Magic Probe to bulk program large numbers of devices in production (https://black-magic.org/usage/gdb-automation.html), so i created a windows batch file to do it.
(arm-none-eabi-gdb.exe --batch -nx -ex "target extended-remote \.\COM27" -x black_magic_probe_flash.scr binary.hex)
I've got some strange error with arm-none-eabi-gdb when running this batch file.
When i try tu use arm-none-eabi-gdb manually, i've got an error with "attach 1".
I think it try to attch to the nRF54L Access Port.
Have you ever encountered this problem and do you have a solution ?
Best regards
Thank you
GNU gdb (Arm GNU Toolchain 14.3.Rel1 (Build arm-14.174)) 15.2.90.20241229-git
Copyright (C) 2024 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-w64-mingw32 --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.linaro.org/>.
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".
(gdb) target extended-remote \\.\COM27
Remote debugging using \\.\COM27
(gdb) monitor swdp_scan
Target voltage: 3.3V
Available Targets:
No. Att Driver
1 nRF54L M33
2 nRF54L Access Port
(gdb) attach 1
Attaching to Remote target
Attaching to Remote target failed: 01
(gdb) attach 1
Attaching to Remote target
warning: No executable has been specified and target does not support
determining executable automatically. Try using the "file" command.
0x0001045e in ?? ()
(gdb)
Metadata
Metadata
Assignees
Labels
Potential BugA potential, unconfirmed or very special circumstance bugA potential, unconfirmed or very special circumstance bug