This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Hyperlink Strange problem...

Hi,

I have a very strange problem using Hyperlink between two EVMC6678 boards.

I based my code on the hyperlink example given with MCSDK.


I use exactly the same code for the two boards and I have one computer per board.

The thing is, there is some bugs on one board and they don't appear on the other board.

1) When I start the program on the non-buged board, it waits until it sees the other DSP through hyperlink. Then I start the program on the other board. The first DSP detects the other DSP and it makes some tests on the link. The tests pass fine.

But on the second DSP, the tests don't pass, and there is some errors.(lError, rError, ....)

2) When I first start the buged board, it waits until it sees the other board through hyperlink. The thing is, when I start the other board, the buged board doesn't see the other board (status.link always turned to 0) but the second board jump out the while loop because it detects the other board.

This two problems seem very strange to me because i run exactly the same example on the two boards. I already tried to interchange the boards, in vain. So maybe the problem comes from the computer...

Is someone has any ideas on the subject ? Thank you very much.

  • The hyperlink consists of 4 SERDES lanes pointing each direction.  It looks like one direction is coming up but the other direction isn't. The lError/rError are fatal.

    Try reversing the cable to see if the cable is bad.

    Try reducing it from 4 lane to 1 lane to see if the problem is in lane 2-4 (define hyplnk_EXAMPLE_ALLOW_1_LANE, and remove _0_LANE and _4_LANE)

    Try reducing the speed (hyplnk_EXAMPLE_SERRATE_*).  Even try 1p250 as a test case.

  • Thank you for your fast reply.

    I'm actually OOO so I'll try to do what you said on Monday.

    I'll give a feedback.

  • Well...

    I tried the Hyperlink example given by Texas in the MCSDK file and it's working fine on both DSPs.

    So I've got some bugs in my own code. But it's really weird because it's working fine on one DSP and it's working differently on the other.

    Actually the error comes from ECCErrors.sglErrCor. This bit is set to 1 on the DSP "B" but it is never set on DSP "A". Do you think I can ignore this error?

    Regards.

    EDIT :

    Okay it's working fine for now. I interchanged the code between the two computers and I redifined the RTSC files because they were not totaly identical.

    Thank you for your help and I hope my feedback would help someone else in the futur!

    Regards.