Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload: Fix GDB restart command for pyOCD #350

Merged

Conversation

ccli8
Copy link

@ccli8 ccli8 commented Sep 20, 2024

Summary of changes

PyOCD debug restart can be failed without this somehow. It appears the device under debug must be halted after MBED_UPLOAD_RESTART_COMMANDS, but this is broken. Change to monitor reset halt to fix it.

NOTE: The above issue is reproduced on Nuvoton's NUMAKER_IOT_M467 target.


Pull request type

[X] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

PyOCD debug restart can be failed without this somehow. It appears the device
under debug must be halted after MBED_UPLOAD_RESTART_COMMANDS, but this is
broken. Change to "monitor reset halt" to fix it.
@multiplemonomials multiplemonomials merged commit 79c9095 into mbed-ce:master Sep 21, 2024
10 checks passed
@ccli8 ccli8 deleted the upload_fix_gdb_restart_for_pyocd branch September 23, 2024 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants