Title: No support for stm32mp2x · Issue #36 · STMicroelectronics/OpenOCD · GitHub
Open Graph Title: No support for stm32mp2x · Issue #36 · STMicroelectronics/OpenOCD
X Title: No support for stm32mp2x · Issue #36 · STMicroelectronics/OpenOCD
Description: Description: I am trying to flash my STM32MP2 board using OpenOCD, but I am encountering an error because the file target/stm32mp2x.cfg is missing. This prevents OpenOCD from recognizing the target and initializing the debug session. Err...
Open Graph Description: Description: I am trying to flash my STM32MP2 board using OpenOCD, but I am encountering an error because the file target/stm32mp2x.cfg is missing. This prevents OpenOCD from recognizing the target...
X Description: Description: I am trying to flash my STM32MP2 board using OpenOCD, but I am encountering an error because the file target/stm32mp2x.cfg is missing. This prevents OpenOCD from recognizing the target...
Opengraph URL: https://github.com/STMicroelectronics/OpenOCD/issues/36
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No support for stm32mp2x","articleBody":"---\n\n**Description:** \nI am trying to flash my **STM32MP2** board using OpenOCD, but I am encountering an error because the file `target/stm32mp2x.cfg` is missing. This prevents OpenOCD from recognizing the target and initializing the debug session.\n\n---\n\n### **Error Message**\n```\nOpen On-Chip Debugger 0.12.0+dev-00608-gd8ed48fef (2025-02-06-11:20) [https://github.com/STMicroelectronics/OpenOCD]\nLicensed under GNU GPL v2\nFor bug reports, read\n http://openocd.org/doc/doxygen/bugs.html\nSTM32CubeIDE/workspace_1.18.0/AttemptD/CM33/AttemptD_CM33 Debug.cfg:43: Error: Can't find target/stm32mp2x.cfg\nin procedure 'script' \nat file \"embedded:startup.tcl\", line 28\nat file \"/Users/william/STM32CubeIDE/workspace_1.18.0/AttemptD/CM33/AttemptD_CM33 Debug.cfg\", line 43\n```\n\n---\n\n### **Steps to Reproduce**\n1. Install OpenOCD from the official repository or through Homebrew (`brew install openocd`).\n2. Create a debug configuration in **STM32CubeIDE** for an **STM32MP2** board.\n3. Attempt to flash the firmware using OpenOCD.\n4. OpenOCD fails to find `target/stm32mp2x.cfg` and exits with an error.\n\n---\n\n### **Expected Behavior**\nOpenOCD should include the necessary target configuration file `stm32mp2x.cfg` for STM32MP2 boards, allowing successful flashing and debugging.\n\n---\n\n### **Actual Behavior**\nThe required configuration file is missing, preventing the debugger from recognizing the board.\n\n---\n\n### **System Information**\n- **OS**: macOS Sonoma 14.x \n- **OpenOCD Version**: `0.12.0+dev-00608-gd8ed48fef (2025-02-06-11:20)` \n- **Board**: STM32MP2 \n- **Installation Method**: Homebrew \n\n---\n\n### **Possible Fix**\n- Add the missing `stm32mp2x.cfg` file to the `target/` directory in OpenOCD. \n- If the configuration file is not yet available, provide guidance on an alternative method to flash STM32MP2 boards.\n\n---\n\n### **Additional Context**\nI checked my OpenOCD installation folder, and the `target/stm32mp2x.cfg` file is completely missing. Searching through the OpenOCD repository, I also did not find an available configuration file for STM32MP2. Could you confirm whether support for STM32MP2 has been added or if there's an alternative configuration that can be used?\n\nLet me know if you need further information. Thanks! \n\n---\n\n5. Click **Submit**.\n\nLet me know if you need modifications before submitting! 🚀","author":{"url":"https://github.com/WilliamBonilla62","@type":"Person","name":"WilliamBonilla62"},"datePublished":"2025-03-14T04:24:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/36/OpenOCD/issues/36"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1562a0d7-36e2-0862-9daa-3ac148ef7ac3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1E2:1C23F8:3252549:43D167A:6A5DC60F |
| html-safe-nonce | a7990a25ca956ecce17063a56119bc810567f45f3398f62cf1c645a003ab7de3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUUyOjFDMjNGODozMjUyNTQ5OjQzRDE2N0E6NkE1REM2MEYiLCJ2aXNpdG9yX2lkIjoiNjYyMjE5ODgwMTc1MDY3MjkxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ddda626d35ae360e9558fe4eb444b6fa3ad94dbd7d6f42da295c88972389854a |
| hovercard-subject-tag | issue:2919047331 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/STMicroelectronics/OpenOCD/36/issue_layout |
| twitter:image | https://opengraph.githubassets.com/65b3e6b073cb9bd8c6ee45742bb7d1a71a756f3035733cad6edb39540cbf9e80/STMicroelectronics/OpenOCD/issues/36 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/65b3e6b073cb9bd8c6ee45742bb7d1a71a756f3035733cad6edb39540cbf9e80/STMicroelectronics/OpenOCD/issues/36 |
| og:image:alt | Description: I am trying to flash my STM32MP2 board using OpenOCD, but I am encountering an error because the file target/stm32mp2x.cfg is missing. This prevents OpenOCD from recognizing the target... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | WilliamBonilla62 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/STMicroelectronics/OpenOCD git https://github.com/STMicroelectronics/OpenOCD.git |
| octolytics-dimension-user_id | 10744877 |
| octolytics-dimension-user_login | STMicroelectronics |
| octolytics-dimension-repository_id | 226140039 |
| octolytics-dimension-repository_nwo | STMicroelectronics/OpenOCD |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226140039 |
| octolytics-dimension-repository_network_root_nwo | STMicroelectronics/OpenOCD |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width