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.

Flashing problem on C6748 Custom board

Other Parts Discussed in Thread: OMAPL138, OMAP-L138

hi:

I have developed my custom board using C6748 Processor , there is no DDR or mDDR External memory on my board b/c it is not required in my application.but  the board is working fine with other pheripherals used on the board

I am having a problem in flashing the image in SPI_1 Flash from USART.

i have checked the image flashing using logic PD OMAP L138 kit , it is working totally fine.

flashing tool used is : sfh_OMAPL138.exe

When i run the same procedure on my custom board it always struck on  " Waiting for sft for the OMAPL138".I have checked on other forum related to this problem all are discussing about DDR timing initialization.but i want to skip this step b/c i am not using DDR memory.

I have successfully rebuild the utility  sfh_OMAPL138.exe for m board.but i dont know that where i can disable the DDR memory.I have tried to disable different function in "device.c"  file but they are not working.

plz suggest me what to do about this as soon as possible.i am in delivering stage of my project but due to this problem i am getting late.

  • Hi Bilal,

    The Sfh tool is designed to run from the external memory so you would have to modify its memory map to place the sft tool to run from the device internal memory. This may not be as straight forward to change so I would recommend that you try flashing the device with the SPI writer code provided where chnaging the memory map is simpler (only requires chnage in the linker command file.). Also, please ensure that you make necessary changes to make the read/write/erase instructions used in the SPI writer so that it is compatible with the SPI flash you have on your custom board.

    I will try to look at the sfh code to see if it is possible to run the tool from device memory instead of the DDR.

    Regards,

    Rahul

  • if i use Sft tool can you plz tell me that from where can i change the memory map address to internal memory.I have already recompile the whole sft_OMAPL138 code but i can,t find any memory map address for that.

    where as SPI Writer is a JTAG programming tool,i am using XDS100v2 programmer , is it possible with that

    and also tell me that where can i find the SPI writer code.i will also try with this.

    thanks, for reply so early.

  • I have succesfully write the blinking LED program in my custom board using SPI Write.

    Only the change which i have done in SPI Writer Code is change the memory map address in the linker file as shown below:

    .extram
    {
    . += 0x00020000;
    } load = L2RAM, FILL=0x00000000, type=DSECT, START(_EXTERNAL_RAM_START), END(_EXTERNAL_RAM_END), SIZE(_EXTERNAL_RAM_SIZE)

    I have checked two to 3 programs , they are working fine.But there flashing time increases due to code size.

    Now one problem is still remaning that DSP-Bios images are not correctly flashed.Normal c programs are working fine.

  • Did these BIOS examples run on the custom board when they were loaded over JTAG?

    If you didnt check this, generate a map file(.map) for the DSP BIOS application and confirm that they are not using external memory. Generally this is done by specifying -m option with the linker. I believe this could be the reason for the fail. If BIOS is using default platform definition from XDCtools then it is likely to define external memory configuration. Also ensure that your BIOS tcf file places all the code sections in the internal memory.

    Regards,

    Rahul

  • Dear sir,

    I have faced the same problem as you. I have my custom board without any DDR/mDDR memory and JTAG connector.

    I would like to flash my program into my 16-bit NAND flash by sfh_OMAP-L138.exe.

    I had ediited the DSP_sft.cmd and try to edit the program code in order to skip the DDR routine, but failed. Do you solve your problem already? Please kindly advise me if you have any ideas or solutions.

    Thank you so much for your kind attention and look forward to your reply.

    Best Regards,

    Ada