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.
Hello,
I am unable to successfully perform the "Flash SOC Initialization Binary" step from the AM243x MCU+ SDK: EVM Setup guide:
https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/08_06_00_43/exports/docs/api_guide_am243x/EVM_SETUP_PAGE.html
I am able to setup the serial terminal and receive the "C" character, indicating that the board is in "UART Boot" mode. However when I run the python script, I get the following error:
PS C:\ti\mcu_plus_sdk_am243x_08_06_00_43\tools\boot> python uart_uniflash.py -p COM3 --cfg=sbl_prebuilt/am243x-lp/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/am243x-lp/sbl_uart_uniflash.release.tiimage Sent flashwriter sbl_prebuilt/am243x-lp/sbl_uart_uniflash.release.tiimage of size 294983 bytes in 27.06s. Executing command 2 of 2 ... Command arguments : --file=sbl_prebuilt/am243x-lp/sbl_null.release.tiimage --operation=flash --flash-offset=0x0 Sending sbl_prebuilt/am243x-lp/sbl_null.release.tiimage: 0%| | 0/258822 [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'2' 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: expected NAK, CRC, EOT or CAN; got b'1' Sending sbl_prebuilt/am243x-lp/sbl_null.release.tiimage: 0%| | 2/258822 [00:01<143:38:53, 2.00s/bytes] [ERROR] XMODEM send failed, no response OR incorrect response from EVM OR cancelled by user, Power cycle EVM and run this script again !!!
I have also tried this same step using the AM243x-EVM and the AM64x-EVM, and with each board, I get the same error. Also, I have tried on two separate computers, and have received the same error message.
The marking on the AM243x IC is "XAM2434B" Does this indicate that the device is HS FS, not GP? And does this require an extra setup step?
Do you have any suggestions to get the flash setup?
Hi Owen,
The issue is due to fact that you are using a HSFS device and trying to flash a non HSFS binary on it.
Please follow:
and also
BR
Nilabh A.
Hi Nilabh,
Thank you. This resolved my issue.
However, I would like to note that it was very confusing and convoluted to get to this point. Since you know there is a migration issue for all newly fabbed devices, why don't you make that explicitly part of the setup process? All you would need to do is create a "hs_fs" version of the "default_sbl_null.cfg" file, which links to the "hs_fs" versions of the sbl files. In the setup guide, you would just say "If you are using an HSFS device, run this code instead:
python uart_uniflash.py -p COM<x> --cfg=sbl_prebuilt/am243x-lp/default_sbl_null.hs_fs.cfg
Thanks again,
Owen