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.

The GEL callback "OnTargetConnect()" is no longer running atomically

Respected Sir / Madam,

   I am using CCSV4 and i am using XDS 510 JTAG for programming my Centaurus(TMDXEVM8148ALP) board .I am trying to connect ARM Cortex A8, but when i try to connect CCS to the target after loading GEL files,after some time it stops at "MMU has been written" and then i get error message  "the GEL callback "OnTargetConnect()" is no longer running atomically". Can anybody help me in this regard. I am not understanding what to do. I restart my PC and CCS several times,also i tried to clean my project and rebuild it but nothing worked. I also tried CPU reset and SYSTEM reset but nothing helped.

Thanks in advance.

  • Hello,

    Could you provide the GEL file you are using for the A8? Also provide the exact version number of you CCSv4 install.

    Thanks

    ki

  • Thanks for reply Ki. i am sending you my Gel files and i am using CCS  4.2.200033 . I am attaching my Gel files as you said(saved as .txt format) 

    7485.evmDM8148.txt
    //Created by Shreyas Prasad (shreyasp@ti.com)
    
    #define PRCM_BASE_ADDR			0x48180000
    
    #define WR_MEM_32(addr, data)    *(unsigned int*)(addr) =(unsigned int)(data)
    #define RD_MEM_32(addr) 	  	 *(unsigned int*)(addr)
    #define UWORD32 			     unsigned int
    
    #define CM_ALWON_SPINBOX_CLKCTRL    (PRCM_BASE_ADDR + 0x1598)
    #define CM_ALWON_MAILBOX_CLKCTRL    (PRCM_BASE_ADDR + 0x1594)
    #define CM_ALWON_L3_SLOW_CLKSTCTRL	(PRCM_BASE_ADDR + 0x1400)
    
    hotmenu enableSpinlocks()
    {
        GEL_TextOut("\tPRCM for spinlock Initialization in Progress \n","Output",1,1,1);	 
        									
        WR_MEM_32(CM_ALWON_L3_SLOW_CLKSTCTRL, 2);    
        WR_MEM_32(CM_ALWON_SPINBOX_CLKCTRL,   2);    
        /* Wait for IDLEST to read 0x0 indicating that the module is fully functional */
        while(((RD_MEM_32(CM_ALWON_SPINBOX_CLKCTRL)&0x30000)>>16)!=0);
    
    	GEL_TextOut("\tspinlock Accesses are PASSED \n","Output",1,1,1);	 										
        GEL_TextOut("\tspinlock Initialization in Done \n","Output",1,1,1);	 									
    }
    hotmenu enableMaiboxes()
    {
        GEL_TextOut("\tPRCM for mailboxes Initialization in Progress \n","Output",1,1,1);	 									
    
        WR_MEM_32(CM_ALWON_L3_SLOW_CLKSTCTRL, 2);    
        WR_MEM_32(CM_ALWON_MAILBOX_CLKCTRL,   2);    
        /* Wait for IDLEST to read 0x0 indicating that the module is fully functional */
        while(((RD_MEM_32(CM_ALWON_MAILBOX_CLKCTRL)&0x30000)>>16)!=0);
    	
    	GEL_TextOut("\tmailboxes Accesses are PASSED \n","Output",1,1,1);	 										
        GEL_TextOut("\tPmailboxes Initialization in Done \n","Output",1,1,1);	 									
    }
    
    OnTargetConnect()
    {
    	GEL_LoadGel("$(GEL_file_dir)\\New_Centaurus_20MHz_Si.gel");
    	GEL_TextOut("--->>> Starting A8 <<<---\n");
    	
    	DucatiClkEnable();
    	GEMSSClkEnable();
    	
    	Unlock_PLL_Control_MMR();
    	ControlModule_ClkEnable();
    	
    	PLL_CLOCKS_Config();
    	//PrcmAlwayOnClkEnable(); //does not come out of loop
    	DDR2_Initialization();
    	//L3_PLL_Config();
    	//SATA_PLL_Config();
    	Ethernet_PinMux_Setup();
    	
    	enableMaiboxes();
    	enableSpinlocks();
    }
    5807.New_Centaurus_20Mhz.txt.

  • ki i am waiting for your rply.