2.環境:
(1). Linux OS: Ubuntu8.10.
(2).實驗板:ADP-XC5FF676 V1.1(Andes N12 core).
3.取得晶心科技BSP(Board Support Packge)光碟內的"v1_3-BSP-release.tar"壓縮檔,” v1_3-BSP-release.tar.gz\v1_3-BSP-release\ADP-XC5\Source\Boot\afw_ag101.rar”開啟,之後再將” afw_ag101.rar\afw_ag101_cic\andes_ip\ag101_chip\leopard_bootrom”檔案夾下的burninil與fLibl兩個檔案夾複製出來並存在一個新開檔案下.
4.Build Project:
(1)使用”Terminal”現在fLibl\nds32目錄下鍵入”make rebuild”,發現有Error.

(2).這個Error是因為Makefile使用不同編輯軟體所造成的,只要將下圖所示87行的else與\中間加入空格後,存檔.

(3). 重新執行”make rebuild”後,Error消除.

(4).之後再進入burninil\nds32目錄下鍵入”make rebuild”,發現有Error.




5.將rominit.bin燒錄至ADP-XC5FF676的Flash內.
(1). 將rominit.bin的燒錄檔存至SD卡內,裝上ADP-XC5FF676實驗板上,並將URAT接至PC,開啟電源,按"SW2 -> SW4".

(2). 使用"Tera Term",Baud rate設定38400,輸入"97 -> C: -> rominit.bin -> 0x200000 "再輸入"55 -> burn 0x200000 0x80400000 0x100000",之後開始燒錄.
*SD卡燒錄至Flash完整流程圖:
http://sites.google.com/site/andescore32/Home/hardware/adp-xc5ff676


沒有留言:
張貼留言