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.

Initiating the EVM6472

Dear Sir/Mrs. 

I am using the EVM6472 board.   I started reading. I need only the memory of the EVM. In addition, I want to understand completely the rational beyond the demo OOBDemo_Bios6 which is supplied with the evaluation board. More specifically, I want to understand the mechanism in the XDC tools which generates the call to the function EVM_init. 

The question is: What libraries to include?

 

  • Dr. Singer,

    I cannot truly answer your question, but I wanted to offer some comments in case they will help you.

    I believe that the OOBDemo_Bios6 comes with instructions allow you to build it completely. Is this correct? If so, all of the libraries are included in the project's Build Properties under the Linker's options. Also, the .cmd file(s) will have all of the libraries listed explicitly.

    Since I have not taken on the task of using BIOS6 and XDC, yet, I cannot offer any specific recommendations of what to read. But all of the documentation should be included with the tools.

    It is my understanding that CCSv5 has improved Help features. Are you using CCSv5 or CCSv4?

    Which documents have you started reading? There is an XDC Tools User's Guide, and I believe there are good docs for the Demo.

    Regards,
    RandyP

  • Dear Randy, 

    Thank you for your answer.  I see the demo to study and get conclusions how everything is integrated. The demo does not have any documentation which can leads to the understanding its structure and logic.

    The XDC tools invoke the function EVM_init, which is very clear and loical. The point is, to what library does it belong? where to find it and include it.

     

    best regadrs,

    Yehuda

     

  • Dr. Singer,

    Is your question about EVM_init because you are unable to build the demo without finding the library that contains EVM_init? Or is you question about which library the linker is successfully finding EVM_init?

    The linker output .map file may have the answer to the second question. Search it for the EVM_init location then find which object module is used from which library.

    Regards,
    RandyP

     

    If this answers your question, please click the  Verify Answer  button below. If not, please reply back with more information.

  • Dear randy

    The questions is: which library the linker is successfully finding EVM_init?

    Best regadrs,

    Yehuda

     

  • In this case, it is a simple case of searching the .map file as I stated above. Search for EVM_init. This may get you to the final answer immediately, or it may get you to the address of the symbol. If it is the address of the symbol, then you can do a visual search for where that address is within the .text section, and the module for that section is named and its library is named in the .text section of the .map file.

    The two excerpts below show what you might find when doing a search for CSL_edma3HwChannelControl.

    sample .map file excerpts said:
    .text      0    00823d60    00002140     
                      00823d60    00000b00     main.obj (.text)
                      00824860    000004a0     csl_c6472.lib : csl_edma3HwChannelControl.o (.text:csl_section:edma3:_CSL_edma3HwChannelControl)
                      00824d00    000003e0                   : csl_edma3HwControl.o (.text:csl_section:edma3:_CSL_edma3HwControl)

    00825d00   _CSL_edma3GetParamHandle
    00824860   _CSL_edma3HwChannelControl
    00824d00   _CSL_edma3HwControl

    1. Search for the global symbol CSL_edma3HwChannelControl, which is found in the symbols area at the address 00824860.
    2. Search the .text or other sections for the address 00824860, which in this case is at the beginning of the module.
    3. The library name is listed, csl_c6472.lib in this example.

    Regards,
    RandyP

     

    If this answers your question, please click the  Verify Answer  button below. If not, please reply back with more information.