{"id":644,"date":"2025-01-07T12:38:10","date_gmt":"2025-01-07T03:38:10","guid":{"rendered":"https:\/\/blog.y-lab.org\/?p=644"},"modified":"2025-02-26T13:07:35","modified_gmt":"2025-02-26T04:07:35","slug":"stm32cubeide-%e3%81%ae-failed-to-execute-mi-command-%e3%82%a8%e3%83%a9%e3%83%bc","status":"publish","type":"post","link":"https:\/\/blog.y-lab.org\/?p=644","title":{"rendered":"STM32CubeIDE \u306e Failed to execute MI command \u30a8\u30e9\u30fc"},"content":{"rendered":"<p>\u304b\u306d\u3066\u3088\u308a STM32 \u306e\u958b\u767a\u3092 STM32CubeMX + STM32CubeIDE \u3067\u884c\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u3069\u306e\u30c4\u30fc\u30eb\u3067\u3082\u305d\u308c\u306a\u308a\u306b\u3059\u3093\u306a\u308a\u3044\u304b\u306a\u3044\u70b9\u304c\u3042\u308a\u307e\u3059\u3002STM32CubeIDE \u3067\u306f\u3001\u308f\u3051\u306e\u308f\u304b\u3089\u306a\u3044\u30a8\u30e9\u30fc\u3067\u958b\u767a\u304c\u4e2d\u65ad\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u56f0\u308a\u3082\u306e\u3067\u3059\u3002<\/p>\n<p><a href=\"http:\/\/blog.y-lab.org\/wp-content\/uploads\/2025\/01\/error.png\"><img loading=\"lazy\" class=\"alignnone wp-image-645\" src=\"http:\/\/blog.y-lab.org\/wp-content\/uploads\/2025\/01\/error.png\" alt=\"\" width=\"235\" height=\"205\" srcset=\"https:\/\/blog.y-lab.org\/wp-content\/uploads\/2025\/01\/error.png 364w, https:\/\/blog.y-lab.org\/wp-content\/uploads\/2025\/01\/error-300x262.png 300w\" sizes=\"(max-width: 235px) 100vw, 235px\" \/><\/a><\/p>\n<p>\u3068\u304d\u3069\u304d\u767a\u751f\u3059\u308b\u306e\u304c\u3001Flash \u66f8\u304d\u8fbc\u307f\u6642\u306e\u300cFailed to execute MI command\u300d\u30a8\u30e9\u30fc\u3067\u3059\u3002<\/p>\n<p>1\u3064\u306e\u5fa9\u5e30\u65b9\u6cd5\u306f\u3001\u4e00\u5ea6 ST-Link \u306e USB \u30b1\u30fc\u30d6\u30eb\u3092\u3055\u3057\u306a\u304a\u3057\u3066\u3001\u5225\u306e\u6b63\u5e38\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306eFlash\u3092\u66f8\u304d\u8fbc\u3093\u3067\u304b\u3089\u3001\u623b\u3063\u3066\u518d\u5ea6\u66f8\u304d\u8fbc\u3080\u3053\u3068\u3067\u3059\u3002\u305d\u3046\u3059\u308b\u3068\u306a\u305c\u304b\u66f8\u3051\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ed6\u306b\u52b9\u679c\u304c\u3042\u3063\u305f\u306e\u306f\u3001\u30c7\u30d0\u30c3\u30ac\u8a2d\u5b9a\u306e\u30dd\u30fc\u30c8\u756a\u53f7\u3092\u5909\u3048\u308b\u3053\u3068\u3067\u3059\u3002\u3053\u308c\u3067\u5fa9\u5e30\u3067\u304d\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"http:\/\/blog.y-lab.org\/wp-content\/uploads\/2025\/01\/debugger.png\"><img loading=\"lazy\" class=\"alignnone wp-image-648\" src=\"http:\/\/blog.y-lab.org\/wp-content\/uploads\/2025\/01\/debugger.png\" alt=\"\" width=\"465\" height=\"307\" srcset=\"https:\/\/blog.y-lab.org\/wp-content\/uploads\/2025\/01\/debugger.png 732w, https:\/\/blog.y-lab.org\/wp-content\/uploads\/2025\/01\/debugger-300x198.png 300w, https:\/\/blog.y-lab.org\/wp-content\/uploads\/2025\/01\/debugger-624x413.png 624w\" sizes=\"(max-width: 465px) 100vw, 465px\" \/><\/a><\/p>\n<p>ST\u793e\u306e\u30d5\u30a9\u30fc\u30e9\u30e0\u3092\u898b\u308b\u3068\u3001\u540c\u3058\u30a8\u30e9\u30fc\u306e\u76f8\u8ac7\u306f\u3044\u304f\u3064\u304b\u898b\u304b\u3051\u307e\u3059\u304c\u3001\u3044\u305a\u308c\u3082\u89e3\u6c7a\u3057\u3066\u3044\u306a\u3044\u3088\u3046\u306b\u307f\u3048\u307e\u3059\u3002<\/p>\n<p>git clone \u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30bd\u30d5\u30c8\u3067\u958b\u304f\u3068\u3001\u3053\u306e\u30a8\u30e9\u30fc\u306b\u306a\u308a\u304c\u3061\u3067\u3059\u3002\u3042\u308b\u3044\u306f\u30d5\u30a1\u30a4\u30eb\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u308f\u304b\u308a\u307e\u3057\u305f\u3002\u30dc\u30fc\u30c9\u3068\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u7d44\u307f\u5408\u308f\u305b\u306b\u3088\u3063\u3066\u306f\u3001SPI Flash \u306a\u3069\u3001\u5185\u8535 Flash \u4ee5\u5916\u306e\u5834\u6240\u306b\u66f8\u304d\u8fbc\u3080\u5fc5\u8981\u304c\u3042\u308a\u3001\u305d\u306e\u5834\u5408 Run Configurations \u306e External loaders \u306e\u6307\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002TouchGFX \u306a\u3069\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308b\u3068\u3053\u3053\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/blog.y-lab.org\/wp-content\/uploads\/2025\/01\/ext_loaders.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-657\" src=\"http:\/\/blog.y-lab.org\/wp-content\/uploads\/2025\/01\/ext_loaders.png\" alt=\"\" width=\"984\" height=\"338\" srcset=\"https:\/\/blog.y-lab.org\/wp-content\/uploads\/2025\/01\/ext_loaders.png 984w, https:\/\/blog.y-lab.org\/wp-content\/uploads\/2025\/01\/ext_loaders-300x103.png 300w, https:\/\/blog.y-lab.org\/wp-content\/uploads\/2025\/01\/ext_loaders-768x264.png 768w, https:\/\/blog.y-lab.org\/wp-content\/uploads\/2025\/01\/ext_loaders-624x214.png 624w\" sizes=\"(max-width: 984px) 100vw, 984px\" \/><\/a><\/p>\n<p>\u3053\u306e\u8a2d\u5b9a\u306f .project \u30d5\u30a1\u30a4\u30eb\u3067\u306f\u306a\u304f\u3001IDE \u30d5\u30a9\u30eb\u30c0\u5185\u306e &#8220;\uff08\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\uff09 Debug.launch&#8221; \u306e\u3088\u3046\u306a\u540d\u524d\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3064\u307e\u308a\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30d1\u30c3\u30b1\u30fc\u30b8\u3057\u5fd8\u308c\u305f\u308a\u3001\u4f55\u3089\u304b\u306e\u7406\u7531\u3067\u304a\u304b\u3057\u304f\u306a\u3063\u305f\u3089\u3001Failed to execute MI command \u30a8\u30e9\u30fc\u306b\u884c\u304d\u3064\u304f\u308f\u3051\u3067\u3059\u3002 \u9069\u5207\u306a Loader \u3092\u6307\u5b9a\u3057\u305f\u3089\u3001\u6b63\u3057\u304f\u66f8\u304d\u8fbc\u3081\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u304b\u306d\u3066\u3088\u308a STM32 \u306e\u958b\u767a\u3092 STM32CubeMX + STM32CubeIDE \u3067\u884c\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u3069\u306e\u30c4\u30fc\u30eb\u3067\u3082\u305d\u308c\u306a\u308a\u306b\u3059\u3093\u306a\u308a\u3044\u304b\u306a\u3044\u70b9\u304c\u3042\u308a\u307e\u3059\u3002STM32CubeIDE \u3067\u306f\u3001\u308f\u3051\u306e\u308f\u304b\u3089\u306a\u3044\u30a8\u30e9\u30fc\u3067\u958b\u767a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.y-lab.org\/index.php?rest_route=\/wp\/v2\/posts\/644"}],"collection":[{"href":"https:\/\/blog.y-lab.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.y-lab.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.y-lab.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.y-lab.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=644"}],"version-history":[{"count":6,"href":"https:\/\/blog.y-lab.org\/index.php?rest_route=\/wp\/v2\/posts\/644\/revisions"}],"predecessor-version":[{"id":658,"href":"https:\/\/blog.y-lab.org\/index.php?rest_route=\/wp\/v2\/posts\/644\/revisions\/658"}],"wp:attachment":[{"href":"https:\/\/blog.y-lab.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.y-lab.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.y-lab.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}