Showing posts with label Engineering Utility. Show all posts
Showing posts with label Engineering Utility. Show all posts

Monday, November 25, 2013

SourceInsight [H]

 

讓Source Insight顯示完整路徑名稱

Reference

[1]http://joseph0425.blogspot.tw/2007/03/source-insight.html

Putty [Q]garbled

無緣無故出現了一堆亂碼,測試了許久才找出問題。

有時候莫名其妙的問題真的會讓人束手無策。

原來其實是設定上有所不同,因為Serial Port同步問題是他最重要的部分。

這次是Parity的問題[1],這個設定主要是做資料確認。

有三個選項 odd, even和none。

簡單來說就是如果設定odd傳送出去的資料就必須為奇數,會透過Parity bit來做調整補償。

image

Reference

[1]http://en.wikipedia.org/wiki/Parity_bit

Thursday, November 14, 2013

計算機 Calculator

現在只能說工具軟體真的是越來越多功能,但想想其實有時候真的是畫蛇添足。

往往便利的工具只會造成使用者有了錯誤的迷思,或許不斷重複無趣的工作需要好的工具。

但在開發過程中,不好的工具才會讓工程師有更好的思考邏輯吧。

說了一大篇,其實只是想要分享一下我們常見的window的附屬工具"計算機"。

常常看到有個「MC、MR、M-、M+」

這有甚麼用呢?我看了很多說明,[1]是我看過最好的說明,就節錄有用的部分。

M+:記憶當前數字,「加入」累加數字當中。

M-:記憶當前數字,以負數的形式「加入」累加數字當中。

               換句話說,就是把總數扣除當前數字的意思。

MC:Memory Clean的意思,也就是將目前記憶的數字「歸零」。

MR:Memory Recall的意思,將當前計算出來的數字呈現出來。

MS:無視目前記憶多少數字,直接以當前數字取代記憶中的數字。

MU(Mark up or Mark down)、GT(General Total)、CE(Current Empty)

原文網址: 計算機「MC、MR、M-、M+」做啥用?民眾:20年來都不知 | ETtoday生活新聞 | ETtoday 新聞雲 http://www.ettoday.net/news/20120530/51013.htm#ixzz2kgGi8Iwa
Follow us: @ETtodaynet on Twitter | ETtoday on Facebook

Reference

[1]http://www.ettoday.net/news/20120530/51013.htm

Monday, September 26, 2011

Command in Linux - find

初步概念
最近一直在做一些資料整理,但總覺得一個一個搬檔案殺檔案,真的是件很瑣碎的事情,於是就想了一些辦法能夠減少這樣的次數。
Work Env.
find \. -name "*.png" -exec ./$1 {} {}.z \;
Piggy Note
我想發明電腦就是要為了能夠幫助人處理一些瑣碎的事情

Sunday, September 25, 2011

vimdiff

初步概念
在Team work的作業環境下,該如何將別人的程式有效的結合自己的程式,當然你可以一份一份的將程式碼看過一遍,在區分找出不同之處加以修改,不過這樣的過程非常耗時且毫無效率可言,於是就有人想出該如何利用其他工具來達到目的,vimdiff就是用來分辨兩者的程式碼有何不同且能修改程式
Work Env.
#apt-get install vim-full

do - Get changes from other window into the current window.
dp - Put the changes from current window into the other window.
]c - Jump to the next change. 
[c - Jump to the previous change. 
Ctrl W + Ctrl W - Switch to the other split window. 
:diffupdate - diff update  
:syntax off - syntax off  
zo - open folded text 
zc - close folded text
Piggy Note
在Windows裡用了許多好用的軟體作為寫程式的輔助,但在Linux中的概念總覺得不太方便界面不人性化,不過在vimdiff中打破這項觀念,這套軟體真的可以跟beyond compare作抗衡。
Referance
http://www.debianadmin.com/vimdiff-edit-two-or-three-versions-of-a-file-with-vim-and-show-differences.html
http://amjith.blogspot.com/2008/08/quick-and-dirty-vimdiff-tutorial.html

Thursday, September 15, 2011

嵌入式系統工程師必備工具 in Linux


Code-view
  1. Vi
  2. Vim
  3. Cscope
  4. tlist
Code-control
  1. SVN
Development of embedded systems
  • Debug tools
    • none
  • LA
    • none
  • Com-port control
    • none
Code-compare utility
  1. diff
  2. vimdiff note
Code-exchange

  • none
Others
grep
find
ps
fd
awk
ctags + jedit
doxygen

嵌入式系統工程師必備軟體 in Window OS

正所謂
工欲善其事,必先利其器。
Code-view
  1. Notepad++
  2. Source insight
  3. Ultraedit
  4. Code Visual Editor
Code-control
  1. SVN
  2. Tortoise SVN
Development of embedded systems
Code-compare utility
  1. WinMerge
  2. Beyond compare
  3. Kdiff3
  4. Perforce Visual Merge and Diff Tools
  5. Diffmerge
Code-exchange
  1. Winscp

Other

  1. Deskpin
  2. xneat

Monday, September 5, 2011

Shortcut In Mac OS X

Taking Screenshots
Command-Shift-3 
  • Take a screenshot of the screen
Command-Shift-4 
  1. select an area: Take a screenshot of an area 
  2. click a window: Take a screenshot of a window
above will save it as a file on the desktop, or +Control save it to the clipboard 
Force Quit 
Option-Command-esc

Register Transfer Level Design with Verilog (1) [ebook]

設計程式之所以有趣不外乎是它的千變萬化,同樣的結果卻有不同的寫法。 但這些不同寫法當中也並沒有分誰對誰錯,也沒有制定標準來規範何事該用何解。 這也就是我們設計者的珍貴!! [1] Primitive Instantiations 在Verilog中最基本的邏輯...