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.

problem with evmdm6437 gel file when shifting from CCS3.3 to CCS5.2

I am getting the following error : 

C64XP_0: GEL Output:
EVMDM6437 Startup Sequence

C64XP_0: GEL Output: Setup CacheC64XP_0: GEL: Error while executing OnTargetConnect(): Driver did not attempt to write memory at 0x01845028 at *((unsigned int *) 0x01845028)=1 [evmdm6437.gel:239] at Setup_Cache() [evmdm6437.gel:38] at OnTargetConnect() .
C64XP_0: GEL Output: Disable VPSS
C64XP_0: GEL: Error calling OnPreFileLoaded(): Driver did not attempt to read memory at 0x01C70404 at (*((unsigned int *) 0x01C70404)&=~(0x00000001)) [evmdm6437.gel:296] at Disable_VPSS() [evmdm6437.gel:73] at OnPreFileLoaded()
C64XP_0: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
C64XP_0: GEL Output: Clear L2 Cache in DDR Range
C64XP_0: GEL Output: Setup CacheC64XP_0: GEL: Error while executing OnRestart( 0 ): Driver did not attempt to write memory at 0x01845028 at *((unsigned int *) 0x01845028)=1 [evmdm6437.gel:239] at Setup_Cache() [evmdm6437.gel:109] at OnRestart(0) .

using the same gel file that is working in the CCS3.3 

Is there anything to notice ? 

the gel file relevant lines are: 

nTargetConnect( )
{
GEL_TextOut( "\nEVMDM6437 Startup Sequence\n\n" );

////Setup_Cache( ); // Setup L1P/L1D Cache

Setup_Pin_Mux( ); // Setup Pin Mux
Setup_Psc_All_On( ); // Setup All Power Domains 

......

Power_Test_Setup_Pin_Mux( )
{
GEL_TextOut( "Setup PinMux... " );
#define BOOTCFG *( unsigned int* )( 0x01c40014 )
#define PINMUX0 *( unsigned int* )( 0x01c40000 )
#define PINMUX1 *( unsigned int* )( 0x01c40004 )
#define VDD3P3V_PWDN *( unsigned int* )( 0x01c40048 )


if ( ( BOOTCFG & 0x00020000 ) == 0 )
{
GEL_TextOut( "(Normal operation)... " );
PINMUX0 = 0x57508691;//0x00148601;//0x00148001;//0x00D08691;
/*| ( 0 << 30 ) // CI10SEL - No CI[1:0]
| ( 0 << 28 ) // CI32SEL - No CI[3:2]
| ( 0 << 26 ) // CI54SEL - No CI[5:4]
| ( 0 << 25 ) // CI76SEL - No CI[7:6]
| ( 0 << 24 ) // CFLDSEL - No C_FIELD
| ( 0 << 23 ) // CWENSEL - No C_WEN
| ( 0 << 22 ) // HDVSEL - No CCDC HD and VD
| ( 1 << 20 ) // CCDCSEL - CCDC PCLK, YI[7:0] enabled
| ( 4 << 16 ) // AEAW - EMIFA full address mode
| ( 1 << 15 ) // VPBECLK - VPBECLK enabled
| ( 0 << 12 ) // RGBSEL - No digital outputs
| ( 0 << 10 ) // CS3SEL - LCD_OE/EM_CS3 disabled
| ( 0 << 8 ) // CS4SEL - CS4/VSYNC disabled
| ( 0 << 6 ) // CS5SEL - CS5/HSYNC disabled
| ( 0 << 4 ) // VENCSEL - Video encoder outputs disabled
| ( 1 << 0 );*/// AEM - 8-bit EMIFA, 8-bit CCDC in
}

/*
* PINMUX settings for PCI operation
*/
if ( ( BOOTCFG & 0x00020000 ) != 0 )
{
GEL_TextOut( "(PCI operation)... " );
PINMUX0 = 0x00148000;
/*| ( 0 << 30 ) // CI10SEL - No CI[1:0]
| ( 0 << 28 ) // CI32SEL - No CI[3:2]
| ( 0 << 26 ) // CI54SEL - No CI[5:4]
| ( 0 << 25 ) // CI76SEL - No CI[7:6]
| ( 0 << 24 ) // CFLDSEL - No C_FIELD
| ( 0 << 23 ) // CWENSEL - No C_WEN
| ( 0 << 22 ) // HDVSEL - No CCDC HD and VD
| ( 1 << 20 ) // CCDCSEL - CCDC PCLK, YI[7:0] enabled
| ( 4 << 16 ) // AEAW - EMIFA full address mode
| ( 1 << 15 ) // VPBECLK - VPBECLK enabled
| ( 0 << 12 ) // RGBSEL - No digital outputs
| ( 0 << 10 ) // CS3SEL - LCD_OE/EM_CS3 disabled
| ( 0 << 8 ) // CS4SEL - CS4/VSYNC disabled
| ( 0 << 6 ) // CS5SEL - CS5/HSYNC disabled
| ( 0 << 4 ) // VENCSEL - Video encoder outputs disabled
| ( 0 << 0 );*/// AEM - N/A
}

PINMUX1 = 0x00200100;//0x00208500;//0x00201100;//0x01618530;
/*| ( 1 << 24 ) // SPBK1 - McBSP1 enabled
| ( 1 << 22 ) // SPBK0 - McBSP0 enabled
| ( 2 << 20 ) // TIM1BK - UART1 enabled, Timer1 disabled
| ( 1 << 16 ) // TIM0BK - Timer0 enabled
| ( 2 << 14 ) // CKOBK - CLKOUT disabled, PWM2 enabled
| ( 0 << 12 ) // PWM1BK - PWM1 disabled, GIO84 enabled
| ( 1 << 10 ) // UR0FCBK - UART0 HW flow control enabled
| ( 1 << 8 ) // UR0DBK - UART0 data enabled
| ( 3 << 4 ) // HOSTBK - VLYNQ + MII + MDIO Mode
| ( 0 << 0 );*/// PCIEN - PCI disabled

VDD3P3V_PWDN = 0x00000000; // Everything on
GEL_TextOut( "[Done]\n" );
}

Thanks 

Yosefa