-
Notifications
You must be signed in to change notification settings - Fork 128
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
[Example Script] swo_read_stimulus() returns empty List. Even if num_bytes is not zero. #207
Comments
I don't think I have used |
Oh, thanks for letting me know. Anyway as you mentioned, I tested with the script in Example. Serial Wire Viewer ERROR:pylink.jlink:Cannot read register 0 (R0) while CPU is running
|
The SWD example is for cases where you are using SWD in your target to write data when a debugger is attached. Your firmware must be using SWD debug, and implementing
The SWV is used for Serial Wire Output (SWO), and similarly, you must implement a |
I am using upper script for nRF52DK.
When I run the script, num_bytes is not zero.
But the swo_read_stimulus() returns empty list.
What's wrong? Am I missing something?
I am using nrf52832 target CPU and it's programmed using Zephyr RTOS.
The text was updated successfully, but these errors were encountered: