René's URL Explorer Experiment


Title: STM32N647: OpenOCD halt/debug fails with UNDEFINED while CubeIDE works · Issue #44 · STMicroelectronics/OpenOCD · GitHub

Open Graph Title: STM32N647: OpenOCD halt/debug fails with UNDEFINED while CubeIDE works · Issue #44 · STMicroelectronics/OpenOCD

X Title: STM32N647: OpenOCD halt/debug fails with UNDEFINED while CubeIDE works · Issue #44 · STMicroelectronics/OpenOCD

Description: Dear ST Support Team, I am reporting a debug issue on STM32N647 where debugging works correctly in STM32CubeIDE, but fails when using OpenOCD (ST fork) with ST-LINK. Summary On STM32N647 (Cortex-M55, TrustZone), OpenOCD is able to connec...

Open Graph Description: Dear ST Support Team, I am reporting a debug issue on STM32N647 where debugging works correctly in STM32CubeIDE, but fails when using OpenOCD (ST fork) with ST-LINK. Summary On STM32N647 (Cortex-M5...

X Description: Dear ST Support Team, I am reporting a debug issue on STM32N647 where debugging works correctly in STM32CubeIDE, but fails when using OpenOCD (ST fork) with ST-LINK. Summary On STM32N647 (Cortex-M5...

Opengraph URL: https://github.com/STMicroelectronics/OpenOCD/issues/44

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"STM32N647: OpenOCD halt/debug fails with UNDEFINED while CubeIDE works","articleBody":"Dear ST Support Team,\n\nI am reporting a debug issue on STM32N647 where debugging works correctly in STM32CubeIDE, but fails when using OpenOCD (ST fork) with ST-LINK.\n\nSummary\nOn STM32N647 (Cortex-M55, TrustZone), OpenOCD is able to connect to the target and enumerate the core, but any attempt to halt/pause/step the CPU results in an `UNDEFINED debug reason`. The same hardware, firmware, and debug authentication state work correctly when debugging with STM32CubeIDE using ST-LINK.\n\n# Hardware\n- MCU: STM32N647X0HxQ\n- Debug probe: ST-LINK (V2J46S7)\n- Target voltage: ~3.3 V\n\n# Software / Tools\n- STM32CubeIDE: Debug works normally (halt/step/breakpoints OK)\n- ST-LINK Server: API v3, FW 2.1.1\n- OpenOCD: 0.12.0+dev-00623-g0ba753ca7 (STMicroelectronics fork)\n- VS Code + cortex-debug 1.12.1\n\n# Project / Boot Mode\n- Boot mode: Internal SRAM boot\n- Program under debug: FSBL\n- Debug mode: load and run\n- Debug Authentication: OPEN (confirmed, since CubeIDE debugging works)\n\n# OpenOCD Behavior\n\nOpenOCD connects successfully:\n- SWD/DAP connection OK\n- Cortex-M55 detected\n- Registers and memory can be read\n\n## However, when GDB connects or when “Pause” is issued:\n\n\u003e halted due to undefined\n\u003e undefined debug reason 8 (UNDEFINED)\n\n## VS Code / cortex-debug then reports:\n\n\u003e Received readMemory request while busy (SCB fault registers)\n\u003e Returning dummy thread-id / stack frame to workaround pause button not working\n\nHalt, step, and breakpoints never work. Changing reset configuration, SWD speed, or OpenOCD options does not change the behavior.\n\n# Questions\n- Is OpenOCD (ST fork) officially expected to support full halt/step debugging on STM32N647?\n- Is there a known limitation or missing Secure Debug / TrustZone handling in OpenOCD for STM32N6?\n- Is there a recommended OpenOCD configuration, patch, or restriction note for STM32N647?\n\nI can provide full OpenOCD logs, CubeIDE screenshots, and configuration files if needed.","author":{"url":"https://github.com/songshuaisong","@type":"Person","name":"songshuaisong"},"datePublished":"2025-12-25T06:42:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/44/OpenOCD/issues/44"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:14ec690b-c168-30b5-475c-6cf864b0b429
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC376:2B9CDD:43AD94F:59C75ED:6A5D7BFD
html-safe-nonce986f4cc6d94828e90ef050d6fb6bac235e27ca3b51ee3607155d30bca11a1b50
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzc2OjJCOUNERDo0M0FEOTRGOjU5Qzc1RUQ6NkE1RDdCRkQiLCJ2aXNpdG9yX2lkIjoiNjAyNzUzNDkxMjg5NDg5MzA1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac58d37f0acaf89745f301ccd264fdd283dd3ccba314906e0c808287ceda23ffed
hovercard-subject-tagissue:3761500127
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/STMicroelectronics/OpenOCD/44/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7606aadd6348aa136a8cdc9efda547207e0e2e47a3839b439d3be425815e8382/STMicroelectronics/OpenOCD/issues/44
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7606aadd6348aa136a8cdc9efda547207e0e2e47a3839b439d3be425815e8382/STMicroelectronics/OpenOCD/issues/44
og:image:altDear ST Support Team, I am reporting a debug issue on STM32N647 where debugging works correctly in STM32CubeIDE, but fails when using OpenOCD (ST fork) with ST-LINK. Summary On STM32N647 (Cortex-M5...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesongshuaisong
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
go-importgithub.com/STMicroelectronics/OpenOCD git https://github.com/STMicroelectronics/OpenOCD.git
octolytics-dimension-user_id10744877
octolytics-dimension-user_loginSTMicroelectronics
octolytics-dimension-repository_id226140039
octolytics-dimension-repository_nwoSTMicroelectronics/OpenOCD
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id226140039
octolytics-dimension-repository_network_root_nwoSTMicroelectronics/OpenOCD
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/STMicroelectronics/OpenOCD/issues/44#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSTMicroelectronics%2FOpenOCD%2Fissues%2F44
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSTMicroelectronics%2FOpenOCD%2Fissues%2F44
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=STMicroelectronics%2FOpenOCD
Reloadhttps://github.com/STMicroelectronics/OpenOCD/issues/44
Reloadhttps://github.com/STMicroelectronics/OpenOCD/issues/44
Reloadhttps://github.com/STMicroelectronics/OpenOCD/issues/44
Please reload this pagehttps://github.com/STMicroelectronics/OpenOCD/issues/44
STMicroelectronics https://github.com/STMicroelectronics
OpenOCDhttps://github.com/STMicroelectronics/OpenOCD
Notifications https://github.com/login?return_to=%2FSTMicroelectronics%2FOpenOCD
Fork 55 https://github.com/login?return_to=%2FSTMicroelectronics%2FOpenOCD
Star 197 https://github.com/login?return_to=%2FSTMicroelectronics%2FOpenOCD
Code https://github.com/STMicroelectronics/OpenOCD
Issues 21 https://github.com/STMicroelectronics/OpenOCD/issues
Pull requests 4 https://github.com/STMicroelectronics/OpenOCD/pulls
Actions https://github.com/STMicroelectronics/OpenOCD/actions
Security and quality 0 https://github.com/STMicroelectronics/OpenOCD/security
Insights https://github.com/STMicroelectronics/OpenOCD/pulse
Code https://github.com/STMicroelectronics/OpenOCD
Issues https://github.com/STMicroelectronics/OpenOCD/issues
Pull requests https://github.com/STMicroelectronics/OpenOCD/pulls
Actions https://github.com/STMicroelectronics/OpenOCD/actions
Security and quality https://github.com/STMicroelectronics/OpenOCD/security
Insights https://github.com/STMicroelectronics/OpenOCD/pulse
Bughttps://github.com/STMicroelectronics/OpenOCD/issues?q=type:"Bug"
STM32N647: OpenOCD halt/debug fails with UNDEFINED while CubeIDE workshttps://github.com/STMicroelectronics/OpenOCD/issues/44#top
https://github.com/tarek-bochkati
bugSomething isn't workinghttps://github.com/STMicroelectronics/OpenOCD/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/songshuaisong
songshuaisonghttps://github.com/songshuaisong
on Dec 25, 2025https://github.com/STMicroelectronics/OpenOCD/issues/44#issue-3761500127
tarek-bochkatihttps://github.com/tarek-bochkati
bugSomething isn't workinghttps://github.com/STMicroelectronics/OpenOCD/issues?q=state%3Aopen%20label%3A%22bug%22
Bughttps://github.com/STMicroelectronics/OpenOCD/issues?q=type:"Bug"
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.