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.

TMDS64EVM: Flash SOC Initialization Binary

Part Number: TMDS64EVM
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

After installing Python3 and related packages, connecting the EVM power cable and the UART cable, and configuring the UART port (seen as COM5) in CCS, I set switches 2-3 in the UART Boot-Mode.

When power-on the EVM, the UART terminal on CCS correctly reports the SOC ID followed by character "C" printed every 2-3 seconds; after this, I closed the UART terminal.

So, running in the command prompt the command: 

python uart_uniflash.py -p COM5 --cfg=sbl_prebuilt/am64x-evm/default_sbl_null.cfg

It gives me the following error:

[ERROR] XMODEM send failed, no response OR incorrect response from EVM OR cancelled by user,
Power cycle EVM and run this script again !!!

Thanks for the support
  • Hi Andrea,

    Thanks for your query.

    Is it failing every time or it happens randomly?

    At which command it is failing? Can you please provide full error logs?

    Regards,

    Tushar

  • Hi Tushar,

    It fails every time, in correspondence of the 2°command, as I report below:

    C:\ti\ind_comms_sdk_am64x_09_02_00_15\mcu_plus_sdk\tools\boot> python uart_uniflash.py -p COM5 --cfg=sbl_prebuilt/am64x-evm/default_sbl_null.cfg

    Parsing config file ...
    Parsing config file ... SUCCESS. Found 2 command(s) !!!

    Executing command 1 of 2 ...
    Found flash writer ... sending sbl_prebuilt/am64x-evm/sbl_uart_uniflash.release.hs_fs.tiimage
    Sent flashwriter sbl_prebuilt/am64x-evm/sbl_uart_uniflash.release.hs_fs.tiimage of size 319502 bytes in 32.56s.

    Executing command 2 of 2 ...
    Command arguments : --file=sbl_prebuilt/am64x-evm/sbl_null.release.hs_fs.tiimage --operation=flash --flash-offset=0x0
    Sending sbl_prebuilt/am64x-evm/sbl_null.release.hs_fs.tiimage: 0%| | 0/295062 [00:00<?, ?bytes/s]

    send error: expected NAK, CRC, EOT or CAN; got b'0'
    send error: expected NAK, CRC, EOT or CAN; got b'1'
    send error: expected NAK, CRC, EOT or CAN; got b'0'
    send error: expected NAK, CRC, EOT or CAN; got b'0'
    send error: expected NAK, CRC, EOT or CAN; got b'0'
    send error: expected NAK, CRC, EOT or CAN; got b'0'
    send error: expected NAK, CRC, EOT or CAN; got b'0'
    send error: expected NAK, CRC, EOT or CAN; got b'0'
    send error: expected NAK, CRC, EOT or CAN; got b'0'
    send error: expected NAK, CRC, EOT or CAN; got b'1'
    send error: error_count reached 10, aborting.
    Sending sbl_prebuilt/am64x-evm/sbl_null.release.hs_fs.tiimage: 0%| | 2/295062 [01:55<9499:19:46, 115.90s/bytes]
    [ERROR] XMODEM send failed, no response OR incorrect response from EVM OR cancelled by user,
    Power cycle EVM and run this script again !!!

    Thanks and Regards

  • Hi Andrea,

    Thanks for sharing the above error logs.

    Can you please tell which device type are you using? Is it GP or HSFS?

    Please follow the steps mentioned at faq-am6xx-how-to-check-if-device-type-is-hs-se-hs-fs-or-gp and share the results.

    Regards,

    Tushar

  • Hi Tushar,

    The device that I'm using is GP type

    Thanks for the help,

    Regards

  • Hi Andrea,

    Thanks for sharing the detail.

    The device that I'm using is GP type

    This is the cause of the issue. The device type is GP and you are trying to flash an HSFS image which is not supported by GP devices.

    You will need to flash GP images to initialize the GP device. From SDK 9.0 onwards, GP devices are no longer supported. 

    Please use the HSFS device or either use the SDK v08.06.

    Regards,

    Tushar

  • Thanks Tushar!!

    With the SDK v08.06 the command runs correctly!

    Thanks for the support,

    Regards

  • Hi Andrea,

    Thanks for the confirmation.

    Happy to help Slight smile

    Regards,

    Tushar