-
Notifications
You must be signed in to change notification settings - Fork 1
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
Unable to start debugging. No process is associated with this object. #29
Comments
Hi, We are looking into the issue, we'll come back with an answer. Regards, |
Hi, We couldn't reproduce the issue, we were able to debug this target. The only difference in our environment is that we tried on JLink Plus, we don't have in this moment a Compact type. Can you please go to launch.json in Settings and set to "true" the "engineLogging" property then to redo all the steps until you get the error and send us the resulted log in Debug Console? Regards, |
Hi @cristitep-nxp |
I also encounter this issue frequently. Restarting vscode makes the problem go away. |
In case it helps, this is the official documentation from Segger on how to configure launch.json to debug the target using J-Link probe. |
Where do I find the svd files? I've been debugging without them and I have no view of the peripherals. The plug-ins from other vendors automatically select the svd, not sure why MCUxpresso hasn't done so.. |
Hi @asteriskSF , For more details, please see the Lab Guide for Zephyr Debugging with VS Code for more details. Best regards |
@DerekSnell is there a recommended place to put these in a west based zephyr project? I see there is a already a module for nxp's hal in modules/hal/nxp... |
Hi @asteriskSF , When debugging a Zephyr project, today the SVD file is not setup automatically. You must download the SVD file locally, and manually modify the JSON file to include that SVD. In that case, the location of the SVD file is not important. It is not included in the build, and you just need to tell the debugger where to find it. Personally, I like to include the SVD file in my application repo, so it is easily available when that repo is cloned. Best regards |
Thanks @DerekSnell to make this consistent for the other developer on my team, I added the nxp-mcuxpresso repository into our west.yml in our out-of-tree repository, For anyone else interested, these are the modifications to my west.yml
Then in my app/.vscode/launch.json I have an absolute path to the svd file, perhaps this could work with a relative path..
|
@DerekSnell Can you advise how to get correct kconfig generated preprocessor macros to be used for syntax highlighting of source files in VSCoce with MCUXpresso for VSCode? |
Hi @asteriskSF , The NXP team will address your question at #39. Best regards |
I imported the project
\boards\evkmimx8mp\rtos_examples\freertos_hello
from the SDK, but I'm not able to debug it.The only probe connected to my PC is J-Link PLUS Compact, visible under
DEBUG PROBES
When I selected
Debug
for the first time, no prompt are asked to me, and inmcuxpresso-tools.json
the following item is setBut after a while, the following popup appears
Moreover, it seems that Reset debug probe selection has no effect.
In another project
\boards\evkmimx8mp\multicore_examples\rpmsg_lite_str_echo_rtos
(imported from the SDK), when I selected Debug for the first time, I was aked to select the Device andCortex-M7
is available.After I selected it in
mcuxpresso-tools.json
the following item is setI can debug this project successfully.
Any idea on the reason?
The text was updated successfully, but these errors were encountered: