Hi,
I recently tried to evaluate Nucleo-L496ZG and tried to debug (Blinky), but it seems to fail to enter debug as I get an error as seen from the picture.
Any Ideas on how to deal with this?
Starting: "C:\ProgramData\vmicro\tools\openocd-0.10.0.20200213\bin/openocd.exe" -d2 -l ebug/Blink.ino_DebugOpenOCD.log}" -s "C:\ProgramData\vmicro\tools\openocd-0.10.0.20200213/scripts/" -f "interface/stlink.cfg" -f "target/stm32l4x.cfg" -c "init; reset halt"
Starting: m-none-eabi-gcc\10.3.1-2.3/bin\arm-none-eabi-gdb.exe" --interpreter=mi
"C:\ProgramData\vmicro\tools\openocd-0.10.0.20200213\bin/openocd.exe" exited with code 1 (0x1).
and this is Debug output:
openocd: Open On-Chip Debugger 0.11.0+dev-gb1de116 (2021-12-09-11:34)
openocd: Licensed under GNU GPL v2
openocd: For bug reports, read
openocd: http://openocd.org/doc/doxygen/bugs.html
openocd: debug_level: 2
openocd:
=thread-group-added,id="i1"
GNU gdb (xPack GNU Arm Embedded GCC i386) 10.2.90.20210621-git
Copyright (C) 2021 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=i686-w64-mingw32 --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
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".
=cmd-param-changed,param="pagination",value="off"
Note: automatically using hardware breakpoints for read-only addresses.
Reset_Handler () at 2f446xx.s:61
61 ldr sp, =_estack /* set stack pointer */
Program received signal SIGINT, Interrupt.
__empty () at 2.3.0\cores\arduino\hooks.c:33
33 }
Program received signal SIGINT, Interrupt.
__empty () at 2.3.0\cores\arduino\hooks.c:33
33 }
Breakpoint 3, loop () at XXX\Programming projects\Arduino\My Examples\Blink/Blink.ino:34
34 digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
@"halted: PC: 0x0800026e\n"
Breakpoint 3, loop () at XXX\Programming projects\Arduino\My Examples\Blink/Blink.ino:34
34 digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
@"halted: PC: 0x0800026e\n"
Breakpoint 3, loop () at XXX\Programming projects\Arduino\My Examples\Blink/Blink.ino:34
34 digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
@"halted: PC: 0x0800026e\n"
Breakpoint 4, loop () at XXX\Programming projects\Arduino\My Examples\Blink/Blink.ino:37
37 delay(1000); // wait for a second
@"halted: PC: 0x08000288\n"
Breakpoint 3, loop () at XXX\Programming projects\Arduino\My Examples\Blink/Blink.ino:34
34 digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
The thread 0xfffffffe has exited with code 0 (0x0).
[Inferior 1 (Remote target) killed]
The program '' has exited with code 0 (0x0).