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:在不使用 NAND 引导模式或 NAND 闪存芯片的情况下从 DDR 运行 M4内核代码。

Guru**** 2482225 points
Other Parts Discussed in Thread: UNIFLASH, SYSCONFIG

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1445615/sk-am62-running-m4-core-code-from-ddr-without-using-nand-boot-mode-or-a-nand-flash-chip

器件型号:SK-AM62
主题中讨论的其他器件:UNIFLASHSysConfig

工具与软件:

您好!

通过此链接:

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1187962/faq-sk-am62-how-to-execute-code-from-external-memory-using-m4f-core

我已经尝试使用 CCS 为 AM62-SK-LP (带 HS-NAND) EVM 在 DDR 存储器操作上执行的 M4内核程序加载和调试、在执行 SOC 初始化和之前从 FS 引导模式切换到 NAND 引导模式时、一切都正常、如 AM62x MCU+ SDK 10.00.00手册中所述: https://software-dl.ti.com/mcu-plus-sdk/esd/AM62X/latest/exports/docs/api_guide_am62x/EVM_SETUP_PAGE.html#EVM_FLASH_SOC_INIT  

但出于某种原因、我想 在不使用 NAND 闪存的情况下从 DDR 运行 M4内核程序(因为我的最终产品板根本不包含 NAND 闪存芯片)、也就是说我无法执行 SOC 初始化并切换到 NAND 引导模式。

如下所示、我已经尝试使用 uart_bootloader.py 而不是 uart_uniflash.py、我仍然只能在 使用 SRAM (IRAM 和 DRAM)时调试 M4内核程序、但在使用 DDR 时、没有运气、我在内存浏览器中检查了地址应该与 DDR 一起使用(如果在常见问题解答示例之后使用相同的 linker.cmd 和 SysConfig、如上面的第一个链接)、则从0x90000000开始、不能更改值。

使用 uart_bootloader.py 工具的命令:

python3 uart_bootloader.py -p /dev/ttyUSB0 --cfg=sbl_prebuilt/am62x-sk-LP/default_sbl_uart_hs_fs.cfg

如何 使用 EVM 实现此目的? 您能给我举个例子吗?

谢谢!