close
Warning:
Can't synchronize with repository "(default)" (/common/SVN/crkit does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jun 18, 2010, 5:52:45 PM (14 years ago)
- Author:
-
khanhle
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v2
|
|
1 | 1 | == Packet Format == |
2 | 2 | |
| 3 | The CRKit packet format is as shown in figure 3. Host must conform to this specification to enable board level communication. |
| 4 | |
| 5 | __Figure 3 - Packet Format__ |
| 6 | [[BR]][[BR]] |
| 7 | [[Image(pkt.jpg, 450px)]] |
| 8 | [[BR]][[BR]] |
| 9 | |
| 10 | The packet consists of following headers : |
| 11 | * [wiki:Software/Firmware/Framework/R3_arch/ethernet Ethernet] |
| 12 | * [wiki:Software/Firmware/Framework/R3_arch/ip IPv4] |
| 13 | * [wiki:Software/Firmware/Framework/R3_arch/udp UDP] |
| 14 | * [wiki:Software/Firmware/Framework/R3_arch/tcp TCP] |
| 15 | |
| 16 | UDP is used for Host <-> CRKit communication e.g. RMAP read/write, status and data transmission. |
| 17 | |
| 18 | At this point, fragmentation/reassembly at IP level is not yet supported. We may include this feature in the future. Note that the IP packet size must |
| 19 | be 46-1500 bytes e.g. size of ethernet payload. Hence, max. UDP payload is 1500 - 20 (IP header) - 8 (UDP header) = 1472 bytes. |
| 20 | |
| 21 | Furthermore, additional header information is added into the payload region for user specific control information : |
| 22 | |
| 23 | * [wiki:Software/Firmware/Framework/R3_arch/rmap_pkt RMAP Packet] |
| 24 | * [wiki:Software/Firmware/Framework/R3_arch/status_pkt Status Packet] |
| 25 | * [wiki:Software/Firmware/Framework/R3_arch/data_pkt Data Packet] |
| 26 | |
| 27 | Some sample packet configurations : |
| 28 | * [wiki:Software/Firmware/Framework/R3_arch/sample_rmap RMAP] |
| 29 | * [wiki:Software/Firmware/Framework/R3_arch/sample_data Data] |
| 30 | |
| 31 | [[BR]][[BR]] |
| 32 | |
3 | 33 | [..] |