|
|||||||||||
Technical Support Support Resources
Product Information |
MDK MIDDLEWARE: How to redirect Network debug output via ITMInformation in this knowledgebase article applies to:
QUESTIONMy program using Middleware Network component doesn't work properly. I know it is possible to enable network debug mode to get certain network debugging output to help me to debug my program. I'm also using SWO or ETM trace to debug my program. How can I redirect network debug output via ITM Stimulus Port 0 using SWO or ETM trace? ANSWERFollow these steps to turn on the network debug output and redirect it to ITM Stimulus Port 0:
Below is an example of the redirected debug output: 008.36 TCP:Connect Socket 2, LocPort 12850 008.36 TCP: Rem_IP : 192.168.120.20 008.36 TCP: RemPort: 9100 008.36 TCP: RTO=4000ms (sa=0, sv=400) 008.36 TCP:Socket 2, Sending Control 008.36 TCP: Ports : Src=12850, Dst=9100 008.36 TCP: Segment: Seq=0x38953E47, Ack=0x0 008.36 TCP: Control: [SYN] Win=4380, Cks=0x4888 008.36 TCP:*** Processing frame *** 008.36 TCP: Ports : Src=9100, Dst=12850 008.36 TCP: Segment: Seq=0x9FE9A1E5, Ack=0x38953E48 008.36 TCP: Control: [SYN,ACK] Win=384, Cks=0x1644 008.36 TCP: Mapped to Socket 2, state SYN_SENT 008.36 TCP:Process Options, 4 bytes 008.36 TCP: Opt-MSS: 1460 008.36 TCP: cwnd=4380, ssth=65535 008.36 TCP: SendWin: 384 008.36 TCP: Next state CONNECT 008.36 TCP:Socket 2, Sending Control 008.36 TCP: Ports : Src=12850, Dst=9100 008.36 TCP: Segment: Seq=0x38953E48, Ack=0x9FE9A1E6 008.36 TCP: Control: [ACK] Win=4380, Cks=0x1E65 008.36 TCP:Send Socket 2, 9 bytes 008.36 TCP:Socket 2, Sending Data 008.36 TCP: Ports : Src=12850, Dst=9100 008.36 TCP: Segment: Seq=0x38953E48, Ack=0x9FE9A1E6 008.36 TCP: Control: [PSH,ACK] Win=4380, Cks=0x93E6 008.36 TCP: Length : 9 bytes MORE INFORMATION
SEE ALSOLast Reviewed: Wednesday, November 25, 2020 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.