2013年11月8日 星期五

Control user LEDs of Beaglebone (black) on FreeBSD

Short version:
"gpioctl {53|54|55|56} {0|1}"

The user LEDs on Beaglebone and Beaglebone Black are connected to GPIO1_21 through GPIO1_24 of AM335x according to Service Reference Manuals(*1). GPIO pins of AM335x are grouped as four 32-channel groups (*2), group 0~3 and pin 0~31. FreeBSD represents all pins as flat addressing 0~127. So the corresponding pin number of the first LED for gpioctl is (32+21)  = 53.

(*1): Beaglebone & Beaglebone Black  Service Reference Manual are available at http://circuitco.com/
(*2): According to AM335x manual, TI doc# SPRS717F, available at http://www.ti.com/product/am3359.

2013年10月7日 星期一

Android todo apps

自從熱狗章魚被yahoo吃了之後, 就得轉移到其他程式去用了。這就是雲端服務的壞處, 提供服務的公司永遠比你以為的要短命很多。以前的購併還會裝模作樣一下, 提供一段時間維持不變,其實是擺給他爛。現在的購併則更毫不遮掩,親事一談定馬上趕客人出門。使用者成了startup廉價即可拋式的免費測試員。

上一次找 todo 時記錄的要求, 多半是要跟gmail tasks 同步。個要求這次可以免了。google本身都像在擺爛一樣, 有了堪用的功能之後ylch完全沒進步了。想必是沒法從上賺到廣告費的原因。

本次的要求:
可多個裝置同步
離線時功能要仍然正常可用
電腦上可用的 web界面
任務可重複。可指定重複條件更佳
提醒功能能持續提醒列出所有未完工作
已完成功作必須方便回顧查閱


目前的候選人:
wunderlist
any.do 
gtasks
google keep

2013年9月12日 星期四

Intel to enter core-licensing market with Quark?

On the first day of IDF'13, Intel announced the Quark family tiny SoC. What is interesting is the emphasis of "fully synthesizable" claim.

Quark is said to be a "Pentium-ISA" class core. Which sounds familiar when it comes to Xeon Phi, or Intel MIC.

Intel apparently is plotting its roadmap of the next decade by targeting at Internet of Things, or IoT. IoT actually requires many roles in the ecosystem. Intel undoubtedly already occupied a position in aggregating and processing so-called big data. But when it comes to the edge of front line where data gets collected, other microprocessor vendors still dominate with extreme low power consumption and cost, an area in which Intel always falls behind. Quark targets the segment where microprocessor is even more tiny than Atom family of processors. It is going to directly compete with Cortex-R and even Cortex-M class MCUs.

How Intel will enter the previously untouched land of tiny-to-pico processors is interesting. With the "full synthesizable" claim apparently Intel is not going to do all the design and manufacturing process alone. Due to the various and different requirement, and extreme cost-sensitiveness. Doing it all alone would not make full sense. In near future it is not possible for Intel to get familiar and customize for every industries that are going to get more digitized and connected in the next decade.

This is not the first time Intel attempts to license its microarchitectures. Not long after introduction of the first generation Atom processors, Intel announced partnership with TSMC to provide programs utilizing Atom microarchitecture, effectively providing core IP licensing. But due to various known and unknown reasons, this plan was soon suspended and never came out a practical result. And now Intel has already become a direct competitor in foundry business.

It remains to be seen if and how Intel will license its core. The more possible is combining it with foundry services so customers can do one-stop shipping for services like what they do now at TSMC.

2013年1月2日 星期三

The Dark Knight Rises

看起來 Nolan 已經疲乏了。或者三部曲的公式已經被摸清底細了。這一部看起來就沒有前兩部初轉換風格時,來得驚喜的感覺。

片中許多地方場景跳接得非常不自然。看似趕進度勉強接上。而這已經是片長165分鐘的結果。如果片長再縮短到一般兩小時或100分鐘的長度,真不敢想像這敘事會變成什麼樣的結果。