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.

AM62A7: How to quickly perform eMMC programming?

Part Number: AM62A7

Tool/software:

Dear  TI expert

I am currently using the AM62A7 SoC and have a few questions regarding eMMC programming:

  1. I followed the method linked here: TI DFU Flashing Guide to program via DFU. The filesystem size is 100MB, and it takes about 5 minutes to flash. Is this duration normal?

  2. Is it possible to update the eMMC internally by inserting an SD card, and can we also use the SD card to program the eMMC? Are there any tools or methods available for this?

  3. If we have a large number of boards that need eMMC programming, is there a quicker method to flash the program into eMMC? The DFU method seems to take too long.

Thank you for your assistance!

Best regards,
Kangbai Li

  • Hi Kangbai Li,

    I followed the method linked here: TI DFU Flashing Guide to program via DFU. The filesystem size is 100MB, and it takes about 5 minutes to flash. Is this duration normal?

    It is possible that the DFU flashing takes a long time if the file is large.

    Is it possible to update the eMMC internally by inserting an SD card, and can we also use the SD card to program the eMMC? Are there any tools or methods available for this?

    Please refer to this guide on flashing eMMC using SD card: https://dev.ti.com/tirex/explore/node?node=A__AQkwMvG9F0GKWPdIDOFokg__AM62A-ACADEMY__WeZ9SsL__LATEST

    If we have a large number of boards that need eMMC programming, is there a quicker method to flash the program into eMMC? The DFU method seems to take too long.

    Let me check if we have anything for this.

    Best Regards,

    Meet.

  • Hi Meet,

    We want to know if it's possible to burn the program into eMMC simply by inserting an SD card, without requiring any command input. This task is handled by our factory workers, who are not technically savvy.

    Let me check if we have anything for this.

    "Have you found any relevant methods?"

    Thank you for your assistance!

    Best regards,
    Kangbai Li

  • We want to know if it's possible to burn the program into eMMC simply by inserting an SD card, without requiring any command input. This task is handled by our factory workers, who are not technically savvy.

    Let me check if we have anything for this.

    "Have you found any relevant methods?"

    hello KangBai

        I think this can be done with following steps:

           1. create a bootable sd card and boot to Linux

           2. after enter Linux, automatically trigger a script to copy relative image to emmc card.

           3. after copying the image, reboot the system and change the boot mode to emmc mode

    ---------------------------------------

        you can find the emmc card partition with Linux command

    root@am62pxx-evm:/run# sudo lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
    mtdblock0 31:0 0 512K 0 disk
    mtdblock1 31:1 0 2M 0 disk
    mtdblock2 31:2 0 4M 0 disk
    mtdblock3 31:3 0 256K 0 disk
    mtdblock4 31:4 0 256K 0 disk
    mtdblock5 31:5 0 55.8M 0 disk
    mtdblock6 31:6 0 256K 0 disk
    mmcblk1 179:0 0 59.5G 0 disk
    |-mmcblk1p1 179:1 0 128M 0 part /run/media/boot-mmcblk1p1
    `-mmcblk1p2 179:2 0 59.4G 0 part /
    mmcblk0 179:32 0 29.6G 0 disk
    |-mmcblk0p1 179:33 0 16M 0 part /run/media/mmcblk0p1
    `-mmcblk0p2 179:34 0 29.6G 0 part
    mmcblk0boot0 179:64 0 31.5M 1 disk
    mmcblk0boot1 179:96 0 31.5M 1 disk
    root@am62pxx-evm:/run# uname -a
    Linux am62pxx-evm 6.6.32-ti-g6de6e418c80e-dirty #1 SMP PREEMPT Fri Jul 26 14:32:20 UTC 2024 aarch64 GNU/Linux
    root@am62pxx-evm:/run#

    Regards

        semon