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.

AM2434: Make Firmware Permanent After Power Cycles in AM2434 LP

Part Number: AM2434
Other Parts Discussed in Thread: UNIFLASH

Hello team,

I'm experiencing issues with my AM2434 LP and need some advice on how to flash the firmware permanently. Currently, after a power cycle (power off and power on), the firmware seems to completely disappear; I want to assure that the firmware remains intact and operational even after power cycles.

I tried reprogramming the device, however it loses the firmware every time I power cycle it, which is not what I expected. Can somebody help me with the processes or solutions for making the firmware permanent on the AM2434 LP?
Any advice or suggestions on how I might get a permanent firmware solution would be highly appreciated. Thanks in advance for your assistance!

  • Hello Chockalingam,

    Actually, your application will be running on DDR or MSRAM memory when you load code from CCS and if you you do power cycles, the Application will be erase since MSRAM and DDR memory will be lost after the power cycles. So, to run your application even after power cycles, you need to keep code in external memory.

    So, when you do power cycles, the SOC starts from RBL (ROM Boot loader) → SBL (Secondary Bootloader) → Application.

    In the above procedure, SBL will try to read Applications from external memory and will keep them on MSRAM or DDR, then control Jump to Application. So, the applications will starts to run on the MSRAM or DDR memory.

    So, here who will write the app images on external memory ?

    Please go through the chapter below.

    https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/09_02_00_50/exports/docs/api_guide_am243x/GETTING_STARTED_FLASH.html

    First, keep the board in UART boot mode and next send all images in the cfg file through UART.

    Here, in the cfg file you need to update your app images . The cfg files have default app images .So,here you need to replace with your app images.

    Please look at the cfg file below, the highlighted one should be an application app image. 

    You can comment on 30 lines which is not required.

    cfg path : C:\ti\mcu_plus_sdk_am243x_09_01_00_41\tools\boot\sbl_prebuilt\am243x-lp

    Please let me know if you stuck at any point .

    Regards,

    Anil.

  • Thank you very much Anil..

    The actions listed above were successful. Our application can be successfully flashed to the external flash memory permanently.


    1. Is there any method available for us to flash our application to the external flash via CCS, or do we have to repeat the previous steps each time we want to flash in AM2434 LP?

    2. Is it possible to use Uniflash to directly flash the image file to SOC?

    3. Is it possible to segregate external flash memory into two ?
         i) Flash the application  ii) Some other data storage

    Thanks & Regards

    Chockalingam