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.

TMS320C6748: Program burning problem

Part Number: TMS320C6748
Other Parts Discussed in Thread: OMAPL138, OMAP-L138

Dear all:

        I am using TMS320C6748 device.Now there are two problems:

1, MS320C6748 can't write programs without DDR?Is there any solution?
2, Can EMIFA SDRAM replace DDR to implement flash startup and serial flash writing?

  • Part Number: TMS320C6748

    hi,
        now, our board replace DDR by EMIFA SDRAM(0x4000 0000 0x5FFF FFFF 512M).
        so we have some problems:
            1.write image to flash by uart: normally,we use sfh_OMAPL138.exe .but then find that
        this way separate in two parts:trasmit image to DDR,copy image from DDR to flash.how about EMIFA SDRAM?
            2.if system can bootup by  copy flash image to EMIFA SDRAM? normally,compiler use XXX.cmd ,can see:
                MEMORY
            {
              DRAM        org=0xC0000000 len=0x04000000 /* SDRAM */
              L2RAM       org=0x11800000 len=0x00040000 /* DSP L2RAM */  
              SHARED_RAM  org=0x80000000 len=0x00020000 /* DDR for program */
              AEMIF       org=0x60000000 len=0x02000000 /* AEMIF CS2 region */
              AEMIF_CS3   org=0x62000000 len=0x02000000 /* AEMIF CS3 region */
            }
            can we add EMIFA SDRAM by this?:
            {
                AEMIF_CS0    org=0x40000000 len=0x04000000 /* EMIFA SDRAM */
            }

    please reply as soon as prossble,  thank you very mush!

  • Timsen,

    Timsen said:
    1, MS320C6748 can't write programs without DDR?Is there any solution?

    How big is your flash image ? The default setup in our flashing tools assumes use of DDR because we need to account for image sizes ranging from KB to GB size. If you have images of smaller size then you can modify the flash writer to compy image from DSP L2 SRAM or SHRAM to flash. This is an option user can explore.

    For production, another alternative is to preflash the image on the flash before assembling it on the board and not rely on serial flashing utility.  Memory map used by the SFT tools which is the target portion of the flashing tool is defined in DSP_sft.cmd which users can modify:

    OMAP-L138_FlashAndBootUtils_2_40\OMAP-L138\GNU\sft\DSP_sft.cmd

    Replace DRAM with Shared_RAM  to use onchip shared ram.

    Timsen said:
    2, Can EMIFA SDRAM replace DDR to implement flash startup and serial flash writing?

    Yes, this is something that you can explore if you have a EMIFA SDRAM in your design. TI evaluation HW doesn`t have SDRAM on EMIFA so this is not something that we can try and test but certainly an option for custom boards.

    Regards,

    Rahul

  • I am merging the two related threads as the topic of discussion appears to be the same. 

    SFH that is part of the Serial flash and boot utilities is a reference utility that we provide for TI supported evaluation software. In addition to this we provide CCS based flash writer for NAND and NOR that can be used.   As I indicated you can certainly use EMIFA SDRAM with any of TI provided software but this will require you to replace EMIFB- DDR initialization code with EMIFA-SDRAM initialization code in the source and will require you to modify the linker command file for the application/flash tools to execute out of the memory address range allocated for EMIFA. 

    At a high level the list of modifications based on custom board design are called out in section 

    http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138#Modifications_for_Custom_Boards

    Regards,

    Rahul