Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

overwrite launch request with attach one#806

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
facchinm merged 1 commit intomainfromattach-openocd
Jan 9, 2024
Merged

Conversation

@umbynos
Copy link
Contributor

For some reason,lauch openOCD request causes the gdb-server to fail with:

xPSR: 0x01000003 pc: 0x3f081a3e msp: 0x2407ff88Error: error reading data: (null)Error: CMSIS-DAP command mismatch. Sent 0x3 received 0x5Error: CMSIS-DAP command CMD_DISCONNECT failed.Info : SWD DPIDR 0x6ba02477Error: Failed to read memory at 0xe00e1008Error: mem2array: Read @ 0xe00e1004, w=4, cnt=1, failedError executing event examine-end on target stm32h7x.cpu0:/home/umberto/.arduino15/packages/arduino/tools/openocd/0.11.0-arduino2/bin/../share/openocd/scripts/target/stm32h7x.cfg:236: Error: in procedure 'ocd_process_reset' in procedure 'ocd_process_reset_inner' called at file "embedded:startup.tcl", line 260in procedure 'stm32h7x_dbgmcu_mmw' called at file "/home/umberto/.arduino15/packages/arduino/tools/openocd/0.11.0-arduino2/bin/../share/openocd/scripts/target/stm32h7x.cfg", line 172in procedure 'stm32h7x_mmw' called at file "/home/umberto/.arduino15/packages/arduino/tools/openocd/0.11.0-arduino2/bin/../share/openocd/scripts/target/stm32h7x.cfg", line 260in procedure 'stm32h7x_mrw' called at file "/home/umberto/.arduino15/packages/arduino/tools/openocd/0.11.0-arduino2/bin/../share/openocd/scripts/target/stm32h7x.cfg", line 242at file "/home/umberto/.arduino15/packages/arduino/tools/openocd/0.11.0-arduino2/bin/../share/openocd/scripts/target/stm32h7x.cfg", line 236target halted due to debug-request, current mode: Handler HardFaultxPSR: 0x01000003 pc: 0x3f081a3e msp: 0x2407ff88shutdown command invoked[2023-12-20T11:55:49.834Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session closedGDB server session ended. This terminal will be reused, waiting for next session to start...

With this patch, everything seems to be working just fine (tested only on GIGA but ported to every STM32H7). Pressing the "start debug" button after uploading does not require the board to be put in bootloader mode.

@kittaakos
Copy link

Hello, is there an ETA for the next release with this fix? Thank you!

@umbynos
Copy link
ContributorAuthor

This change is included in 4.1.0 which currently is in thepackage_staging_index.json. I don't know when this will get into the main package index

kittaakos reacted with thumbs up emoji

@pennampennam deleted the attach-openocd branchFebruary 5, 2024 15:36
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@facchinmfacchinmAwaiting requested review from facchinm

@pillo79pillo79Awaiting requested review from pillo79

Assignees

@umbynosumbynos

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@umbynos@kittaakos@facchinm

[8]ページ先頭

©2009-2025 Movatter.jp