EVM DM8168 ccs-5.3 win7平台使用方法,烧写16位nandflash
2013-05-20 15:04:58
分类: 嵌入式
EVM DM8168 + D aughter card的板子,欢迎加入DM8168专用qq×××流:282254950
1.bootmode[4:0]需要设置全0
2.打开ccs-5.3软件
3.View->'Target Configurations'下面User Defined 'NewTargetConfiguration.ccxml'双击,如果不存在就创建,
选'XDS100v2'和'EVMDM8168',点save然后点'Test Connection',
最后一行是'The JTAG DR Integrity scan-test has succeeded.'就欧了
4.Select "Debug Perspective" in CCS if not there already: "Window -> Open Perspective -> Debug"
5.View->'Target Configurations'下面User Defined 'NewTargetConfiguration.ccxml'右键,
选择'Launch Selected Configuration',这样就进入调试会话了
6.View->Debug然后选择'Texas XDS100V2 USB Emulator_0/CortexA8',点右键"Connect Target",
等几秒钟,出来汇编试图
------------------------------------------------------------------------------------
7.下载gel文件:http://processors.wiki.ti.com/index.php/File:DM816x_gel.zip
8.Select "Tools -> GEL Files" in CCS; 右键"Load GEL"调出脚本双击显示在Script窗口,
Scripts -> NETRA External Memory -> do_all, 成功后显示:
PRCM for OCMCRAM0/1 Initialization Done
------------------------------------------------------------------------------------
9.DVRRDK_03.50.00.05\ti_tools\linux_lsp\collaterals\host-tools\src\nandflash-04.04.00.02.tar.gz
是我们需要的工程,解压到桌面, 选择File->Import->Code Composer Studio->Existing CCS/CCE Eclipse Project
10.Project菜单选择Clean然后点Build All
------------------------------------------------------------------------------------
11."Run -> Load -> Load Program" 选择'nand-flash-writer.out'
12.Run -> Resume或者F8
13.接下来输入菜单1,选择'c:\u-boot.noxip.bin', offset是0,ECC是BCH8 bit,然后开始干活,
1分钟写11个page,写220k的u-boot需要10分钟(每个page 2k)
成功会提示:NAND flashing successful!
14.View->Debug右键XDS100V2 CortexA8,'Disconnect Target',断电
nandflash工程也可这里下载:http://support.spectrumdigital.com/boards/evm816x/revg/
转载于:https://blog.51cto.com/junzhuivs/1397589