CCS环境下通过仿真器烧写UBL、UBOOT到nand flash1
1. 首先确认Boot Mode。
Make sure the Boot Mode / Configuration is set for the NAND boot mode and 8-bit AEMIF configuration。
Also make sure the Board Configuration is set for the Vcore=1.35 Volts configuration(这个可以不考虑)。
2.通过仿真器连接CCS,然后Load the NAND programmer - NANDWriter_DM36x.outand run it;如果以前下载了ubl、uboot先把它擦除。
3. 在弹出的对话框选择要烧写的UBL文件,输入时路径要正确。
The NAND programmer will ask for input for the UBL binary. Choose the UBL_DM36x_NAND.bin file from the release.
4.接下来输入UBOOT文件。
NAND programmer will then ask for the U-Boot binary. Choose the binary u-boot-dm365-evm.bin.
5.输入入口点和地址。(0x81080000)
Set 0x81080000for the Application Entry Point and set 0x81080000for the Application Load Address.
OK! UBL、UBOOT就已经烧写完成了。下面来看看如何通过串口烧写。
通过串口烧写UBL、UBOOT
1、首先把板子通过串口连接上PC,确认Boot Mode。
Make sure the Boot Mode / Configuration is set for the UART boot mode and 8-bit AEMIF configuration。
2、TI提供了一个串口烧写程序。(sfh_DM36x.exe)
There will be a serial flasher for DM36x "sfh_DM36x.exe"
3、在CYGWIN or DOS环境下运行下面命令。
sfh_DM36x.exe -nandflash -p "COM1" <UBL binary file> <binary application file>
如UBL、UBOOT文件在当前目录:sfh_DM36x.exe -nandflash -p "COM1" ./UBL_DM36x_NAND.bin ./UBOOT.bin
4、若上个步骤不成功,再重复一次。
5、下载完成后,关掉板子电源,把Boot Mode切换到nand boot mode,重新上电就能通过串口看到相关信息。
联系客服