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.

MCU-PLUS-SDK-AM243X: Any other method to flash other than Uart bode mode

Part Number: MCU-PLUS-SDK-AM243X
Other Parts Discussed in Thread: UNIFLASH, SYSCONFIG

Hi Sir/Madam,

I'm working on AM2431BSDFHIALVR micro-controller. I have initialized the SoC using CCS scripting. I have gone through the study guide for flashing the board, in which it is mentioned the board should be in uart bode mode.

In our custom board, the uart boot mode is not available. Is there is any other method for flashing the board. Help us with this issue.

Regards,

Kathir.

  • Hi Aakash,

    Your suggestion helped us. Thank you for the reply.

    Regards,

    Kathir.

  • Hi Aakash,
    we are using the

    Hi Aakash,
    we are using the sbl_jtag_uniflash_am243x-evm_r5fss0-0_nortos_ti-arm-clang example project to flash our
    AM2431BSDFHIALVR Ti microcontroller. We are using the flash S25HL512TFAMHI010 in our board.

    1.While running the example project, it is stopping at the system_init(); function.
    2.In sysconfig the DDR and MMCSD is auto configured, which we dont need.
    3.After removing those configurations from sysconfig,


    we are getting the error

    makefile:149: recipe for target 'sbl_jtag_uniflash_am243x-evm_r5fss0-0_nortos_ti-arm-clang.out' failed

    undefined first referenced
    symbol in file
    --------- ----------------
    gMmcsdConfig C:/ti/mcu_plus_sdk_am243x_09_01_00_41/source/drivers/lib/drivers.am243x.r5f.ti-arm-clang.debug.lib<mmcsd_v0.obj>
    gMmcsdConfigNum C:/ti/mcu_plus_sdk_am243x_09_01_00_41/source/drivers/lib/drivers.am243x.r5f.ti-arm-clang.debug.lib<mmcsd_v0.obj>

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "sbl_jtag_uniflash_am243x-evm_r5fss0-0_nortos_ti-arm-clang.out" not built
    tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)
    gmake[1]: *** [sbl_jtag_uniflash_am243x-evm_r5fss0-0_nortos_ti-arm-clang.out] Error 1
    makefile:145: recipe for target 'all' failed
    gmake: *** [all] Error 2

    example project to flash our
    AM2431BSDFHIALVR Ti microcontroller. We are using the flash S25HL512TFAMHI010 in our board.

    While running the example project, it is stopping at the system_init(); function.
    In sysconfig the DDR and MMCSD is auto configured, which we dont need.
    After removing those configurations from sysconfig
    we are getting the error

    makefile:149: recipe for target 'sbl_jtag_uniflash_am243x-evm_r5fss0-0_nortos_ti-arm-clang.out' failed

    undefined first referenced
    symbol in file
    --------- ----------------
    gMmcsdConfig C:/ti/mcu_plus_sdk_am243x_09_01_00_41/source/drivers/lib/drivers.am243x.r5f.ti-arm-clang.debug.lib<mmcsd_v0.obj>
    gMmcsdConfigNum C:/ti/mcu_plus_sdk_am243x_09_01_00_41/source/drivers/lib/drivers.am243x.r5f.ti-arm-clang.debug.lib<mmcsd_v0.obj>

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "sbl_jtag_uniflash_am243x-evm_r5fss0-0_nortos_ti-arm-clang.out" not built
    tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)
    gmake[1]: *** [sbl_jtag_uniflash_am243x-evm_r5fss0-0_nortos_ti-arm-clang.out] Error 1
    makefile:145: recipe for target 'all' failed
    gmake: *** [all] Error 2

    Anyways to resolve this issue

    Regards,

    Kathir.

  • Hi Akash,

    The above issue is now resolved. The issue is with the improper installation of openssl.

    We are flashing SBL_OSPI image(hs-fs tiimage) at offset 0x0. and appimage(hs-fs appimage)  at 0x800000. this same was also verified in the ccs (option 3 in SBL jtag uniflash).

    But we are unable to boot from QSPI.

    I probed and saw some activity in the cs line connected to flash. (this was done to chk if the bootmode pins are set properly).I observed that the activity in the CS line continued for more than a minute. Is this normal?

    Also, I have selected backup bootmode to none.

    BR,

    Sameep

  • HI Akash,

    Any suggestions

    Regards,

    Kathir.

  • Hi Sameep,

    Can you please probe the datalines - all of them ? Do you see any activity on the lines ?

    Best Regards,
    Aakash