From 71508778014ccc629eacdee25fa6643bec977662 Mon Sep 17 00:00:00 2001 From: Daniel DeGrasse Date: Thu, 28 Mar 2024 11:13:50 -0500 Subject: [PATCH] doc: develop: flash_debug: add note for LinkServer breakpoints LinkServer does not set a breakpoint at reset by default when debugging platforms, so if the user single steps after loading an application they will likely step through ROM code for the target. Add a note clarifying that users need to set a breakpoint at the reset handler or "main" in order to pause their application there. Signed-off-by: Daniel DeGrasse --- doc/develop/flash_debug/host-tools.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/develop/flash_debug/host-tools.rst b/doc/develop/flash_debug/host-tools.rst index 1fcf7fa1d8..56dba16025 100644 --- a/doc/develop/flash_debug/host-tools.rst +++ b/doc/develop/flash_debug/host-tools.rst @@ -270,6 +270,10 @@ LinkServer west runner ``--probe`` option to pass the probe index. west flash --runner=linkserver --override /device/memory/5/flash-driver=MIMXRT500_SFDP_MXIC_OSPI_S.cfx +4. LinkServer does not install an implicit breakpoint at the reset handler. If + you would like to single step from the start of their application, you + will need to add a breakpoint at ``main`` or the reset handler manually. + .. _jlink-debug-host-tools: J-Link Debug Host Tools