Part Number: SK-AM62-LP
Other Parts Discussed in Thread: UNIFLASH
Tool/software:
Hi, i am trying to use the python uart uniflash tool from the mcu_plus_sdk_am62x_11_00_00_16 toolkit.
I have put my key in the tools/boot/signing/custMpk_am62x.pem file, and build the entire SDK with ` make DEVICE=am62x DEVICE_TYPE=HS -sk`
however when flashing the uniflash_stage1 file i still get the following output:
(.venv) [fred441a@FSH-arch boot]$ python uart_uniflash.py -p /dev/ttyUSB0 --cfg=sbl_prebuilt/am62x-sk-lp/default_sbl_ospi_nand_hs.cfg Parsing config file ... Parsing config file ... SUCCESS. Found 9 command(s) !!! Executing command 1 of 9 ... Found flash writer ... sending sbl_prebuilt/am62x-sk-lp/sbl_uart_uniflash_stage1.release.hs.tiimage Sending sbl_prebuilt/am62x-sk-lp/sbl_uart_uniflash_stage1.release.hs.tiimage: 0%| | 0/266850 [00:00<?, ?bytes/s]send error: expected NAK, CRC, EOT or CAN; got b'\x00' Sent flashwriter sbl_prebuilt/am62x-sk-lp/sbl_uart_uniflash_stage1.release.hs.tiimage of size 266850 bytes in 25.09s. Executing command 2 of 9 ... Command arguments : --file=../../examples/drivers/boot/sbl_uart_uniflash_multistage/sbl_uart_uniflash_stage2/am62x-sk-lp/r5fss0-0_nortos/ti-arm-clang/sbl_uart_uniflash_stage2.release.appimage.hs --operation=flash --flash-offset=0x0 Sending ../../examples/drivers/boot/sbl_uart_uniflash_multistage/sbl_uart_uniflash_stage2/am62x-sk-lp/r5fss0-0_nortos/tsend 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' send error: error_count reached 10, aborting. Sending ../../examples/drivers/boot/sbl_uart_uniflash_multistage/sbl_uart_uniflash_stage2/am62x-sk-lp/r5fss0-0_nortos/t [ERROR] XMODEM send failed, no response OR incorrect response from EVM OR cancelled by user, Power cycle EVM and run this script again !!!