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.

TMS320C6748BZWT nor flash boot question

Other Parts Discussed in Thread: OMAP-L138, OMAPL138, AM1808, CCSTUDIO

Good,

My design had use nor flash memory (IC is SST39VF1601). Bootloader from this NOR Flash.

Two question:

1、How do I for bootloader?

2、How support this IC (SST39VF1601) With TI Serial Flasfer Host Program for OMAP-L138(sfh_OMAP_L138.exe)?

Thanks !

  • 1) You can use either the serial flash host program or the CCS based NOR flasher.

    2) To use with either program, you will have to update the EMIFA timings to match the timings for that NOR flash, and then rebuild the program. Rebuilding the CCS-based flasher is easier so you might want to start with that one.

    Jeff

  • Hi Jeff

    I'm successful using the CCS based NOR flasher.

    I want to use the Serial flash host program tools(OMAP_L138_FlashAndBootUtils_2_29) to bootloader the TMS320C6748B.
    According to the comments in the source code of OMAP_L138_FlashAndBootUtils_2_29, this Serial flash host program tool only support the DDRAM. But I use a SDRAM chip(K4S561632) and a nor flash chip(SST39VF1601) in my design. Would you please give me some advice on how to make the Serial flash host program tool support the K4S561632 and SST39VF1601?


    Thanks a lot!

  • You would have to modify the memory initialization functions to enable the SDRAM rather than the DDR. The changes are probably too complicated to discuss here and it would be a lot of work. However the source is all there for you to modify if you choose to go that route.

    Jeff

  • CCS changelog Common device.mak GNU makefile Software_Manifest.doc
    [root@localhost OMAP-L138]# make

    make[2]: gmcs:命令未找到
    make[2]: *** [../sfh_OMAP-L138.exe] 错误 127

    make -C CCS all
    make[1]: Entering directory `/usr/OMAPL138/OMAP-L138/CCS'
    make[2]: Entering directory `/usr/OMAPL138/OMAP-L138/CCS/NANDWriter'
    timake NANDWriter_DSP.pjt Debug -a
    make[2]: timake:命令未找到
    make[2]: *** [all] 错误 127
    make[2]: Leaving directory `/usr/OMAPL138/OMAP-L138/CCS/NANDWriter'
    make[2]: Entering directory `/usr/OMAPL138/OMAP-L138/CCS/NORWriter'
    timake NORWriter_DSP.pjt Debug -a
    make[2]: timake:命令未找到
    make[2]: *** [all] 错误 127

    make[2]: Leaving directory `/usr/OMAPL138/OMAP-L138/CCS/NORWriter'
    make[2]: Entering directory `/usr/OMAPL138/OMAP-L138/CCS/SPIWriter'
    timake SPIWriter_DSP.pjt Debug
    make[2]: timake:命令未找到
    make[2]: *** [all] 错误 127
    make[2]: Leaving directory `/usr/OMAPL138/OMAP-L138/CCS/SPIWriter'
    make[2]: Entering directory `/usr/OMAPL138/OMAP-L138/CCS/UBL_ARM'
    Building UBL_SPI_MEM.pjt for device OMAPL138
    /bin/sh: timake: command not found
    mv: 无法 stat “UBL_SPI_MEM.ais”: 没有那个文件或目录
    Building UBL_SPI_MEM.pjt for device AM1808
    /bin/sh: timake: command not found
    mv: 无法 stat “UBL_SPI_MEM.ais”: 没有那个文件或目录
    Building UBL_SPI_MEM.pjt for device INTDEV0
    /bin/sh: timake: command not found
    mv: 无法 stat “UBL_SPI_MEM.ais”: 没有那个文件或目录
    Building UBL_NAND.pjt for device OMAPL138
    /bin/sh: timake: command not found
    mv: 无法 stat “UBL_NAND.ais”: 没有那个文件或目录
    Building UBL_NAND.pjt for device AM1808
    /bin/sh: timake: command not found
    mv: 无法 stat “UBL_NAND.ais”: 没有那个文件或目录
    Building UBL_NAND.pjt for device INTDEV0
    /bin/sh: timake: command not found
    mv: 无法 stat “UBL_NAND.ais”: 没有那个文件或目录
    Building UBL_NOR.pjt for device OMAPL138
    /bin/sh: timake: command not found
    mv: 无法 stat “UBL_NOR.ais”: 没有那个文件或目录
    Building UBL_NOR.pjt for device AM1808
    /bin/sh: timake: command not found
    mv: 无法 stat “UBL_NOR.ais”: 没有那个文件或目录
    Building UBL_NOR.pjt for device INTDEV0
    /bin/sh: timake: command not found
    mv: 无法 stat “UBL_NOR.ais”: 没有那个文件或目录
    make[2]: *** [all] 错误 1
    make[2]: Leaving directory `/usr/OMAPL138/OMAP-L138/CCS/UBL_ARM'
    make[2]: Entering directory `/usr/OMAPL138/OMAP-L138/CCS/UBL_DSP'
    Building UBL_SPI_MEM.pjt for device C6748
    /bin/sh: timake: command not found
    mv: 无法 stat “UBL_SPI_MEM.ais”: 没有那个文件或目录
    Building UBL_NAND.pjt for device C6748
    /bin/sh: timake: command not found
    mv: 无法 stat “UBL_NAND.ais”: 没有那个文件或目录
    Building UBL_NOR.pjt for device C6748
    /bin/sh: timake: command not found
    mv: 无法 stat “UBL_NOR.ais”: 没有那个文件或目录
    make[2]: *** [all] 错误 1
    make[2]: Leaving directory `/usr/OMAPL138/OMAP-L138/CCS/UBL_DSP'
    make[1]: *** [all] 错误 2
    make[1]: Leaving directory `/usr/OMAPL138/OMAP-L138/CCS'
    make: *** [all] 错误 2

     

    why?

  • It looks like the make file is not finding the timake binary. It should be located in your CCStudio directory in the cc/bin subdirectory.

    Are you compiling in Linux or Cygwin environment? If it is Cygwin try adding the CCS bin directory to your path.

    Jeff

  • The CCS directory contains CCSv3 projects which use a tool, called timake, to build the CCS project files from the command line (i.e. Makefiles).  If you are compiling on a Linux system, you will not want to compile the CCS projects, and instead should only compile the components under the GNU path.