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.

OMAP Boot Code change during run time

Other Parts Discussed in Thread: OMAPL138

 I am using SPI flash to boot ARM which subsequently boot DSP in OMAP . Now that I want to change the boot code during run time,  Is it possible?

The boot code code will be fused through external UART port and sub routine will be written to write that data in FLASH during runtime only

Thanx

  • Hi Rakesh,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages. Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics.

    Please specify whether the OMAP you use is OMAPL1x??. If it is other than OMAPL-1x, the below answer may not be applicable.

    With refernce to OMAPL138 LCDK board, during run time, as long as the Boot switch settings are correct for UART flashing method, you can flash the boot code into SPI flash. ( But a power on reset button press is required by the current source code of serial flasher utilty ; That you may have to check whether it can be modified by you. )

    You can try using the Serial flash utility and its source for this requirement.

    For more info please visit:

    For any doubts, please get back.

  • Hi Shankari

    First of all thanks for the reply

    I am using OMAP L138 only.  Yes, by changing boot switch setting, we can program it from UART. But my problem is We can't change boot switch settings once the equipment will be deployed in field.

    So, we have to keep Boot switch settings same as "BOOT FROM SPI0/ SPI1 ". Now during runtime, Can we change bootcode ? My doubt is will ARM allow me to write boot code in SPI Flash  at same locations ?

  • Hi Rakesh,

    Rakesh said:
    So, we have to keep Boot switch settings same as "BOOT FROM SPI0/ SPI1 ". Now during runtime, Can we change bootcode ? My doubt is will ARM allow me to write boot code in SPI Flash at same locations ?


    Yes, ARM will allow you to write the the boot code in SPI flash at the same location as the boot code gets copied into RAM for execution. So, it wouldn't be a problem; You can flash it to SPI.