Commit 6f837d8f authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

Bug-fix. Feature test environment had Retransmitt limit enabled

and set to 0. This caused that first error went to "Failed" instead
of "Aborted" from "Abort in Progress".
Signed-off-by: Ille, Ondrej, Ing.'s avatarIlle, Ondrej, Ing <illeondr@fel.cvut.cz>
parent f87493c1
......@@ -134,11 +134,14 @@ package body txtb_state_feature is
-- Generate CAN Frame to be used during the whole test.
-- Use RTR frame to make the test shorter.
-- Wait till the end of unit integration!
-- Disable Retransmitt limit Enable, so that TXT Buffers can end up
-- also in "TX Aborted" state!
------------------------------------------------------------------------
CAN_generate_frame(rand_ctr, CAN_frame);
CAN_frame.rtr := RTR_FRAME;
CAN_frame.frame_format := NORMAL_CAN;
wait_rand_cycles(rand_ctr, mem_bus(1).clk_sys, 1600, 1601);
CAN_enable_retr_limit(false, 0, ID_1, mem_bus(1));
for i in 1 to TXT_BUFFER_COUNT loop
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment