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.

TMS C6424 bootloader Please Help!!!

Do not start a program loaded with AIS in the NOR FLASH.
Can have any details when the program is located in the L1 and L2 and DDR?
my cmd file:


/* MODULE MEM */
-stack 0x8000
-heap 0x40000
MEMORY {
DDR2 : origin = 0x80000000, len = 0x4000000 /*Ext RAM DDR2*/
NOR_FLASH : origin = 0x42000000, len = 0x200000 /*Flash*/
/* L1DSRAM len = 0xc000 */
L1DSRAM_C : origin = 0x10f04000, len = 0x2000 /*Const section*/
L1DSRAM_D : origin = 0x10f06000, len = 0xa000 /*Massiv's*/
/* L2DSRAM len = 0x10000 */
L2DSRAM_P : origin = 0x10800000, len = 0xa000 /*Programm*/
L2DSRAM_D : origin = 0x1080A000, len = 0x6000 /*Massiv's*/
}

SECTIONS {

SectionName1: load = L1DSRAM_C
{
"C:\ti\c64plus\IQmath_v213\lib\IQmath_RAM_c64x+.lib" (.const)
}

SectionName2: load = L2DSRAM_P
{
C:\ti\c64plus\dsplib_v210\dsplib64plus.lib (.text)
"C:\ti\c64plus\IQmath_v213\lib\IQmath_c64x+.lib" (.text)
C:\ti\MyProjects\6424\Debug\vectorezed.obj (.text)
C:\ti\MyProjects\6424\Debug\Nacoplenie.obj (.text)
C:\ti\MyProjects\6424\Debug\FRNS_coef_iq.obj (.text)
C:\ti\MyProjects\6424\Debug\FRNS.obj (.text)
C:\ti\MyProjects\6424\Debug\DSP_fir_dec_r8_hM16_rM8A8X8.obj (.text)
C:\ti\MyProjects\6424\Debug\DSP_iir51.obj (.text)
C:\ti\MyProjects\6424\Debug\Interrupt_Uart.obj (.text)
C:\ti\MyProjects\6424\Debug\Interrupts_EDMA.obj (.text)
C:\ti\MyProjects\6424\Debug\Interrupts_Timer.obj (.text)
C:\ti\MyProjects\6424\Debug\Interrupt_I2C.obj (.text)
C:\ti\MyProjects\6424\Debug\synhro_f.obj (.text)
C:\ti\MyProjects\6424\Debug\cache.obj (.text)
}
.text:_memcpy : > L2DSRAM_P
.text:_memset : > L2DSRAM_P
.text:__remu : > L2DSRAM_P
.text:__divu : > L2DSRAM_P
.data:IQmathTables : > L2DSRAM_P
.text:IQmath : > L2DSRAM_P
"vectors" > L2DSRAM_P, align = 0x400
.mydata > L2DSRAM_D
.myfastdata > L1DSRAM_D
.switch: {} > L2DSRAM_P
.sysmem {} > DDR2
.bss: {} > DDR2
.far: {} > DDR2
.data: {} > DDR2
.pinit: {} > DDR2
.text: {} > DDR2
.cinit: {} > DDR2
.const: {} > DDR2 , align = 0x8
.binit {} > DDR2
.stack: {} > DDR2
}

GenAIS sort correctly determine the size of sections and those that need to ship.
Program with customized PLL and DDR (only) starts (via JTAG) correctly.
Test project which just sits in keshah starts with FLASH and running.

ini file from GenAIS:


; General settings that can be overwritten in the host code
; that calls the AISGen library.
[General]
busWidth=16
BootMode=EMIFA


; The PLL section allows setting the PLL1 system clock with a
; specified multiplier and divider as shown. The clock source
; can also be chosen for internal or external.
[PLL]
PLLM = 19
;PLLM = 20
PLLDIV1 = 0
CLK_SRC = 0


; The DDR section allows setting the DDR clock rates (PLL2) and
; the needed values for the DDR control registers. Only the 9
; paramters shown below can be set via the AIS method.
[DDR]
DDRPLLM = 25
;DDRPLLM = 26
DDRCLKDIV = 1
VPFECLKDIV = 11
CLK_SRC = 0
DDRPHYCR = 0x5000640C
SDBCR = 0x00138821
SDTIMR = 0x18923209
SDTIMR2 = 0x0055C722
SDRCR = 0x000004F3


; The EMIF section allows setting the AEMIF control registers of the
; the DM643x device to the specified values. Only the five registers
; shown below can be set via the AIS method.
[EMIF]
AB1CR = 0x0050043d
AB2CR = 0x3FFFFFFD
AB3CR = 0x3FFFFFFD
AB4CR = 0x3FFFFFFD
NANDFCR = 0x00000000

;PSC section allows configure TMS build in modules
;First param is module's ID
;Second param is ID's state (3-ON)
;By default DDR2 controller enable
;INIT GPIO module
[LPSC]
MODNUM = 26
STATE = 3

The most terrible thing that I did change the state if the pins can not edit AISExtra.c. I thought there hands initialization stick but in the course will not work.
What should I do? Maybe someone has already passed this - please share!