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 Tracing is not working using NXP mimxrt1064_evk #29667

Closed
hendriklehmkuhl opened this issue Oct 30, 2020 · 1 comment · Fixed by #29734
Closed

RTT Tracing is not working using NXP mimxrt1064_evk #29667

hendriklehmkuhl opened this issue Oct 30, 2020 · 1 comment · Fixed by #29734
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP priority: low Low impact/importance bug

Comments

@hendriklehmkuhl
Copy link

Describe the bug
I would like to use RTT tracing with Segger SystemView and it does not work as specified with NXP MIMXRT1064_EVK. My Segger J-Link is not able to find the RTT control block for this board. Using the same setup with another board (Atmel sam_e70b_xplained) does work without any problems.

To Reproduce
Steps to reproduce the behavior:

  1. Add CONFIG_SEGGER_SYSTEMVIEW=y and CONFIG_TRACING=y to the prj.conf file of any application (for example for the synchonization sample)
  2. Build and flash the application
  3. Try to capture RTT data with Segger SystemView or open the Segger web control panel and switch to the tab "RTT"
  4. SystemView shows the Error: "Could not find RTT Control Block"
  5. The segger web control panel displays that there is no RTT communication at all

Expected behavior
RTT logging should work to analyze the applications behaviour. The same setup works out of the box with Atmel sam_e70b_xplained.

Environment (please complete the following information):

  • OS: Windows
  • Toolchain: gnu-arm-embedded
  • Commit: Release v2.3.0
@hendriklehmkuhl hendriklehmkuhl added the bug The issue is a bug, or the PR is fixing a bug label Oct 30, 2020
@MaureenHelm MaureenHelm self-assigned this Oct 30, 2020
@hendriklehmkuhl
Copy link
Author

hendriklehmkuhl commented Nov 3, 2020

@MaureenHelm thank you! I tested it and now SystemView does find the RTT control block but unfortunately it is not showing any received events or tasks. Furthermore the uart-terminal stops transmitting data as soon as I start recording in SystemView so possibly the CPU is halted.

Edit: I just notice that it does work if I power cycle the board after flashing and before I start recording

@MaureenHelm MaureenHelm added the priority: low Low impact/importance bug label Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants