Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In built loopback test #432

Open
CarlFK opened this issue Apr 17, 2018 · 1 comment
Open

In built loopback test #432

CarlFK opened this issue Apr 17, 2018 · 1 comment

Comments

@CarlFK
Copy link
Contributor

CarlFK commented Apr 17, 2018

The board should be able to test itself if an input is hooked to an output.
hdmi cable from output0 to input0

H2U 00:26:36>o0 on
Enabling output0
H2U 00:26:42>i0 on
Enabling input0
H2U 00:26:44>x c p 0
Connecting pattern to output0
H2U 00:26:55>test loopback o0 01
test passed.

It can test edid and picture data and maybe more.

@mithro
Copy link
Member

mithro commented Apr 17, 2018

This should be pretty easy to do in the softcpu firmware already.

The steps would be;

  1. Add a method for calculating a checksum / CRC across a region of memory.
  2. Add a method for writing the next input frame to a different region of memory.
  3. Calculate checksum / CRC over both regions and compare.

I believe that @cr1901 has already added some checksum / CRC code to the firmware so step (1) might already be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants