Andes Workshop

It is currently Fri Mar 29, 2024 10:24 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: 關於Andesight幾個問題
PostPosted: Fri Oct 21, 2011 5:20 pm 
Offline

Joined: Fri Oct 21, 2011 5:08 pm
Posts: 2
目前使用Andesight遇到兩個問題如下

1. 首先是licence 的問題,我們依照手冊裝完了AndeSight_v1.4.0_Beta_Release-STD-Linux
安裝完成後可正常執行, license check也有過,
但在使用GDBAgent時( Target -> Fork VEP Target -> Finish) 會遇到以下error:
-------------------------------------------------------------------------------------------------------------------
GDBAgent version 1.4 - 2010-02-08
(GDBAgent) Port range 9898-9998 from GDBAgent.ini.
(GDBAgent) Read license setting from "GDBAgent.ini": 10098@lscic5.cic.org.tw.
(GDBAgent) Use license setting: 10098@lscic5.cic.org.tw;10098@lscic5.cic.org.tw;10098@ lscic5.cic.org.tw.
[CLicenseCheck::CheckOut] Failed: License server machine is down or not responding. (-96,7:2 "No such file or directory")
-------------------------------------------------------------------------------------------------------------------

我們之前在同一台server上的兩個帳號已有安裝同版本的AndeSight,都沒有這個問題,
最近開新帳號再安裝才出現這個問題,
想請問是否是license或其他的設定我們沒有做的?

2. 再來想請問一下在虛擬n1213-s上使用newlibc 和glibc的問題
目前我創立了一個project,裡面code只有簡單的print出hello word,目前嘗試了兩個toolchain(nds32le-linux-glibc-V1以及nds32le-elf-newlib-v1)
使用的Vep target 為 N1213-S,目前執行的結果只有newlibc的版本可以在eclips之console下正確顯示hello word,但glibc卻沒有任何顯示,因為我們有
較複雜的應用需要使用到glibc,是否有解決之道?或者要另外編輯sid config檔

Thx


Top
 Profile Send private message E-mail  
 
 Post subject: Re: 關於Andesight幾個問題
PostPosted: Mon Oct 24, 2011 3:10 pm 
Offline

Joined: Fri Oct 21, 2011 5:08 pm
Posts: 2
AaronLiu wrote:
k5896246 wrote:
目前使用Andesight遇到兩個問題如下

1. 首先是licence 的問題,我們依照手冊裝完了AndeSight_v1.4.0_Beta_Release-STD-Linux
安裝完成後可正常執行, license check也有過,
但在使用GDBAgent時( Target -> Fork VEP Target -> Finish) 會遇到以下error:
-------------------------------------------------------------------------------------------------------------------
GDBAgent version 1.4 - 2010-02-08
(GDBAgent) Port range 9898-9998 from GDBAgent.ini.
(GDBAgent) Read license setting from "GDBAgent.ini": 10098@lscic5.cic.org.tw.
(GDBAgent) Use license setting: 10098@lscic5.cic.org.tw;10098@lscic5.cic.org.tw;10098@ lscic5.cic.org.tw.
[CLicenseCheck::CheckOut] Failed: License server machine is down or not responding. (-96,7:2 "No such file or directory")
-------------------------------------------------------------------------------------------------------------------

我們之前在同一台server上的兩個帳號已有安裝同版本的AndeSight,都沒有這個問題,
最近開新帳號再安裝才出現這個問題,
想請問是否是license或其他的設定我們沒有做的?

2. 再來想請問一下在虛擬n1213-s上使用newlibc 和glibc的問題
目前我創立了一個project,裡面code只有簡單的print出hello word,目前嘗試了兩個toolchain(nds32le-linux-glibc-V1以及nds32le-elf-newlib-v1)
使用的Vep target 為 N1213-S,目前執行的結果只有newlibc的版本可以在eclips之console下正確顯示hello word,但glibc卻沒有任何顯示,因為我們有
較複雜的應用需要使用到glibc,是否有解決之道?或者要另外編輯sid config檔

Thx

回答1:
有可能是授權過期,可能要重新申請license,可由下列網址尋求支援,
support@andestech.com
請註明申請單位.

回答2:
nds32le-linux-glibc是for OS上的程式所使用的編譯器,
nds32le-elf-newlib是for Non-OS上所使用的編譯器,
nds32le-linux-glibc編譯出來的程式之所以無法執行,是因為它使用函式庫是呼叫Embedded Linux的函式庫,
你可能要將程式放在SD卡上,之後開發版先run Embedded Linux,
使用超級終端機可以看到進入Embedde Linux,
再mount SD卡,執行程式,才可以看到正確的結果.

AndeSight上不管是使用AICE連線至開發板,或是使用AndESLive的VEP模擬,都只能run Non-OS的程式,
AndeSightg是編譯Andes Diagnostic Program程式(U-boot)或是用來編譯MCU(N8,N9)等級CPU的程式,類似KEIL C V3這套軟體,當然KEIL C只支援ARM7 and 8051.


謝謝回覆,我們之前有用過AndeSight v133版本,那時候裡面的範例是可以在虛擬平台上跑 linux,

事實上,我們也有在課堂上demo過,boot linux之後使用framebuffer,在LCD component 上顯示出圖片,

在1.4上應該也是可以吧,這樣一來應該就可以正常執行glibc編出來的程式?

thanks


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

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