NelsonChung's blog
邁向偉大的航路
值得推薦給獨一無二的你
空中英語教室廣播檔分享粉絲團
Simon Studio婚禮攝影工作室
繪心一笑DIY蛋糕房Facebook粉絲團
繪心一笑DIY蛋糕房
Rich
常用資源
Gnu make
Gnu C library
git doc
Detail ToC
Ubuntu常用軟體
image share
pastie
QT OnLine Ref
2010年11月20日 星期六
how to write/read command(or data) to uart device
送資料到ttymxc1
ls > /dev/ttymxc1
or
cat list.txt > /dev/ttymxc1
從ttymxc1讀取內容
cat < /dev/ttymxc1
透過Facebook分享
使用stty設定baudrate
我使用busybox的stty
設定的command如下
./busybox stty -F /dev/ttymxc1 115200
如何接收以及傳送資料到ttymxc1
Reference:
http://e2e.ti.com/support/embedded/f/354/p/65924/238236.aspx
透過Facebook分享
2010年11月19日 星期五
vim - 搜尋 and 取代功能
進入console mode
[ESC]
:%s/A/B
找到A字串
用B字串取代
透過Facebook分享
最近時間走的很快
最近覺得時間過的很快
上班能夠學的東西很多
也許對有興趣的東西
會更想去研究不清楚的部份
所以有比較多的衝勁
願意花更多時間去分析
所以一早起來
覺得才沒過一下
就天黑了
透過Facebook分享
2010年11月18日 星期四
搜尋某目錄下某副檔名中的字串
find
./myandroid9.1/kernel_imx/
-name \*.h -exec grep -wnH
SERIAL_IO_MEM
{} \;
搜尋此目錄下 -
./myandroid9.1/kernel_imx/
副檔名為.h
搜尋字串為
SERIAL_IO_MEM
Reference:
http://blog.roodo.com/jaytech/archives/9783869.html
透過Facebook分享
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)