Andes Workshop

It is currently Fri Apr 26, 2024 7:27 pm

All times are UTC + 8 hours [ DST ]


Search found 487 matches
Search these results:

Author Message

 Forum: BSP (Board Support Package)   Topic: 在AndeSight裡調整ICE的工作頻率(2011.8.31更新)

Posted: Fri Apr 08, 2011 7:02 pm 

Replies: 0
Views: 9377


ICE的最高工作頻率是48MHz。(預設為最高工作頻率) 下面是ICEman的help選單 $ ./ICEman.exe -h Usage: ICEman --port start_port_number[:end_port_number] [--help] ICEman --update-fw filename --port, -p: Specific port number to listen connection. --EDM, -E: Specific one EDM version to ICEman. (0x0002 / 0x0010 / 0x0018 / 0x0020 / 0x0...

 Forum: BSP (Board Support Package)   Topic: Andes toolchains內compilers命名方式說明

Posted: Fri Apr 08, 2011 7:00 pm 

Replies: 0
Views: 8672


很清楚,感謝分享。

補充一下,V2j是for 16GPR的configuration。
一般N9是32GPR,如果為了省面積,
改用16個GPR,此時toolchain要改成v2j的版本。

 Forum: AndeSight STD   Topic: AndeSight_1.4 License安裝步驟

Posted: Wed Apr 06, 2011 5:53 pm 

Replies: 0
Views: 10033


感謝分享!

分享一個最近遇到的情況。
安裝完AndeSight的license之後,不要把系統的時間往前調,
將導致AndeSight內的license check機制發生錯誤,
使得vep無法開啟。

 Forum: BSP (Board Support Package)   Topic: 燒錄程式IntelJ3的編譯方式(BSP v310)

Posted: Wed Apr 06, 2011 5:43 pm 

Replies: 2
Views: 12165


(本文於2011.08.29更新) 在BSP v310裡提供IntelJ3 flash的燒錄程式及原始碼。 如果使用不同的flash,可以參考這個原始碼來改code。 以下分享compile IntelJ3這個程式的方法。 首先要安裝MinGW。 下載頁面 http://sourceforge.net/projects/mingw/files/ 我裝的是這一版,mingw-get-inst-20110316.exe。 以後更新版也是ok的。 我裝好的Mingw在C:\MinGW。 Note: 安裝MinGW時,記得勾選C++ compiler,這樣子才會有g++.exe。如下圖: cpp.gi...

 Forum: AndeSight STD   Topic: STD C Project裡產生map檔的方法

Posted: Wed Mar 30, 2011 6:42 pm 

Replies: 0
Views: 10124


AndeSight裏的project分成2種,一種是不必寫Makefile,由AndeSight自動產生,稱為C Project。
另一種是要由手寫Makefile,稱為STD C Project。

Attachment:
make_map1.gif
make_map1.gif [ 7.7 KiB | Viewed 10124 times ]


因為DhryStone的demo工程,這裏的makefile是用手寫的。所以沒有C/C++ Build這個標籤項。
只要在Makefile裏加入下面的option: -Wl,-Map -Wl,map.txt
再重新make,就可以產生map檔
(下圖經過縮圖較不清楚,點擊圖片可以放大)
Attachment:
make_map.gif
make_map.gif [ 24.65 KiB | Viewed 10124 times ]

 Forum: AndeSight STD   Topic: C project 產生map檔的方法

Posted: Wed Mar 30, 2011 6:38 pm 

Replies: 0
Views: 9922


在project上按右鍵叫出選單,選單上選擇Properties

Attachment:
b1.gif
b1.gif [ 18.68 KiB | Viewed 9922 times ]


勾選 Write a map file (-Map)
Attachment:
b2.gif
b2.gif [ 33.96 KiB | Viewed 9922 times ]


map檔在Debug\output\map.txt裡
Attachment:
b3.gif
b3.gif [ 28.8 KiB | Viewed 9922 times ]

 Forum: BSP (Board Support Package)   Topic: 在Ubuntu上使用bsp v300須知

Posted: Tue Mar 29, 2011 12:45 pm 

Replies: 2
Views: 11353


(1)gdb needs the /etc/termcap (2)gdb下,打target remote pcxxx:1234 會fail,但是打ip可以work, 這個錯誤應該是因為我們 build gdb時所用的static linked glibc版本(glibc-2.5)與 ubuntu 10.10 上的 glibc—2.12.1 版本有衝突所導致的 在我們這邊的 ubuntu 10.10 也會發生類似的問題 在 Andes FTP server \20110328_dynamic_link_GDB_lib\nds32le-elf-gdb-6.8-20110328 改用這個 dynam...

 Forum: Embedded Linux   Topic: Linux下的超級終端機minicom

Posted: Tue Mar 29, 2011 11:12 am 

Replies: 0
Views: 11704


轉檔後超清楚!
感謝aaron的分享。

 Forum: BSP (Board Support Package)   Topic: gdb script應用

 Post subject: gdb script應用
Posted: Fri Mar 25, 2011 7:26 pm 

Replies: 0
Views: 8691


這裡有一個gdb的範例,它執行一個程式的執行。 target remote :9901 file startup-lm.elf load continue quit 執行時,板子電源打開,LCD顯示為67,接上ICE。 啟動ICEman ICEman.exe –port 9901 然後,另外一個cygwin視窗執行這個.txt檔 nds32le-elf-gdb.exe –x run_startup_lm.txt 可以看到Console裏執行程式的內容。 任何gdb的command,都可以寫成這種類似batch file的格式執行。 pp1.gif pp2.gif pp3.gif

 Forum: AndeSight STD   Topic: sio_printf程式分享

 Post subject: sio_printf程式分享
Posted: Tue Mar 15, 2011 2:56 pm 

Replies: 0
Views: 10212


這個程式是一個uart輸出字串的範例, printf()經過system call,而且它包含各種format轉換,使得程式很龐大。 所以我們改寫printf為sio_printf(),只有簡單的幾種輸出格式, 字串直接由UART的IO輸出。 下面的code中,主程式main()中,若系統尚未initial UART, 必須要執行uart_init();這一行。 #include <stdio.h> #include "sio.h" int main(void) { int i; i = 0; //uart_init(); while ( i < 1000 ) { sio_...
Sort by:  
Page 48 of 49 [ Search found 487 matches ]


All times are UTC + 8 hours [ DST ]


Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group