stlink-org / stlink

Open source STM32 MCU programming toolset

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feature] ITM functionality for ST-Link V2 and STM32Fxx chipsets

obe1line opened this issue · comments

I have written a utility that can read ITM trace data using a ST-Link V2. This functionality would be useful to have in st-util if possible. The only problem is when it detects a packet with length 0xF8xx, which I assume is an error code - possibly overrun. It recovers, but loses some of the data. Other than that, I have had it running for a few hours capturing data from an STM32F107Z.

See http://obe1line.github.com/stlink-trace/ for further details.

Somebody has enhanced your stlink-trace: https://github.com/avrhack/stlink-trace

Can anybody contribute here?

@Nightwalker-87 we probably should close this issue in favor of duplicate #187. I also got a personal mail from @simplerobot which implements the ITM functionality in https://github.com/simplerobot/stlink/tree/st-trace but he seems unable to open a pull request because of permissions. I looked into the project settings but was unable to find any pull request limitations.

There should be no limitations on opening PRs. However I actively invited him to contribute to the project. Maybe it helps to solve this issue, as the referenced ticket seems to only partially address this issue. ;-)

Thanks @Nightwalker-87. I've submitted a code review. Here is the error I was originally getting:

An owner of this repository has limited the ability to open a pull request to users that have contributed to this repository in the past.