Aug 05, 2016
06:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 05, 2016
06:43 AM
Hello All,
a support request on this topic was unsuccessful, so I ask here:
Starting a XMC1100 in UMD (SWD debug enabled), I want to terminate SWD and switch P0.14 and P0.15 to GPIO under program control.
The reason is that the debug pins also serve as LED indicators and if the debugger is not attached, I want to use the LED indicators.
If the debugger is attached, the application shall detect it *) and stay in SWD mode.
How can I do this?
I found no documentation on enabling or disabling debug mode for certain pins.
TIA,
Oliver
*) E.g. by checking a variable set by the debugger via SWD, although it would be smarter to detect active SWD
a support request on this topic was unsuccessful, so I ask here:
Starting a XMC1100 in UMD (SWD debug enabled), I want to terminate SWD and switch P0.14 and P0.15 to GPIO under program control.
The reason is that the debug pins also serve as LED indicators and if the debugger is not attached, I want to use the LED indicators.
If the debugger is attached, the application shall detect it *) and stay in SWD mode.
How can I do this?
I found no documentation on enabling or disabling debug mode for certain pins.
TIA,
Oliver
*) E.g. by checking a variable set by the debugger via SWD, although it would be smarter to detect active SWD
- Tags:
- IFX
0 Replies