Marus / cortex-debug

Visual Studio Code extension for enhancing debug capabilities for Cortex-M Microcontrollers
MIT License
1.02k stars 240 forks source link

No prints on RTT viewer #980

Closed UCC18ECES15 closed 9 months ago

UCC18ECES15 commented 9 months ago

Performance Issue

I have imported MCUXPresso SDK project on VS code and started debugging, project execution was fine and i am able to do all debug operations such as pause, run, step over and step out. But I am not able to see any output prints on my RTT viewer terminal. Here i have given all my project configuration details.

My luanch.json configuration is: { "configurations": [ { "cwd": "${workspaceFolder}", "executable": ""${workspaceFolder}"/armgcc/debug/check_nxpfw_update.elf", "name": "Debug with JLink", "request": "launch", "type": "cortex-debug", "device": "PN7642", "runToEntryPoint": "main", "showDevDebugOutput": "raw", "servertype": "jlink", "serverpath": "C:/Program Files/SEGGER/JLink_V792f/JLinkGDBServerCL.exe", "interface": "swd", "serialNumber": "504200426", "jlinkscript":""${workspaceFolder}"/pnev7642fama.jlinkscript", "armToolchainPath": "C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/12.2 rel1/bin", "liveWatch": { "enabled": true, "samplesPerSecond": 4 }, "rttConfig": { "enabled": true, "address": "0x20008000", "decoders": [ { "label": "J-Link RTT Viewer", "port": 0, "type": "console", } ] } } ] }

Segger version is: JLink_V792f.

Is that something i need to check in my settings or is that related to some other issue?

Extension version: 1.12.1 VS Code version: Code 1.86.0 (05047486b6df5eb8d44b2ecd70ea3bdf775fd937, 2024-01-31T10:28:19.990Z) OS version: Windows_NT x64 10.0.19045

UCC18ECES15 commented 9 months ago

this issue was solved by local workaround for the particular project. Sorry for the notice.