Line and Frame errors are flagged if the line and frame sizes do not match with the configured values in the AXI VDMA. AXI VDMA does not halt when these errors occur. It logs the error in status register and continues processing the frames. Table: Line and Frame Errors in Read Path lists errors in the Read(MM2S) path and Table: Line and Frame Errors in Write Path lists errors in the Write(S2MM) path.
Table 2-24: Line and Frame Errors in Read Path
Cause
|
MM2S Errors
|
Operating Mode
|
|
Register setting
|
Free run
|
Fsync mode
|
VDMA configured for too many lines w.r.t. Streaming Slave
|
SOFEarlyErr (bit7 of offset 0x04h).
|
N/A
|
Channel does not HALT. Channel goes out-of-sync until next fsync, asserts tvalid Low and does not provide any data until next fsync.
|
Table 2-25: Line and Frame Errors in Write Path
Cause
|
S2MM Errors
|
Operating Mode
|
|
Register setting
|
Free run
|
Fsync mode
|
VDMA configured for too many lines w.r.t. Streaming Master
|
SOFEarlyErr (bit 7 of offset 0x34h).
|
In free run mode, the channel ignores external frame syncs (s2mm_fsync/s2mm_tuser); therefore this error is not possible. Channel waits infinitely for pending lines.
|
Channel does not HALT. Channel goes out-of-sync until next fsync, asserts tready High but does not transfer data till next fsync.
|
VDMA configured for too few lines w.r.t. Streaming Master
|
SOFLateErr (bit 11 of offset 0x34h).
|
In free run mode, after receiving programmed VSIZE number of lines, the channel starts writing to the next frame buffer; therefore this error is not possible.
|
After receiving the VSIZE number of video lines, the channel continues to assert tready High. If Streaming Master drives more data, it is dropped and this error bit is set.
|
VDMA configured for too many bytes per line w.r.t. Streaming Master
|
EOLEarlyErr (bit 8 of offset 0x34h).
|
Channel does not HALT.
|
Channel does not HALT.
|
VDMA configured for too few bytes per line w.r.t. Streaming Master
|
EOLLateErr (bit 15 of offset 0x34h).
|
Channel does not HALT. Extra bytes received in the line are dropped.
|
Channel does not HALT. Extra bytes received in the line are dropped.
|