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.

OMAPL137 "SPI0 Flash" boot error

Other Parts Discussed in Thread: OMAP-L137

CPU: OMAPL137(OMAPL137_v2)

 

Bootloader : D800K003

 

Periphral : 100MHz SDRAM, W25X32 

 

BootUtils package version: 2.12

 

HexAIS_OMAP-L137 version : 1.21.3814.18031

 

HexAIS_OMAP-L137's ini file:

 

<ini file start>

 

[General]

 

BootMode=SPIMASTER

 

AddrWidth=24

 

crcCheckType=SECTION_CRC

 

[PLLCONFIG]

 

PLLCFG0 = 0x18010202

 

PLLCFG1 = 0x00050800

 

[PERIPHCLKCFG]

 

PERIPHCLKCFG=0x0000000E

 

[EMIF3sdram]

 

SDCR = 0x00018421

 

SDTIMR = 0x109112A08

 

SDTIMR2 = 0x70090005

 

SDRCR = 0x000003FA

 

<ini file end>

 

==================================================

 

I'v develop my project 6 months.My program all run in SDRAM. After OMAPl137 update to V2, I meet two questions.

 

Q1: sfh_OMAP-L137 halt at "Waiting for SFT on the OMAP-L137..." 

 

cmd: sfh_OMAP-L137.exe -targetType OMAPL137_v2 -flashType SPI_MEM -erase

 

Q2: After many tests, I downloaded my ais file to spi flash by using spiflash_writer_ccsv3.out.But it cannot startup normally.

    AIS file download steps

        step1: connect OMAPL137 arm core

        step2: download spiflash_writer_ccsv3.out

        step3: run,input "dspais", and then input my ais file path.

        step4: Wait to finish, and turn the board to spi0 bootmode.

 

    After pown on reboot, OMAPL137 startup abnormally.But When I connect it using CCS,and do "CPU Reset" and "Restart", it works fine.So the program in spi0 flash has been moved in SDRAM.

    I also used UartHost and uart tool to load program . It still can not run until CPU reset and restart.

 

 

I guess the command "Jump & Close" operate failed, but didn't find out the reason now.