Skip to content

Commit

Permalink
Add error handling images and some operation headlines (for linking)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Menne authored and Benedikt Menne committed Dec 16, 2024
1 parent 3c2c493 commit 583004e
Show file tree
Hide file tree
Showing 4 changed files with 143 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/4_4_4_ethernet.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ In a multidrop configuration, the bus simulation shall not forward configuration


===== Error Handling [[low-cut-ethernet-error-handling]]

#TODO#

.Architectural error handling overview.
[#figure-ethernet-architectural-error-handling-overview]
image::ethernet_error_handling_overview.svg[width=100%, align="center"]

===== Wake Up/Sleep [[low-cut-ethernet-wakeup-sleep]]
This standard supports wake up and sleep functionality for the Ethernet bus, based on the TC10 Sleep/Wake-up
Specification.
Expand Down
8 changes: 8 additions & 0 deletions docs/4_4_4_ethernet_operations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,14 @@ h|OP Code [hex] 5+| 0x12
|====


====== Confirm [[low-cut-ethernet-confirm-operation]]
The <<low-cut-ethernet-confirm-operation, `Confirm`>> operation is used to signal the successful reception of a transmitted Ethernet frame by at least one Network FMU.


====== Bus Error [[low-cut-ethernet-bus-error-operation]]
The <<low-cut-ethernet-bus-error-operation, `Bus Error`>> operation represents special bus communication errors, which are delivered to every participant in the network.


====== Configuration [[low-cut-ethernet-configuration-operation]]
Represents the transmission of a continuation mPacket.

Expand Down
125 changes: 125 additions & 0 deletions docs/images/ethernet_error_handling_overview.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
<mxfile host="app.diagrams.net" modified="2024-04-08T12:07:57.147Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0" etag="WF55JmFqx0iOMPhrCE-5" version="24.0.0" type="device">
<diagram id="zssgmvdwZO7xPkAqMUr9" name="Page-1">
<mxGraphModel dx="607" dy="350" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="v5oIvpwDgeikFxTejpUY-1" value="" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#999999;strokeWidth=2;" parent="1" vertex="1">
<mxGeometry x="40" y="6" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="v5oIvpwDgeikFxTejpUY-2" value="" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#999999;strokeWidth=2;" parent="1" vertex="1">
<mxGeometry x="200" y="6" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="v5oIvpwDgeikFxTejpUY-4" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="89" y="56" width="20" height="20" as="geometry" />
</mxCell>
<mxCell id="v5oIvpwDgeikFxTejpUY-5" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="251" y="56" width="20" height="20" as="geometry" />
</mxCell>
<mxCell id="v5oIvpwDgeikFxTejpUY-18" value="&lt;div style=&quot;font-size: 16px;&quot;&gt;&lt;font style=&quot;font-size: 16px;&quot;&gt;FMU&lt;/font&gt;&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=20;" parent="1" vertex="1">
<mxGeometry x="70" y="26" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="v5oIvpwDgeikFxTejpUY-21" value="&lt;div style=&quot;font-size: 16px;&quot;&gt;&lt;font style=&quot;font-size: 16px;&quot;&gt;FMU&lt;/font&gt;&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=20;" parent="1" vertex="1">
<mxGeometry x="230" y="26" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="KEQrLfB2FrUfxKy-oO7P-1" value="" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#999999;strokeWidth=2;" parent="1" vertex="1">
<mxGeometry x="40" y="130" width="440" height="80" as="geometry" />
</mxCell>
<mxCell id="v5oIvpwDgeikFxTejpUY-17" value="" style="endArrow=none;html=1;fontSize=20;fillColor=#b1ddf0;strokeColor=#7EA6E0;rounded=0;strokeWidth=7;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="460" y="160" as="sourcePoint" />
<mxPoint x="60" y="160" as="targetPoint" />
<Array as="points">
<mxPoint x="290" y="160" />
<mxPoint x="110" y="160" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="KEQrLfB2FrUfxKy-oO7P-3" value="" style="endArrow=none;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;strokeWidth=3;strokeColor=#7EA6E0;" parent="1" target="v5oIvpwDgeikFxTejpUY-4" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="99" y="160" as="sourcePoint" />
<mxPoint x="78.5" y="110" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="KEQrLfB2FrUfxKy-oO7P-4" value="" style="endArrow=none;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;strokeWidth=3;strokeColor=#7EA6E0;" parent="1" target="v5oIvpwDgeikFxTejpUY-5" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="261" y="160" as="sourcePoint" />
<mxPoint x="280.65999999999997" y="100" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="KEQrLfB2FrUfxKy-oO7P-5" value="&lt;font style=&quot;font-size: 20px;&quot;&gt;Bus Simulation&lt;/font&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;fontSize=20;" parent="1" vertex="1">
<mxGeometry x="61" y="176" width="400" height="30" as="geometry" />
</mxCell>
<mxCell id="KEQrLfB2FrUfxKy-oO7P-9" value="" style="endArrow=none;html=1;rounded=0;strokeColor=#FFFFFF;strokeWidth=3;fontSize=16;dashed=1;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="238" y="160" as="sourcePoint" />
<mxPoint x="283" y="160" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="87jym6ML_O6BWsMyHYAe-4" value="" style="rounded=1;whiteSpace=wrap;html=1;strokeColor=#999999;strokeWidth=2;" parent="1" vertex="1">
<mxGeometry x="360" y="6" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="87jym6ML_O6BWsMyHYAe-5" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="410" y="56" width="20" height="20" as="geometry" />
</mxCell>
<mxCell id="87jym6ML_O6BWsMyHYAe-6" value="&lt;div style=&quot;font-size: 16px;&quot;&gt;&lt;font style=&quot;font-size: 16px;&quot;&gt;FMU&lt;/font&gt;&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=20;" parent="1" vertex="1">
<mxGeometry x="390" y="26" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="87jym6ML_O6BWsMyHYAe-7" value="" style="endArrow=none;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;strokeWidth=3;strokeColor=#7EA6E0;" parent="1" target="87jym6ML_O6BWsMyHYAe-5" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="420" y="160" as="sourcePoint" />
<mxPoint x="439.65999999999997" y="100" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="87jym6ML_O6BWsMyHYAe-8" value="" style="endArrow=classic;html=1;rounded=0;fontSize=8;endSize=6;strokeColor=#006633;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="90.81" y="89" as="sourcePoint" />
<mxPoint x="90.81" y="127" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="87jym6ML_O6BWsMyHYAe-9" value="Transmit" style="text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#006633;" parent="1" vertex="1">
<mxGeometry x="29" y="102" width="60" height="10" as="geometry" />
</mxCell>
<mxCell id="87jym6ML_O6BWsMyHYAe-10" value="" style="endArrow=none;html=1;rounded=0;fontSize=8;endSize=6;startArrow=classic;startFill=1;endFill=0;fillColor=#f8cecc;strokeColor=#990000;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="269" y="89" as="sourcePoint" />
<mxPoint x="269" y="127" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="87jym6ML_O6BWsMyHYAe-11" value="Bus Error" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#990000;" parent="1" vertex="1">
<mxGeometry x="270" y="105" width="90" height="10" as="geometry" />
</mxCell>
<mxCell id="87jym6ML_O6BWsMyHYAe-12" value="" style="endArrow=none;html=1;rounded=0;fontSize=8;endSize=6;startArrow=classic;startFill=1;endFill=0;fillColor=#f8cecc;strokeColor=#990000;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="428" y="89" as="sourcePoint" />
<mxPoint x="428" y="127" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="87jym6ML_O6BWsMyHYAe-14" value="" style="endArrow=none;html=1;rounded=0;fontSize=8;endSize=6;startArrow=classic;startFill=1;endFill=0;fillColor=#f8cecc;strokeColor=#990000;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="107" y="89" as="sourcePoint" />
<mxPoint x="107" y="127" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="87jym6ML_O6BWsMyHYAe-16" value="" style="verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.flash;fontSize=8;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
<mxGeometry x="243" y="140" width="32" height="40" as="geometry" />
</mxCell>
<mxCell id="KrRxnjXIWImUbvIDb2Ig-5" value="Bus Error" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#990000;" parent="1" vertex="1">
<mxGeometry x="429" y="105" width="90" height="10" as="geometry" />
</mxCell>
<mxCell id="KrRxnjXIWImUbvIDb2Ig-7" value="Bus Error" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=8;fontColor=#990000;" parent="1" vertex="1">
<mxGeometry x="109" y="105" width="90" height="10" as="geometry" />
</mxCell>
<mxCell id="AOx-TkYyCgbOwTKHLzrx-1" value="Normal Active" style="text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=6;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="44" y="9" width="110" height="10" as="geometry" />
</mxCell>
<mxCell id="AOx-TkYyCgbOwTKHLzrx-2" value="Normal Active" style="text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=6;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="204" y="9" width="110" height="10" as="geometry" />
</mxCell>
<mxCell id="AOx-TkYyCgbOwTKHLzrx-3" value="Normal Active" style="text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=6;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="364" y="9" width="110" height="10" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
3 changes: 3 additions & 0 deletions docs/images/ethernet_error_handling_overview.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 583004e

Please sign in to comment.