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

RTT Viewer is available, but pyocd rtt is not #1730

Open
wants to merge 30 commits into
base: develop
Choose a base branch
from

Conversation

HaoYDai
Copy link

@HaoYDai HaoYDai commented Oct 16, 2024

pyocd> read8 0x20000040 64
20000040:  40 00 00 20  40 00 00 20  30 00 00 00  0a 00 00 00    |@.. @.. 0.......|
20000050:  ac 25 00 20  78 13 00 20  2c 00 00 00  53 45 47 47    |.%. x.. ,...SEGG|
20000060:  45 52 20 52  54 54 00 00  00 00 00 00  02 00 00 00    |ER RTT..........|
20000070:  02 00 00 00  a4 39 01 08  10 08 00 20  00 04 00 00    |.....9..... ....|

Fundamental problem: first character of the cb_id was not in the memory of this read
I saw that someone else had fixed it, but I felt that the fix was not perfect, and the change was large, but it was actually a minor bug

flit and others added 30 commits May 22, 2023 08:11
…1562)

self.reset() have a 0.5 second sleep when using hw reset.
other reset types should not require any additional sleep.
by removing this sleep it is possible to aquire targets where
the application disable the swd port.

Co-authored-by: Johan Carlsson <[email protected]>
Support C-style assignment expressions, such that variables can be
assigned to in the middle of other expressions. Just as in C, the
value of an assignment expression is the value assigned to the variable.
While this syntax isn't documented in the Open-CMSIS-Pack specification,
it is used in the Keil.LPC800_DFP pack and therefore is implicitly
supported by debug sequences.

The patch replaces the assign_stmt AST node with assign_expr, with the
lowest precedence (same precedence as in C).
… no current session (pyocd#1565)

If Session.current_session is accessed without a valid current session,
an empty Session is created and retained via a strong reference. This
mostly happens when session options are read prior to the main session
being created.

Since the ._current_session attribute is a weakref, the options session
instance would previously be collected immediately after use, leading
to repeated creation of options sessions in some cases.
- Rename "User documentation" heading to "User guide"
- Move API architecture to be first under "Python API"
…sed board info (pyocd#1591)

If a CMSIS-DAP probe supports the v2.1 board and target info, but the
board also has builtin board ID based data, then use the test binary
name from the builtin data with the probe-supplied data.
…yocd#1593)

If an exception is raised when probing an AP, increment the invalid
AP count. The scan loop is cleaned up a bit too.
…mily (pyocd#1594)

The IMXRT family class isn't needed for pack-based targets any more
now that pyOCD supports the debug sequences present in the IMXRT packs.
…cd#1595)

- Fix performance regression for CMSIS-DAPv2 on certain machines
running Microsoft Windows by using a real multithreaded queue with
blocking support for passing data from receive thread.
- Re-raise exceptions that occur in the receive thread from .read().
- A few other small improvements.
Search only for the length of control block ID.

Fixes pyocd#1533
* fix hc32f030 flash size
* fix hc32l13x series ram size and enable double buffering
Signed-off-by: Peter van der Perk <[email protected]>
Co-authored-by: iannxp <[email protected]>
…1638)

* Add support for mps2_an521

* Generate reset when loading to Ram

* Add support for soft-bkpt-as-hard
@HaoYDai
Copy link
Author

HaoYDai commented Oct 16, 2024

#1729

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.