主题中讨论的其他部件:ASH
工具/软件:
尊敬的 TI 社区:
我正在使用 AM263Px 器件、目前正在开发超出可用 2MB RAM 的程序。 为了管理存储器限制、我将文本段、代码和只读数据段移到了中 闪存中 。
现在、我想问: 如何使这个基于闪存的程序可引导?
请提供任何指导或参考。
提前感谢!
此致、
Aymen Salem
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.
工具/软件:
尊敬的 TI 社区:
我正在使用 AM263Px 器件、目前正在开发超出可用 2MB RAM 的程序。 为了管理存储器限制、我将文本段、代码和只读数据段移到了中 闪存中 。
现在、我想问: 如何使这个基于闪存的程序可引导?
请提供任何指导或参考。
提前感谢!
此致、
Aymen Salem
然后、重新编译示例并使用以下步骤刷写 SBL 和应用:
感谢您的答复。
我已经完成了上一步。 现在、代码构建成功、我能够刷写它。 但是、刷写后、电路板似乎恢复到 QSPI 引导模式、但在日志中、我可以看到与处于 UART 引导模式时相同的输出、如所附的屏幕截图所示。
#-----------------------------------------------------------------------------# # # # DEFAULT CONFIGURATION FILE TO BE USED WITH THE FLASHWRITER SCRIPT # # # #-----------------------------------------------------------------------------# # # By default this config file, # - points to pre-built flash writer, bootloader for this EVM # - The application image points to relative path of the ipc echo application image for this EVM # - Make sure this application is built before running this script # - You can customized this config file to point to your own bootloader and/or application images # - You can use --operation=flashverify if you just want to verify the flash contents and not flash the file. # # First point to sbl_uart_uniflash binary, which function's as a server to flash one or more files --flash-writer=sbl_prebuilt/am263px-lp/sbl_uart_uniflash.release.tiimage # Now send one or more files to flash or flashverify as needed. The order of sending files does not matter # Program the OSPI PHY tuning attack vector --operation=flash-phy-tuning-data # When sending bootloader make sure to flash at offset 0x0. ROM expects bootloader at offset 0x0 --file=sbl_prebuilt/am263px-lp/sbl_ospi_fastboot.release.tiimage --operation=flash --flash-offset=0x0 # When sending application image, make sure to flash at offset 0x80000 (default) or to whatever offset your bootloader is configured for --file=../../../../Users/a.salem/workspace_v12/project/Debug/project.appimage --operation=flash --flash-offset=0x80000 # send the XIP image for this application, no need to specify flash offset since flash offset is specified within the image itself --file=../../../../Users/a.salem/workspace_v12/project/Debug/project.appimage_xip --operation=flash-xip
我是否需要修改闪存配置文件中的某些内容(我已共享了该文件)? 另外、您能否提供有关如何调试代码的建议?
谢谢