test_expedited_download (TC-SD-01) |
Expedited downloads with s = 1 and n = 0 to 3 to objects of 1 to 4 bytes, and with s = 0: the write with 4 - n bytes or with the number 0, the initiate download response with the index and sub-index; every abort code of the object model passed on |
SD-DL-01, SD-PR-01, SD-IF-03, SD-TX-01 |
test_segmented_download (TC-SD-02) |
Segmented downloads of 1 to 8 bytes in segments with every n: the responses with the toggle bit, one write at the last segment with all bytes, an abort code of the object model at the last segment |
SD-DL-02, SD-DL-03, SD-DL-04, SD-PR-05, SD-RS-03 |
test_download_sizes (TC-SD-03) |
Indicated size 9 and FFFF FFFFh: 0607 0012h; indicated size 0 and no indicated size: 0607 0010h; segments that end short of or beyond the indicated size: 0607 0010h; more than 8 bytes: 0504 0005h |
SD-DL-02, SD-DL-03, SD-DL-04 |
test_expedited_upload (TC-SD-04) |
Uploads of objects of 1 to 4 bytes: e = 1, s = 1, n = 4 - size, the data; an abort code of the object model; answers of the object model with 0 and with 9 data bytes: 0800 0000h |
SD-UL-01, SD-PR-01 |
test_segmented_upload (TC-SD-05) |
Uploads of objects of 5 to 8 bytes: the initiate response with the size, the segments with the data, n, c and the toggle bit |
SD-UL-01, SD-UL-02, SD-PR-05, SD-RS-03 |
test_toggle (TC-SD-06) |
A wrong toggle bit in the first and in a later segment of a download and of an upload: 0503 0000h, the transfer ends |
SD-PR-05 |
test_command_errors (TC-SD-07) |
Command specifiers 5, 6 and 7: 0504 0001h with the index and sub-index of the request; a download and an upload segment without a transfer and during a transfer of the other direction: 0504 0001h, the transfer ends; requests with every reserved bit set: processed as without them |
SD-PR-03, SD-PR-04, SD-PR-08 |
test_client_abort (TC-SD-08) |
A client abort during an open download and upload: the transfer ends, no reply, Evt_AbortRx; while idle: ignored, without Evt_AbortRx; during the access of an expedited download, of the last segment and of an upload: no reply, and the written object of the object model shows that the write took effect; cycle by cycle from the take of the access to the take of the reply, the cycle of the answer included; during an offered and during a taken reply |
SD-PR-07, SD-PR-09, SD-IF-06 |
test_new_initiate (TC-SD-09) |
A new initiate during an open download and upload: the old transfer ends without an abort, the new one is correct. An abandoned transfer, the client silent after the initiate response for 2000 ticks: Stat_Open stays set, and the next initiate ends it and runs correctly |
SD-PR-06, SD-RS-03 |
test_dlc (TC-SD-10) |
Requests with DLC 0 to 7: not processed, Err_RxDrop, no reply, an open transfer unchanged; DLC 8 to 15: processed |
SD-PR-02, SD-IF-06 |
test_busy (TC-SD-11) |
Requests while an access is outstanding and while a reply is offered and taken: not processed, Err_RxDrop; requests in consecutive cycles |
SD-PR-09, SD-IF-07, SD-IF-06 |
test_reply_handshake (TC-SD-12) |
Delays of Tx_Ready, the reject path, Tx_Aborted after the take (the transfer ends), no completion: Err_TxTimeout 256 ticks after the take, also for the reply after an access answered after 200 ticks and for the abort after an access without an answer, no repetition, the next request served; Evt_AbortTx for an abort frame completed as sent, none for one completed as aborted; completions while no reply is outstanding (idle, during an access of the user logic, during an offered reply): ignored |
SD-TX-01, SD-TX-02, SD-TX-03, SD-IF-02, SD-IF-05, SD-IF-06 |
test_nmt (TC-SD-13) |
Nmt_EnaSdo cleared and each reset event during an open transfer, an access not yet taken, an outstanding access of the user logic, an offered and a taken reply: the transfer and the processing end without a reply and without an abort; Stat_Open cleared. The event in the cycle in which ocan_od takes the access (an own object, and an object of the user logic answered with 0800 0022h), in the cycle of the answer and in the cycle of a request: no reply; after a reset event in the cycle of the take, a request in the cycle of the discarded answer is not processed. A request right after the event during a taken reply is processed |
SD-RS-01, SD-RS-02, SD-RS-03, SD-IF-04 |
test_access_timing (TC-SD-14) |
Answers of the object model after 1 cycle, 100 cycles and 255 ticks, and 0800 0000h after 256 ticks: the reply follows the answer by one cycle. An object that takes the access and never answers: Err_AccTimeout at the 512th tick and the abort 0800 0000h, the next request served; the same during a client abort: Err_AccTimeout without a reply; a client abort in each cycle from 6 before to 2 after Err_AccTimeout, the cycle of the 512th tick among them, checked against the reference model in every cycle |
SD-IF-03, SD-DL-01, SD-UL-01, SD-TX-04, SD-IF-06 |
test_reset (TC-SD-15) |
Rst during an open transfer and during a reply: idle afterwards, no reply |
SD-RS-04 |
test_random (TC-SD-16) |
5000 random requests (every command specifier, sizes, toggle bits, DLC) with random object sizes, delays, abort codes, handshake results, aborts and NMT events, compared with the reference |
SD-PR-01 to SD-PR-09, SD-DL-01 to SD-DL-04, SD-UL-01, SD-UL-02 |
test_net_sdo (TC-SD-17) |
Bench network, on bus A and on bus B: M1 reads 1018h sub-index 01h (expedited), writes and reads 1017h (expedited), writes 2000h sub-index 02h with s = 0, writes 2001h and reads 2002h as segmented transfers of 7 bytes, and reads an absent object (abort 0602 0000h): every reply on the bus with the identifier 580h + NODE-ID, DLC 8 and the byte order of [CiA301] |
SD-IF-01, SD-IF-02, SD-IF-03, SD-PR-01, SD-TX-01 |