昆's profileThe most effective way t...PhotosBlogListsMore Tools Help

The most effective way to do it, is to do it.

http://www.facebook.com/JKZhong
No list items have been added yet.
謝謝您的瀏覽!
Please wait...
Sorry, the comment you entered is too long. Please shorten it.
You didn't enter anything. Please try again.
Sorry, we can't add your comment right now. Please try again later.
To add a comment, you need permission from your parent. Ask for permission
Your parent has turned off comments.
Sorry, we can't delete your comment right now. Please try again later.
You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
Complete the security check below to finish leaving your comment.
The characters you type in the security check must match the characters in the picture or audio.
December 01

半殘的os

雖然還不會飛,但這半殘的os最少可以開啟和執行任務,也可以正常的分時多工(?)。
 
心得就是 Interrup service routine 和計時器要注意,可以正確的startup(init) 硬體,理論上可以不用管os在做什麼,只要呼叫來用就行了,除非要研究OS的內部程式。
另外如果可以用實際的硬體測試最好,因為IIS在作Interrupt Vector時對於 C 的指標處理不是很正確,Linking register 在記錄上會把 C 的指標(中斷向量轉移)記錄到 LR,才跳到ISR的第一筆指令(記錄所有的reg值),但理論上應該是要記錄到跳到ISR前的位址才正確。
上面的問題不知道是否,是因為在 C 撰寫 指標轉移也會產生一筆組語的指令(但在 ELF檔中沒看到??) ,還是在 ADS不是一個真正的 IIS,所以執行與記錄的不是正確的位址(但是它吃的是ELF的image file )?
extern __irq void p_nIRQ_ISR(void)  { UCOS_IRQHandler();}
這筆指令只是將 IRQ 的位址指定給 ISR,理論上是指標轉移的虛擬碼,在Linking time時應該就會解決,但為何在  ADS 所看到會是將這當成一筆指令,改變 PC, LK REG,造成ISR 的返回錯誤,一直無法跳回中斷之前的位址,而一直在ISR中不斷執行。
 
 所以要跳到 system c 或 rtl  的 ARM EASY 環境執行?? 
可能要再看 system c & coware 了…,rtl 的simulation time實在太久,但重學 system c與建立 module的時間也要很久,而且最後還是要上 fpga  …
這下真的是騎虎難下!!
 大話說太早,看來離去新竹找工作又要一段時間了…慘呀~~~~~~!!!
 
November 27

失敗~~!!

以經兩個星期了,OS  porting的進度還是很慢,和我之前預想的有很大的落差…一整就是囧。
本來計劃十一月寫工作要面試的書面資料,十二月開始找工作,現在os 生不出來,還被叫去比賽…
是我太弱,還是os porting 太難呀,看來找工作可能又要等一段時間了。答應人家的就是要還,可是再搞下去都可以唸博班了…@@!!
為什麼成大、交大的學生都可以一個人就port出來!!!
 
操~~!!! 看來是我太弱…
November 09

退伍~~~!!!!!!!

哈哈~~以於1900收到退伍令,2400準時登出,終於等到我退伍了~~!!!!!!!!
再也不用開檢討會了、不用理那些無理的規定和制度!!
還有那些小偷,每個月都領那麼多,還一直倫我們義務役的東西~~~吃大大大大便吧小偷!!!
另外還沒退伍前都不玩什麼花樣,要不然就會被召回~@@||
November 08

高雄一日遊

今天和從新訓到退伍都在一趇的同梯弟兄,去高雄看褔音戰士電影版,還遇到部隊的通信排長,原來大家都是宅宅…XD
回程的時候還去國維敗了SB900的閃燈~~哈
明天就退了~~~爽!!!!!
 

昆 阿

Occupation
Location
Interests
我是時下好青年…!
  • Send a private message
  • Tell a friend
  • Add to your network

mix

Photo 1 of 530