MCUXpresso IDE v11.0.0 [Build 2516] [2019-06-05]
Segger j-link Plus
I am attempting to set the COP registers to start, stop and refresh the WatchDog.
While stepping through code, I will attempt to view my MCU's Peripherals, like the SIM, in the Peripherals window or the Memory window.
But the peripheral, or some of its registers will be locked out.
Why is this happening?
Thanks,
Bruce Graham
So can you tell us something about the modifications you have made to your perspective (IDE screen layout). Is this the standard Develop (or maybe Debug) perspective that you have made slight changes to the layout of the views - or something more extensive?
Also, please can you provide the full .log file that can be found inside the .metadata subdirectory inside your workspace folder (NOT inside the project folder, but rather one level up).
Regards,
MCUXpresso IDE Support
I am using the debug perspective.
I reset the debug perspective, and moved windows around so that the MCUXpresso window can be captured.
See below.
Sorry, but I deleted the .log files some time ago. There are no .log files in my workspace directory or sub-directories.
How can I get the .log files?
Thanks,
Bruce
You reference a screen capture - but don't appear to have posted it. Please can you do so, so we can look at what you are seeing?
One thing to note is that debugging with watchdogs active is generally a bad idea ....
Regard
MCUXpresso IDE Support
Sorry about the screen capture being lost.
I will make a new post about debugging an app that has the COP Watchdog enabled.
My app is most definitely halted. My code has stopped toggling an LED, so the MCU is halted.
Please see my screen capture below.
Thanks,
Bruce
Hello Bruce Graham
In order to being able to see the peripherals registers, you need to have your debug session at pause. However some registers are read only and you can't make any change.
If you are not able to see the peripheral's registers then your code is still in execution.
Let me know if this is helpful.
Best regards,
Omar
You can see from my screen capture that the code is halted in the debugger.
So, can you please tell me how I can help you FIX THE BUG?
Thanks,
Bruce
Senior Software Engineer
TechnoSoft Innovations, Inc.
bgraham@technosofteng.com
900 Perimeter Park Drive, Suite C
Morrisville, NC 27560
Phone 919-337-0866 Ext 104