{"id":929,"date":"2025-12-07T19:12:10","date_gmt":"2025-12-07T19:12:10","guid":{"rendered":"http:\/\/elerain.com\/?p=929"},"modified":"2026-01-11T22:10:06","modified_gmt":"2026-01-11T13:10:06","slug":"stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt","status":"publish","type":"post","link":"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/","title":{"rendered":"STM32G03x \u2014 First Debug Session With ST-Link V2 in STM32CubeIDE Hangs After First Interrupt"},"content":{"rendered":"<p>When you create a new\u00a0<strong>STM32G0<\/strong>\u00a0project in STM32CubeIDE, the debugger initially seems to work correctly. Code execution runs normally\u00a0<em>until the first interrupt occurs<\/em>\u00a0(in my case, the\u00a0<strong>SysTick<\/strong>\u00a0interrupt). At that moment the program counter suddenly jumps\u00a0<strong>outside of the Flash memory space<\/strong>, so the debugger can no longer show valid source code corresponding to the PC value.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-930 size-full aligncenter\" src=\"http:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/56788657.jpg\" alt=\"\" width=\"1145\" height=\"415\" srcset=\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/56788657.jpg 1145w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/56788657-300x109.jpg 300w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/56788657-1024x371.jpg 1024w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/56788657-768x278.jpg 768w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/56788657-600x217.jpg 600w\" sizes=\"auto, (max-width: 1145px) 100vw, 1145px\" \/><\/p>\n<p>At first this is very confusing \u2014 nothing seems obviously wrong.<\/p>\n<p>If you found this explanation after spending time trying to understand the issue:\u00a0<strong>congratulations, you&#8217;re not alone<\/strong>, and thanks to ST\u2019s silicon\/initial configuration quirks, many people have run into the same problem.<\/p>\n<p><strong>Root Cause<\/strong><\/p>\n<p>The STM32G030\/G031 devices ship from the factory with Boot Pins\/Bootloader\/Option Bytes configuration making the\u00a0<strong>Vector Table Offset Register (VTOR)<\/strong>\u00a0incorrectly pointing to the\u00a0<strong>System Memory bootloader<\/strong>\u00a0instead of the user Flash at first debug run.<\/p>\n<p>Specifically, instead of:<\/p>\n<p>SCB-&gt;VTOR = 0x08000000;\u00a0\u00a0 \/\/ Start of user Flash<\/p>\n<p>the chip powers up with:<\/p>\n<p>SCB-&gt;VTOR = 0x1FFF0000;\u00a0\u00a0 \/\/ Address of the System Memory bootloader region<\/p>\n<p>As a result, when the first interrupt fires (SysTick, TIM, EXTI, etc.), the CPU loads the interrupt handler address from the\u00a0<strong>bootloader\u2019s vector table<\/strong>, jumping execution into the system memory bootloader. Since this area does not match the application\u2019s ELF file, the debugger appears \u201clost,\u201d showing no valid source for the current PC.<\/p>\n<p>This explains why debugging works\u00a0<em>only<\/em>\u00a0until the first interrupt.<\/p>\n<p>The incorrect VTOR setting occurs\u00a0<strong>only on factory-new microcontrollers<\/strong>\u00a0(verified on STM32G030 and STM32G031 small-pin packages such as TSSOP-20 and QFN-28).<\/p>\n<p><strong>Solution \/ Workaround<\/strong><\/p>\n<p>Just make microcontroller power cycle and the vector table address during debug issues will be resolved permanently, or without power cycle just assign the <em>Vector Table Offset Register<\/em> to the start of Flash at the beginning of\u00a0main():<\/p>\n<p>SCB-&gt;VTOR = FLASH_BASE; <em>\/\/ To ensure that the vector table points to user Flash<\/em><\/p>\n<p>After any of above: Debugging or application run works normally.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-932 aligncenter\" src=\"http:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/4356345634.jpg\" alt=\"\" width=\"660\" height=\"217\" srcset=\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/4356345634.jpg 660w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/4356345634-300x99.jpg 300w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/4356345634-600x197.jpg 600w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/p>\n<p><strong>Expected Vector Table Mapping<\/strong><\/p>\n<p>Correct FLASH program space vector table mapping:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-934 aligncenter\" style=\"color: #555555; font-size: 16.2px;\" src=\"http:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/46345634634.jpg\" alt=\"\" width=\"879\" height=\"357\" srcset=\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/46345634634.jpg 879w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/46345634634-300x122.jpg 300w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/46345634634-768x312.jpg 768w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/46345634634-600x244.jpg 600w\" sizes=\"auto, (max-width: 879px) 100vw, 879px\" \/><\/p>\n<p>The vector table at address 0x00000000 is correctly remapped to the Flash region at 0x08000000, and both appear identical.<\/p>\n<p>Address 0 content:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-936 aligncenter\" style=\"color: #555555; font-size: 16.2px;\" src=\"http:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/6856786856.jpg\" alt=\"\" width=\"844\" height=\"380\" srcset=\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/6856786856.jpg 930w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/6856786856-300x135.jpg 300w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/6856786856-768x346.jpg 768w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/6856786856-600x270.jpg 600w\" sizes=\"auto, (max-width: 844px) 100vw, 844px\" \/><\/p>\n<p>And the address 0x08000000 content:<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-938 aligncenter\" src=\"http:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/00001.jpg\" alt=\"\" width=\"840\" height=\"379\" srcset=\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/00001.jpg 840w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/00001-300x135.jpg 300w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/00001-768x347.jpg 768w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/00001-600x271.jpg 600w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/p>\n<p>Address 0x1FFF0000 content (System bootloader):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-940 aligncenter\" src=\"http:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/00002.jpg\" alt=\"\" width=\"849\" height=\"368\" srcset=\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/00002.jpg 895w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/00002-300x130.jpg 300w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/00002-768x333.jpg 768w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/00002-600x260.jpg 600w\" sizes=\"auto, (max-width: 849px) 100vw, 849px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Option bytes of a new microcontroller without FLASH programming (first run):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-942 aligncenter\" src=\"http:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/111111.jpg\" alt=\"\" width=\"886\" height=\"531\" srcset=\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/111111.jpg 886w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/111111-300x180.jpg 300w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/111111-768x460.jpg 768w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/111111-600x360.jpg 600w\" sizes=\"auto, (max-width: 886px) 100vw, 886px\" \/><\/p>\n<p>Looks the same as after loading FLASH with program and power cycle:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-944 aligncenter\" src=\"http:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/222222.jpg\" alt=\"\" width=\"882\" height=\"528\" srcset=\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/222222.jpg 915w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/222222-300x180.jpg 300w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/222222-768x460.jpg 768w, https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/222222-600x359.jpg 600w\" sizes=\"auto, (max-width: 882px) 100vw, 882px\" \/><\/p>\n<p>Links to the same issue:<\/p>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/79579171\/stm32g0-crashes-into-system-memory-bootloader-everytime-during-debug\">https:\/\/stackoverflow.com\/questions\/79579171\/stm32g0-crashes-into-system-memory-bootloader-everytime-during-debug<\/a><\/p>\n<p><a href=\"https:\/\/community.st.com\/t5\/stm32-mcus-products\/stm32g0-crashes-into-system-memory-bootloader-everytime-during\/td-p\/794410\">https:\/\/community.st.com\/t5\/stm32-mcus-products\/stm32g0-crashes-into-system-memory-bootloader-everytime-during\/td-p\/794410<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you create a new\u00a0STM32G0\u00a0project in STM32CubeIDE, the debugger initially seems to work correctly. Code execution runs normally\u00a0until the first interrupt occurs\u00a0(in my case, the\u00a0SysTick\u00a0interrupt). At that moment the program counter suddenly jumps\u00a0outside of the Flash memory space, so the debugger can no longer show valid source code corresponding to the PC value. At first&#8230;<\/p>\n","protected":false},"author":2,"featured_media":942,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-929","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.0 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>STM32G03x \u2014 First Debug Session With ST-Link V2 in STM32CubeIDE Hangs After First Interrupt<\/title>\n<meta name=\"description\" content=\"When you create a new\u00a0STM32G0\u00a0project in STM32CubeIDE, the debugger initially seems to work correctly. Code execution runs normally\u00a0until the first\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"STM32G03x \u2014 First Debug Session With ST-Link V2 in STM32CubeIDE Hangs After First Interrupt\" \/>\n<meta property=\"og:description\" content=\"When you create a new\u00a0STM32G0\u00a0project in STM32CubeIDE, the debugger initially seems to work correctly. Code execution runs normally\u00a0until the first\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/\" \/>\n<meta property=\"og:site_name\" content=\"Elerain\" \/>\n<meta property=\"article:published_time\" content=\"2025-12-07T19:12:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-11T13:10:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/111111.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"886\" \/>\n\t<meta property=\"og:image:height\" content=\"531\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Elerain\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elerain\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/\"},\"author\":{\"name\":\"Elerain\",\"@id\":\"https:\/\/elerain.com\/ko\/#\/schema\/person\/f42aeac0d8a141dd15cb72614e72fc0e\"},\"headline\":\"STM32G03x \u2014 First Debug Session With ST-Link V2 in STM32CubeIDE Hangs After First Interrupt\",\"datePublished\":\"2025-12-07T19:12:10+00:00\",\"dateModified\":\"2026-01-11T13:10:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/\"},\"wordCount\":436,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/111111.jpg\",\"articleSection\":[\"Articles\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/\",\"url\":\"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/\",\"name\":\"STM32G03x \u2014 First Debug Session With ST-Link V2 in STM32CubeIDE Hangs After First Interrupt\",\"isPartOf\":{\"@id\":\"https:\/\/elerain.com\/ko\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/111111.jpg\",\"datePublished\":\"2025-12-07T19:12:10+00:00\",\"dateModified\":\"2026-01-11T13:10:06+00:00\",\"author\":{\"@id\":\"https:\/\/elerain.com\/ko\/#\/schema\/person\/f42aeac0d8a141dd15cb72614e72fc0e\"},\"description\":\"When you create a new\u00a0STM32G0\u00a0project in STM32CubeIDE, the debugger initially seems to work correctly. Code execution runs normally\u00a0until the first\",\"breadcrumb\":{\"@id\":\"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#primaryimage\",\"url\":\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/111111.jpg\",\"contentUrl\":\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/111111.jpg\",\"width\":886,\"height\":531},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/elerain.com\/ko\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uae30\uc0ac\",\"item\":\"https:\/\/elerain.com\/ko\/category\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"STM32G03x \u2014 First Debug Session With ST-Link V2 in STM32CubeIDE Hangs After First Interrupt\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/elerain.com\/ko\/#website\",\"url\":\"https:\/\/elerain.com\/ko\/\",\"name\":\"Elerain\",\"description\":\"Elerain\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/elerain.com\/ko\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/elerain.com\/ko\/#\/schema\/person\/f42aeac0d8a141dd15cb72614e72fc0e\",\"name\":\"Elerain\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/10\/favicon-100x100.png\",\"url\":\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/10\/favicon-100x100.png\",\"contentUrl\":\"https:\/\/elerain.com\/wp-content\/uploads\/2025\/10\/favicon-100x100.png\",\"caption\":\"Elerain\"},\"description\":\"Experienced electronics engineers with up to 30+ years in analog, digital, and power electronics. Based in South Korea.\",\"url\":\"https:\/\/elerain.com\/ko\/author\/elerain\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"STM32G03x \u2014 First Debug Session With ST-Link V2 in STM32CubeIDE Hangs After First Interrupt","description":"When you create a new\u00a0STM32G0\u00a0project in STM32CubeIDE, the debugger initially seems to work correctly. Code execution runs normally\u00a0until the first","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/","og_locale":"ko_KR","og_type":"article","og_title":"STM32G03x \u2014 First Debug Session With ST-Link V2 in STM32CubeIDE Hangs After First Interrupt","og_description":"When you create a new\u00a0STM32G0\u00a0project in STM32CubeIDE, the debugger initially seems to work correctly. Code execution runs normally\u00a0until the first","og_url":"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/","og_site_name":"Elerain","article_published_time":"2025-12-07T19:12:10+00:00","article_modified_time":"2026-01-11T13:10:06+00:00","og_image":[{"width":886,"height":531,"url":"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/111111.jpg","type":"image\/jpeg"}],"author":"Elerain","twitter_card":"summary_large_image","twitter_misc":{"\uae00\uc4f4\uc774":"Elerain","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"4\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#article","isPartOf":{"@id":"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/"},"author":{"name":"Elerain","@id":"https:\/\/elerain.com\/ko\/#\/schema\/person\/f42aeac0d8a141dd15cb72614e72fc0e"},"headline":"STM32G03x \u2014 First Debug Session With ST-Link V2 in STM32CubeIDE Hangs After First Interrupt","datePublished":"2025-12-07T19:12:10+00:00","dateModified":"2026-01-11T13:10:06+00:00","mainEntityOfPage":{"@id":"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/"},"wordCount":436,"commentCount":0,"image":{"@id":"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#primaryimage"},"thumbnailUrl":"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/111111.jpg","articleSection":["Articles"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/","url":"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/","name":"STM32G03x \u2014 First Debug Session With ST-Link V2 in STM32CubeIDE Hangs After First Interrupt","isPartOf":{"@id":"https:\/\/elerain.com\/ko\/#website"},"primaryImageOfPage":{"@id":"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#primaryimage"},"image":{"@id":"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#primaryimage"},"thumbnailUrl":"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/111111.jpg","datePublished":"2025-12-07T19:12:10+00:00","dateModified":"2026-01-11T13:10:06+00:00","author":{"@id":"https:\/\/elerain.com\/ko\/#\/schema\/person\/f42aeac0d8a141dd15cb72614e72fc0e"},"description":"When you create a new\u00a0STM32G0\u00a0project in STM32CubeIDE, the debugger initially seems to work correctly. Code execution runs normally\u00a0until the first","breadcrumb":{"@id":"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#primaryimage","url":"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/111111.jpg","contentUrl":"https:\/\/elerain.com\/wp-content\/uploads\/2025\/12\/111111.jpg","width":886,"height":531},{"@type":"BreadcrumbList","@id":"https:\/\/elerain.com\/ko\/stm32g03x-first-debug-session-with-st-link-v2-in-stm32cubeide-hangs-after-first-interrupt\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/elerain.com\/ko\/"},{"@type":"ListItem","position":2,"name":"\uae30\uc0ac","item":"https:\/\/elerain.com\/ko\/category\/articles\/"},{"@type":"ListItem","position":3,"name":"STM32G03x \u2014 First Debug Session With ST-Link V2 in STM32CubeIDE Hangs After First Interrupt"}]},{"@type":"WebSite","@id":"https:\/\/elerain.com\/ko\/#website","url":"https:\/\/elerain.com\/ko\/","name":"Elerain","description":"Elerain","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elerain.com\/ko\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/elerain.com\/ko\/#\/schema\/person\/f42aeac0d8a141dd15cb72614e72fc0e","name":"Elerain","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/elerain.com\/wp-content\/uploads\/2025\/10\/favicon-100x100.png","url":"https:\/\/elerain.com\/wp-content\/uploads\/2025\/10\/favicon-100x100.png","contentUrl":"https:\/\/elerain.com\/wp-content\/uploads\/2025\/10\/favicon-100x100.png","caption":"Elerain"},"description":"Experienced electronics engineers with up to 30+ years in analog, digital, and power electronics. Based in South Korea.","url":"https:\/\/elerain.com\/ko\/author\/elerain\/"}]}},"_links":{"self":[{"href":"https:\/\/elerain.com\/ko\/wp-json\/wp\/v2\/posts\/929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elerain.com\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elerain.com\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elerain.com\/ko\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/elerain.com\/ko\/wp-json\/wp\/v2\/comments?post=929"}],"version-history":[{"count":0,"href":"https:\/\/elerain.com\/ko\/wp-json\/wp\/v2\/posts\/929\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/elerain.com\/ko\/wp-json\/wp\/v2\/media\/942"}],"wp:attachment":[{"href":"https:\/\/elerain.com\/ko\/wp-json\/wp\/v2\/media?parent=929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elerain.com\/ko\/wp-json\/wp\/v2\/categories?post=929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elerain.com\/ko\/wp-json\/wp\/v2\/tags?post=929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}