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.

Starterware/66AK2L06: Serdes Setup Hangs Library

Part Number: 66AK2L06

Tool/software: Starterware

Hello Everyone,

I have started working with the EVMK2L evaluation Module and have found the platform_test_evmk2l example program in the newest Processor SDK (03.03.00.04). When I run the program, the code gets stuck in a endless loop waiting for a register value to be set correctly.

in the linked library csl_serdes2.h, line 2060, a function CSL_SerdesGetStatus is called within a do while loop. The function is reading some registers, doing some bitmasking, then returns a result to the do while loop for a check. This check infinity fails and never passes the do while.

It looks like this problem is related to the same problem linked below, which was supposed to be fixed in the SDK

https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/511962#pi316458=1


The problem affects quite afew different examples I have opened since the problem is in the library itself. This project was the easiest to get cleaned up and running, there was some linking issues in the example out of the box too.

Thanks for your help, looking forward to hearing from you soon!

Scott

  • Hi,

    I've notified the RTOS team. Their feedback will be posted here.

    Best Regards,
    Yordan
  • Hello Yordan,

    Thanks for passing this along. I am going to be using this processor for awhile and want to get to the bottom of whats happening.

    Scott
  • Hi Scott,

    How are you using the board? Running Linux? What boot mode? If running Linux, does it work with the default TI kernel and Linux-MCSDK? Can you get any of the OOB demos/test programs working? I wonder if the board configuration (jumpers) are set correctly.

    -dave
  • Hello Dave,

    I haven't been working with the board for very long, I have not done anything with linux or any of the arm cores yet. I believe the cores are still running whatever original out of the box code came with the board. I'm assuming its an arm core that is controlling the LCD menu?

    I have been programming the dsp cores using a Blackhawk usb560v2 System Trace. I have changed the SW1 boot mode switches on the board to be (On On On On) so I can do external JTAG programming.

    I opened a demo (was a hello world that communicated with a windows program over ethernet) from the older MCSDK (03.01.04.07) and after I cleaned up the linking and compiling errors I was having the same problem, being stuck in a serdes while loop waiting for the register change.

    I figured out how to compile the newest version SDK today, and I see a whole bunch of arm/dsp demos now. I will give these programs a try and see what happens.

    Scott
  • Ok Here is what I have discovered so far:

    The newest version sdk examples I compiled do not seem to have this problem (none of the examples work off the bat, they all need ALOT of cleaning up and linking to work), I am only experiencing it with the platform_test_evmk2l example program found in the processor sdk examples.

    Doing some reading online, I discovered that the lcd is being controlled by the boot mode controller (BMC). I also discovered how to get linux on a sd card and make the arm cores boot from linux.

    I do not have a sd card with a Linux image installed in the slot, would this cause the problem I'm experiencing? Is the serdes device its tying to communicate with the arm core running linux?

    Scott