The ETH_LWIP APP provides the possibility to enable debug messages. It does so using the SEGGER_RTT APP.
As an alternative, instead debug semihosting can be used following the next steps:

1. In project setting, add XMC_DEBUG_ENABLE to preprocessor symbols
Click image for larger version

Name:	lwip_debug_1.png
Views:	1
Size:	59.5 KB
ID:	4195

2. Also in the project settings, under linker settings add –specs=rdimon.specs
Click image for larger version

Name:	lwip_debug_2.png
Views:	1
Size:	131.7 KB
ID:	4196

3. In main.c add an extern function declaration to initialise_monitor_handles() and call it in main() function.
Click image for larger version

Name:	lwip_debug_3.png
Views:	1
Size:	13.5 KB
ID:	4197

4. In file lwipopts.h add the following macro definition to enable debug messages

#define LWIP_DEBUG 1

Now you need to turn on the generation of debug messages from the module you are interested in, i.e. the DHCP module


More details can be found at

5. In the debug configuration, semihosting need to be enabled.