MDK-ARM Keil, MDK-ARM Datasheet - Page 74

KIT REALVIEW MCU DEVELOPMENT

MDK-ARM

Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Datasheets

Specifications of MDK-ARM

For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
74
Chapter 4. RL-TCPnet Introduction
Debug Support
There are two available versions
of the RL-TCPnet: a release
version and a debug version.
The debug version uses the
printf() function to output
network debug messages, which
can be used during development.
By default, the printf() function
uses a debug UART as a
standard I/O channel by calling
the low level driver sendchar().
To use the debug version of the library, you must ensure that the UART is
configured and suitable sendchar() code is provided. It is also important to
remember that the sendchar() routine is typically configured to operate in a
polled mode. This will provide a significant overhead to the operation of the RL-
TCPnet library. A heavily loaded LAN will generate many debug messages that
may in turn cause the RL-TCPnet library to fail.
Exercise: PING with Debug
This example presents the PING project with the RL-TCPnet debug features
enabled.
Using RL-TCPnet with RTX
Although RL-TCPnet can be used as a standalone C
library, it is also possible to use it with RTX.
When RTX is started, call the init_TCPnet()
function, then create
a task for the TCP
timer tick. Then we
need to create a
second task to call
the RL-TCPnet
library.

Related parts for MDK-ARM