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

Better support emulated platforms #21

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

70p4z
Copy link

@70p4z 70p4z commented Mar 21, 2023

Some emulated platform (on physical emulators) may have to distinguish RESET from HALTED state. For example when external power is not yet supplied.
This small patchset enables to support some platforms (at least the one I'm using) while still supporting regular targets like STM32xxx (used L0/L4/F2/F0/WB/WL with this patchset without any trouble)
Best regards

@bjornfor
Copy link

Drive-by comment: this is a read-only mirror (as it says in the github repo description). See the developer workflow here: https://openocd.org/doc/html/Developers.html.

This was referenced May 8, 2023
Here is a typical image that would not work previously (issued from a GCC ARMV7M build)
Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x010000 0x08000000 0x08000000 0x0a7c0 0x0a818 R E 0x10000
  LOAD           0x000800 0x20000800 0x0800a7c0 0x00000 0x02188 RW  0x10000
  LOAD           0x00a818 0x0800a818 0x0800a818 0x00000 0x057e8 RW  0x10000
  LOAD           0x000000 0x20000000 0x20000000 0x00000 0x00800 RW  0x10000
  LOAD           0x000000 0xc0de0000 0xc0de0000 0x00000 0x00008 R   0x10000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants