请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:SK-AM62-LP Thread 中讨论的其他器件:UNIFLASH
工具/软件:
大家好、我尝试使用 mcu_plus_sdk_am62x_11_00_00_16工具套件中的 python UART uniflash 工具。
我已将密钥放入 tools/boot/signing/custMpk_am62x.pem 文件中、并使用` make device=am62x device_type=HS -sk`编译整个 SDK
但是、在刷写 uniflash_stage1文件时仍会获得以下输出:
(.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 !!!