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.

MCSDK: program_evm stops flashing after initializing DDR3, no error message displayed

Other Parts Discussed in Thread: TCI6638K2K

Hello,

I have a keystone 2 board (66K2H) and am trying to program the NAND flash with the updaated SDK demonstration image. I have not found any information on the wiki or through searching the forums for these answers.

I am using the XDS2XX onboard JTAG, WIndows XP, CCS 5.5, TI emupack 1.0.0.4 (updated acording to what CCS thinks is the latest), teh MCSDK (latest release). I have not specified a custom PROGRAM_EVM_TARGET_CONFIG_FILE (when I specified one, it claimed the board was in reset, if I use the CCS default it does things), and on SW1 #3 is off, #4 is on. Do I need to erase the flash before I can reprogram it, or is overwriting it sufficient? The console output from my attempt is below.

Thanks

------------------------------
C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm>%DSS_SCRIPT_DIR%\dss.bat program_evm.js evmk2h -ls
board: evmk2h
endian: Little
emulation: XDS2xx emulator
binaries: C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm/binaries/evmk2h/
ccxml: C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm/configs/evmk2h/evmk2h.ccxml

C66xx_0: GEL Output:
Connecting Target...

C66xx_0: GEL Output: TCI6638K2K GEL file Ver is 1.3

C66xx_0: GEL Output: Detected PLL bypass disabled: SECCTL[BYPASS] = 0x00000000

C66xx_0: GEL Output: (3a) PLLCTL = 0x00000040

C66xx_0: GEL Output: (3b) PLLCTL = 0x00000040

C66xx_0: GEL Output: (3c) Delay...

C66xx_0: GEL Output: (4)PLLM[PLLM] = 0x0000000F

C66xx_0: GEL Output: MAINPLLCTL0 = 0x07000000

C66xx_0: GEL Output: (5) MAINPLLCTL0 = 0x07000000

C66xx_0: GEL Output: (5) MAINPLLCTL1 = 0x00000040

C66xx_0: GEL Output: (6) MAINPLLCTL0 = 0x07000000

C66xx_0: GEL Output: (7) SECCTL = 0x00090000

C66xx_0: GEL Output: (8a) Delay...

C66xx_0: GEL Output: PLL1_DIV3 = 0x00008002

C66xx_0: GEL Output: PLL1_DIV4 = 0x00008004

C66xx_0: GEL Output: PLL1_DIV7 = 0x00000000

C66xx_0: GEL Output: (8d/e) Delay...

C66xx_0: GEL Output: (10) Delay...

C66xx_0: GEL Output: (12) Delay...

C66xx_0: GEL Output: (13) SECCTL = 0x00090000

C66xx_0: GEL Output: (Delay...

C66xx_0: GEL Output: (Delay...

C66xx_0: GEL Output: (14) PLLCTL = 0x00000041

C66xx_0: GEL Output: PLL has been configured (CLKIN * PLLM / PLLD / PLLOD = PLLO
UT):

C66xx_0: GEL Output: PLL has been configured (122.88 MHz * 16 / 1 / 2 = 983.04 M
Hz)

C66xx_0: GEL Output: Power on all PSC modules and DSP domains...

C66xx_0: GEL Output: Set_PSC_State... Timeout Error #03 pd=27, md=48!

C66xx_0: GEL Output: Power on all PSC modules and DSP domains... Done.

C66xx_0: GEL Output: WARNING: SYSCLK is the input to the PA PLL.

C66xx_0: GEL Output: Completed PA PLL Setup

C66xx_0: GEL Output: PAPLLCTL0 - before: 0x0x07080400    after: 0x0x07080400

C66xx_0: GEL Output: PAPLLCTL1 - before: 0x0x00002040    after: 0x0x00002040

C66xx_0: GEL Output: DDR begin

C66xx_0: GEL Output: XMC setup complete.

C66xx_0: GEL Output: DDR3 PLL (PLL2) Setup ...

C66xx_0: GEL Output: DDR3 PLL Setup complete, DDR3A clock now running at 666 MHz
.

C66xx_0: GEL Output: DDR3A initialization complete

C66xx_0: GEL Output: DDR3 PLL Setup ...

C66xx_0: GEL Output: DDR3 PLL Setup complete, DDR3B clock now running at 800MHz.


C66xx_0: GEL Output: DDR3B initialization complete

C66xx_0: GEL Output: DDR done


C:\ti\mcsdk_bios_3_00_01_12\tools\program_evm>
------------------------------