Marus / cortex-debug

Visual Studio Code extension for enhancing debug capabilities for Cortex-M Microcontrollers
MIT License
1.02k stars 241 forks source link

question:Debug stm32h723 nucleo board, some warrning/error shown. #380

Closed manoj153 closed 3 years ago

manoj153 commented 3 years ago

Valid to assume to ignore the error/warnings? so far everything seems to be okay

Please check OUTPUT tab (Adapter Output) for output from /home/manoj/zephyr-sdk-0.12.0/sysroots/x86_64-pokysdk-linux/usr/bin/openocd
Launching server: "/home/manoj/zephyr-sdk-0.12.0/sysroots/x86_64-pokysdk-linux/usr/bin/openocd" "-c" "gdb_port 50000" "-s" "/home/manoj/Documents/Pingspace/h7_basic_bring_up" "-f" "/home/manoj/zephyrproject/zephyr/boards/arm/nucleo_h723zg/support/openocd.cfg" "-c" "init" "-c" "targets" "-c" "halt"
Launching GDB: "/home/manoj/zephyr-sdk-0.12.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb" "-q" "--interpreter=mi2"
Reading symbols from /home/manoj/Documents/Pingspace/h7_basic_bring_up/build/zephyr/zephyr.elf...
z_arm_reset () at /home/manoj/zephyrproject/zephyr/arch/arm/core/aarch32/cortex_m/reset.S:104
104     movs.n r0, #_EXC_IRQ_DEFAULT_PRIO
Not implemented stop reason (assuming exception): undefined
target halted due to debug-request, current mode: Thread 
haneefdm commented 3 years ago

Exceptions are unexpected events by the debugger (not a normal breakpoint). It is up to you to ignore it if you were expecting an exception/fault ... in any case, the program halted and VSCode wants to know why? So, we tell it an 'exception' probably happened because OpenOCD/gdb did not report a reason.