AM62A7-Q1: How to see print debug for *.gel in CCS

Part Number: AM62A7-Q1

Tool/software:

Hi, Dear Expert

I saw some printf in *.gel, examle like,

hotmenu AM62A_DDR_Initialization_ECC_Disabled() {
	if( (HW_RD_REG32(AM62A_DDRSS_CTL_BASE + DDRSS_CTL_0__SFR_OFFS)&0x0000FFFF) != 0x0000)
	{
			printf("\n");
			printf("DDR programming has already been attempted. \n");
			printf("DDR Initialization GEL script is being skipped...\n");
			printf("\n");
	}
	else
	{
		TI_disable_ECC(); 

        if(DDR_MODE == DDR4)
            printf("--->>> DDR4 Initialization is in progress ... <<<---\n");
        else if(DDR_MODE == LPDDR4)
            printf("--->>> LPDDR4 Initialization is in progress ... <<<---\n");

But I can not see print out in CCS console output, How to enable it?

Thank You.

Gibbs

  • Hello Gibbs,

    I have assigned your thread to the right expert. However, because of the holiday season, please expect a delay in response. Feel free to ping this thread if you don't get a response by next week. 

    Regards,

    Nihar Potturu, 

  • Hello Gibbs,

    But I can not see print out in CCS console output, How to enable it?

    Can you please confirm are you checking the correct CCS console for GEL outputs?

    Are you getting any error messages, if yes please share it with us?

    Please refer below video.

    Regards,

    Tushar

  • Hi, Tushar

    * EVM : AM62A SK_EVM

    * Boot : eMMC boot with Linux

    * Run sample code : hello_world_am62ax-sk_mcu-r5fss0-0_nortos_ti-arm-clang

    * CCS version : 12.8.0

    I beliece use the right "console" windew, but no GEL log print out

    Do I miss anything?

    Thank You.

    Gibbs

  • Hello Gibbs,

    I do not think you are running any GEL files in the above screenshots. 

    Can you please tell how are you running the GEL scripts with detailed steps? It would be better if you can provide a screen record just like I have provided in my above response.

    Regards,

    Tushar