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.

Centaurus USB_PLL Init is in Progress, Please wait

Other Parts Discussed in Thread: ALP

Respected Sir/Madam,

I am using Centaurus board(TMDXEVM8148 ALP). WHen i try to connect to the Cortex A8 processor, after loading GEL files, it stops at msg on consol:

Centaurus USB_PLL Init is in Progress, Please wait............

or some times it stops at msg:

PRCM for EMIF0, EMIF1 and DMM are in Progress, Please wait...........

and then i got this error:

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

is it GEL files problem or something wrong ? Please help me.

I am using CCS v  4.2.2.00033  and i am using spectrum digital's XDS 510 USB JTAG. i am attaching my gel files also:

8015.Copy of New_Centaurus_20Mhz_Si.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();
}

Thanks in advance.