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.

[参考译文] SK-AM62:为什么可以##39;在串行模式下使用 SBL 引导将 ext_OTP 例程加载到 R5内核中?

Guru**** 1812430 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1433174/sk-am62-why-can-t-the-ext_otp-routine-be-loaded-into-r5-cores-using-sbl-boot-in-serial-mode

器件型号:SK-AM62

工具与软件:

大家好、我正在使用的版本是 mcu_plus_sdk_am62x_08_06_00_18。 我最近的项目使用了 ext_oTp 例程、所以我想用 SBL 引导查看 ext_oTp 例程的运行、但遗憾的是加载失败了。 这是错误日志。

C:\ti\mcu_plus_sdk_am62x_08_06_00_18\tools\boot>python uart_bootloader.py -p COM38 --cfg=C:\\ti\\mcu_plus_sdk_am62x_08_06_00_18\\tools\boot\sbl_prebuild\\am62x-sk\\default_sbl_uart_hs.cfg

正在解析配置文件...
正在解析配置文件...成功。 找到3个命令!!!

正在执行命令1、共3个...
找到 UART 引导加载程序...正在发送 C:\Users\hzy\workspace_v12\sbl_uart_am62x-sk_r5fss0-0_nortos_ti-arm-clang\sbl_uart.Release.hs.tiimage
[ERROR]串行端口[COM38]未找到或无法访问!!!

C:\ti\mcu_plus_sdk_am62x_08_06_00_18\tools\boot>python uart_bootloader.py -p COM38 --cfg=C:\\ti\\mcu_plus_sdk_am62x_08_06_00_18\\tools\boot\sbl_prebuild\\am62x-sk\\default_sbl_uart_hs.cfg

正在解析配置文件...
正在解析配置文件...成功。 找到3个命令!!!

正在执行命令1、共3个...
找到 UART 引导加载程序...正在发送 C:\Users\hzy\workspace_v12\sbl_uart_am62x-sk_r5fss0-0_nortos_ti-arm-clang\sbl_uart.Release.hs.tiimage
发送 C:\users\hzy\workspace_v12\sbl_uart_am62x-sk_r5fss0-0_nortos_ti-arm-clang\sbl_uart.Release.hs.tiimage:244902srending C:\users\hzy\workspace_v12\sbl_uart_am62x-sk_r5fcs_releasing:

正在执行命令2/3...
命令参数:--file=../../examples/hello_world/am62x-sk/m4fss0-0_nortos/ti-arm-clang/hello_world.release.appimage.hs
Sending ../../examples/hello_world/am62x-sk/m4fss0-0_nortos/ti-arm-clang/hello_world.release.appimage.hs /../examples/hello_world/am62x-sk/m4fss0-0_nortos/ti-arm-clang/hello_world.release.appimage.hs:24696bytes sending ../../examples/hello_world/am62x-sk/m4fss0-0_nortos/ti-arm-clang/hello_world.release.appimage.hs:25725bytes sending ../../examples/hello_world/am62x-sk/m4fss0-0_nortos/ti-arm-clang/hello_world.release.appimage.hs:25725bytes sending ../../examples/hello_world/am62x-sk/m4fss0-0_nortos/ti-arm-clang/hello_world.release.appimage.hs:25726bytes sending ../../examples/hello_world/am62x-sk/m4fss0-0_nortos/ti-arm-clang/hello_world.release.appimage.hs:25727bytes sending ../../examples/hello_world/am62x-sk/m4fss0-0_nortos/ti-arm-clang/hello_world.release.appimage.hs:25729bytes sent ../../examples/hello_world/am62x-sk/m4fss0-0_nortos/ti-arm-clang/hello_world.release.appimage.hs of size 24637 bytes in 5.73s。
[STATUS]应用程序加载成功!!!
正在执行命令3/3...
命令参数:--file=../../examples/otp/ext_otp/am62x-sk/r5fss0-0_nortos/ti-arm-clang/ext_otp.release.hs.tiimage
正在发送../../examples/otp/ext_otp/am62x-sk/r5fss0-0_nortos/ti-arm-clang/ext_otp.release.hs.tiimage:231525bytes [00:正在发送../../examples/otp/ext_otp/am62x-sk/r5fss0-0_nortos/ti-arm-clang/ext_otp.release.hs.tiimage:231525bytes [00:正在发送../../examples/otp/ext_otp/am62x-sk/r5fss0-0_nortos/ti-arm-clang/ext_otp.release.hs.tiimage:232554字节[00:正在发送../../examples/otp/ext_otp/am62x-sk/r5fss0-0_nortos/ti-arm-clang/ext_otp.release.hs.tiimage:232555字节[00:正在发送../../examples/otp/ext_otp/am62x-sk/r5fss0-0_nortos/ti-arm-clang/ext_otp.release.hs.tiimage:232556bytes [00:正在发送../../examples/otp/ext_otp/am62x-sk/r5fss0-0_nortos/ti-arm-clang/ext_otp.release.hs.tiimage:232557bytes [00:正在发送../../examples/otp/ext_otp/am62x-sk/r5fss0-0_nortos/ti-arm-clang/ext_otp.release.hs.tiimage:232558字节[00:已发送..272230s 大小为25.67s 的/../examples/otp/ext_otp/am62x-sk/r5fss0-0_nortos/ti-arm-clang/ext_otp.release.hs.tiimage。
[STATUS]错误:应用程序加载失败!!!
执行配置文件中的所有命令!!!

e2e.ti.com/.../default_5F00_sbl_5F00_uart_5F00_hs.cfg

值得添加的是、R5内核 hello_world 或 ipc_rpmsg_echo_linux 示例使用 SBL 成功加载。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    EXT_OTP 示例是一个可由 ROM 本身引导的 SBL 示例。 如果您希望在可由 SBL 引导的应用程序中使用扩展 OTP R/W 功能、则可以使用 EXT_OTP 示例中的相关代码并集成到所选的任何 WKUP R5F 示例中。

    此致、

    Prashant