Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
8e0c6f7a
"readme.md" did not exist on "996114aa83c8ce9e57438cd12776ba448163bda4"
Commit
8e0c6f7a
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Add tcpdump for XST.
parent
7294422b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/erko_howto_tools.txt
+34
-0
34 additions, 0 deletions
doc/erko_howto_tools.txt
with
34 additions
and
0 deletions
doc/erko_howto_tools.txt
+
34
−
0
View file @
8e0c6f7a
...
...
@@ -487,6 +487,40 @@ then:
> ifconfig # to find ethernet port
> sudo tcpdump -vvXXSnelfi enp5s0 port 5001 # for UDP only
> sudo tcpdump -vvXXSnelfi enp5s0 port 5001 > tcpdump.txt (> is new file, >> is append)
> 5001 = SST, 5003 = XST
Start tcpdump in one terminal and then the offload test in another terminal
> sudo tcpdump -vvXXSnelfi enp5s0 port 5003 > tcpdump.txt
> stat_stream_xst.py --host 10.99.0.250 --port 4842 --ip dop386 --mac dop386 --test-data --nof_crosslets 4 -vv
Stop tcpdump cntr-c
> more tcpdump.txt
Typical header values
. udp dest port = 5003 = 0x138b
. udp lenght = 2344 = 0x928
. marker = 0x58
. version = 5
. observation id = 0x00000000
. station id = 0x0000
. block period = 5120 = 0x1400, followed by 8 octetB BSN
Grep all packets for one BSN --> 576 / 144 = 4 nof_crosslets
> cat tcpdump.txt | grep '1400 0001 27a1 aa03 3599' | wc
576 5760 39168
Grep all received packets --> 8064 / 576 = 14 intervals
> cat tcpdump.txt | grep '0x0040: 1400' | wc
8064 80640 548352
Try again for nof_crosslets = 7:
cat tcpdump.txt | grep '0x0040: 1400' | wc
11843 118430 805324
5) opcua-client & # to verify sdp_rw.py
- opc.tcp://10.99.0.250:4842 RPi4 connect
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment