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.

RE: TMDS64EVM: Error ! while building the empty project

Other Parts Discussed in Thread: SYSCONFIG

Hello Tushar,

I have implemented pok project in the empty_r5-0_0 _freeRTOS,after that i have added libraries in project properties and compiled it and run.

I am getting the output something like this,


POK Test Application


sdlEsmSetupForPOK init: Init MCU ESM complete


POK ID = 1 , monitoring set to UV
Waiting for ESM to report the error
Safety software Example UC-1 pok for instance 1 FAILED


POK ID = 11 , monitoring set to OV
Waiting for ESM to report the error
Safety software Example UC-2 pok for instance 11 FAILED
Test Name: POK EXAMPLE UC-1 FAILED

Few/all tests Failed

something found while debugging ,The ESM_Error message was not getting updating.Is there anything to add?

i am attaching the screenshot for reference.

  • Hello Raj,

    You are trying to integrate the POK SDL example into a freertos environment and you are modifying the empty example of MCU+SDK for this. Is my understanding correct?

    Did you try running the default baremetal POK example and check if the test passes? This will help us in narrowing down the issue to integration with freertos. Can you share the changes you made or the your example so that I can take a look at it. 

    Regards,

    Nihar Potturu. 

  • Hello Nihar,

    I found the problem for the above quarry,

    Now i am trying to create a sample project for MCRC module by following below link

    https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/09_01_00_41/exports/docs/api_guide_am64x/SDL_MCRC_PAGE.html

    i have defined a MCRC source buffer like this,

    static uint8_t gMCRCSrcBuffer[MCRC_BUF_MAX_SIZE] __attribute__((aligned(128), section(".bss:extMemCache:ramdisk"))) = {1U};

    in the sysconfig we have configured a M4F Dram in a memory region as mentioned below 

    start address : 0x30000

    size         : 10000

    end address : 0x3FFF

    But when i compiled the proect i am gettin a Error ! program will not  fit in the memory .

    1.Why i am getting the  error and how to fix above error?

    2. I want to create a project for the M4 core ,where a single application should perform all the diagnostics supported by M4 core can you suggest me how to do ?

    For your reference i am attaching the screenshot also 

    Thank you,

    Rajkumar.

  • Hello Nihar,

    In the above issue i have reduced  gMCRCSrcBuffer[MCRC_BUF_MAX_SIZE] buffer size to 20000U which is 40000U previosly.

    And try to build the program it is building without any error .Will this cause any issue ?

  • Hi Nihar,

    I found one more issue that, while program is running in the console the print messages were printing with some delay i have checked in the  code ,we are not using any delay/ sleep except for the interrupt waiting time that can be either for esm or dpl.

    why it is behaving like that is this because of any uart communication problem or  relates to any settings that we have to do,and i checked uart configuration it is correct only as per the evm setup guide.

    Thankyou,

    Raj Kumar.