Other Parts Discussed in Thread: TMS570LS3137
Tool/software:
Hi TI teams,
My customer wants to upgrade from TMS570LS3137 to TMS570LC4357 and face some problems when he mitgrate the configuration and settings.
*EMIF CS2 address: 0x60000000~0x63FFFFFF control FPGA
*EMIF CS3 address: 0x64000000~0x67FFFFFF control SRAM
*HAL Code Generator:
HAL Code Generator config.
EMIF ASYNC1 -> ASIZE select 16_bit
EMIF ASYNC2 -> ASIZE select 16_bit
SRAM test is normal
While testing FPGA:
volateile unsigned short *pFPGA_LED_base =(unsigned short *)0x60000028;
int i, j;
j=0;
for(;;)
{
// delay loop ()
j++;
if(j==20000)
{
*pFPGA_LED_base=0x0301;
}
if(j==40000)
{
*pFPGA_LED_base=0x0002
}
}
The output at EMIF data bus is not correct, D15~D8 and D7~D0 are swapped.
But the coding above is normal at TMS570LS3137
If the setting of CCS is same as TMS570LS3137, D15~D8 and D7~D0 are swapped still.
Could you give some advice to solveing this problem?
Thanks.