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: Using uniflash to flash EMMC?

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

Hi,

I saw a uniflash example for the AM64x that has the following line:

--file={path to your application .appimage file} --operation=flash-emmc --flash-offset=0x800000

I am wondering if it is possible to flash binary data to the EMMC in AM243x using uniflash. Whenever I attempt to write to the EMMC using the operation flag "flash-emmc" I get the following error: 

[STATUS] ERROR: Flashing failed !!!

I tried a bunch of offsets to no avail. The regular flash operations work without a problem.

These are the two lines I have in my cfg file:

--flash-writer=sbl_uart_uniflash.release.hs_fs.tiimage
--file=emmc_fat_image.appimage --operation=flash-emmc --flash-offset=0x80000
emmc_fat_image.appimage is a binary file. We were playing around with the extension name and adding it as part of the build so it would be signed too but this didn't work either.

Regards,

Adan Flores

  • Hi Adan,

    Which board are you using for the EMMC flashing? There are two TI platforms for AM243x: the AM243x EVM and AM243x LP. You should be able to use the unflash to flash EMMC on AM243x EVM, but not for AM243x LP. Simply because the AM243x does not have EMMC on board. AM243x EVM, on the other hand, is the same as AM64x EVM, has the EMMC on board.

    Best regards,

    Ming

  • Hi,

    We are using the AM243x EVM. I would like to add that the memory has not been formatted yet. Will this be a problem if we try to write to it using uniflash?

  • Hi Adan,

    You should be able to write to the un-formatted physical sectors on EMMC with uniflash. If you want to build the file system on EMMC you may have to write your own application to accomplish it.

    Best regards,

    Ming