2009年5月31日 星期日

magicJack (加開箱)





www.magicjack.com
http://service.liveperson.net/hc/s-73335289/cmd/kbresource/kb-9024742989992404426/view_question!PAGETYPE?sc=9&sf=101133&documentid=334572&action=view

magicJack costs $39.95 plus shipping and handling.

One year of free local and long distance calling to the United States, Canada, Puerto Rico and the US Virgin Islands, along with all the other great magicJack features are included with your initial purchase.

You can purchase an additional year of service for $19.95.

Are there any other charges besides the annual service fee?
http://service.liveperson.net/hc/s-73335289/cmd/kbresource/kb-9024742989992404426/view_question!PAGETYPE?sc=9&sf=101133&documentid=334795&action=view
If you choose to place international calls to countries other than the United States, Canada, Puerto Rico and the US Virgin Islands, you have the option to purchase our low-priced prepaid calling minutes from your personal user portal.


magicJack
http://en.wikipedia.org/wiki/MagicJack

magicJack試用報告
http://lifeinus.pixnet.net/blog/post/9745274
一年電話費只要$39.95,第二年的費用是$19.95
(...........)
付$39.95購買裝置,加上$6.95的運費,一共是$46.9。買到以後插好電腦及電話就可以使用,不用另外付activation fee


MagicJack 免費 無限 打 美國 加拿大 國際長途 電話 或 手機 都不用錢 Magic Jack ($1500)
http://goods.ruten.com.tw/item/show?11090219033391

MAGICJACK打美國加拿大免費電話 ($1600)
http://goods.ruten.com.tw/item/show?11081017089030
$1500,不過不是在上面兩個拍賣買的








首先把magicJack插入電腦,會出現下面的畫面下載(??),下載過程大約2-20分,視網路速度而定


輸入email當account name和password,email會收到認證信
用email+password或 電話號碼+password 可登入

輸入地址,如果不是美國地址,則無法使用E911功能

選擇電話號碼

同意Terms of Service

確認所輸入的資料後,就會產生一組號碼

現在就可以打電話了。另外要記得收信完成認證。

2009年5月26日 星期二

Apple的新廣告...

我其實不是Apple的fan, 但 實在實在是最後的那兩句台詞太深得我心了,怎麼在現實中就沒機會呢? :p

Data abort 一直出來

在nonOS的code上遇上些問題,某些寫法一直會導致data abort,有高人建議加個:

__asm { MCR p15, 0, 0, c7, c10, 4 }; //drain WB

就解決了。(後來的測試似乎又指向interrupt裡的printf? 總之狀況似乎不穩定...)

發現我對memory barrier, cache, write buffer的關係還不是那麼清楚,最好找個時間弄清楚

2009年5月21日 星期四

USB UTMI

host controller (HC)
Wrong SOF waveform
After tx_ready pullup(T), PHY would send tx_ready(M1), then HC should keep the currently data for one more clock for phy to sample the data. But in following diagram, HC change data right after tx_ready pullup, the result is only the last byte is sent to USB bus.

2009年5月13日 星期三

自製無糖優格

Wellcome買的($180)
本來是要幫印度同事找無糖優格,找了幾間都找不到,無意間看到這東西。不過還真貴啊,10g $180, 2-3g可做1公升(中文說明寫1ml,看到鬼,那我做100ml不就要買個20-30包....)

2009年5月11日 星期一

090512 早 上班路線再進化 午 三條私房路線一次走完

同場加映 20090512 探索新竹之美 - 系列三 - 新竹寶一寶二水庫附近亂騎[午騎]
http://descent-incoming.blogspot.com/2009/05/20090512.html


軌跡


090512 早 上班路線再進化
Name : WBT201
Numbers of Point : 667
Distance : 15.117 Km (9.393 Mile)
All Time : 56 Minute 41 Second(2009-05-12T09:20:28 ~ 2009-05-12T10:17:09)
Move Time : 55 Minute 40 Second
Stop Time : 1 Minute 1 Second
Average Speed(All Time) : 16.002 KMH(9.943 MPH)
Average Speed (Move Time) : 16.294 KMH(10.124 MPH)
Max. Speed : 39 KMH(24.233 MPH)
Max. Altitude : 131 Meters(429.790 Feets)
Min. Altitude : 23 Meters(75.459 Feets)
Zone : +08:00




090512 午 三條私房路線一次走完
Name : WBT201
Numbers of Point : 1054
Distance : 21.298 Km (13.234 Mile)
All Time : 2 Hour 7 Minute 56 Second(2009-05-12T11:50:40 ~ 2009-05-12T13:58:36)
Move Time : 1 Hour 27 Minute 20 Second
Stop Time : 40 Minute 36 Second
Average Speed(All Time) : 9.989 KMH(6.207 MPH)
Average Speed (Move Time) : 14.632 KMH(9.092 MPH)
Max. Speed : 49 KMH(30.447 MPH)
Max. Altitude : 223 Meters(731.627 Feets)
Min. Altitude : 105 Meters(344.488 Feets)
Zone : +08:00


2009年5月6日 星期三

Google Analytics: 奇怪的週期性


我的blog正如其名,就是我的note,是給我自己看的
雖然並不是很在乎我blog的點閱率,不過在剛開始玩的時候還是裝了Google Analytics
結果每次都變成descent比較的工具
而從很久以前,我的Visits數就一直呈現上上下下的狀況
而今天發現,是不是看我blog的人都只有 上班 的時候才看呢?
因為 每逢weeken Visits數就掉到 50
然後在work day回到100左右....
還有一個可能,就是看的人就是我自己....
可是...這樣Google analytics會不會太蠢了一點??

2009年5月5日 星期二

090506 早 新上班路線 一路offroad到公司

軌跡


Name : WBT201
Numbers of Point : 606
Distance : 15.572 Km (9.676 Mile)
All Time : 52 Minute 21 Second(2009-05-06T09:21:10 ~ 2009-05-06T10:13:31)
Move Time : 50 Minute 47 Second
Stop Time : 1 Minute 34 Second
Average Speed(All Time) : 17.848 KMH(11.090 MPH)
Average Speed (Move Time) : 18.398 KMH(11.432 MPH)
Max. Speed : 36 KMH(22.369 MPH)
Max. Altitude : 123 Meters(403.543 Feets)
Min. Altitude : 25 Meters(82.021 Feets)
Zone : +08:00


WD TV 開箱

HD高畫質娛樂新玩物~WD TV多媒體影音播放器
http://www.mobile01.com/topicdetail.php?f=347&t=875567&p=1

Western Digital WD TV HD Media Player for Select USB Storage Devices
http://www.mobile01.com/topicdetail.php?f=347&t=827235&p=1



http://www.xtreamer.net/
http://www.xtreamer.net/89/content-pages/Specs.aspx
99歐元
mkv+dts+builtin 500G+11n+ethernet port....

3C 好好玩:Asus O!Play HD 媒體播放器
http://chinese.engadget.com/2009/07/29/asus-o-play-hd-hands-on/

Computex 2009:台北電腦展前報 - 華碩 O!Play Full HD 影音播放器
http://chinese.engadget.com/2009/05/31/asus-to-introduce-o-play-media-player-at-computex/

O!Play HDP-R1 華碩官方討論區
http://vip.asus.com/forum/topic.aspx?board_id=19&model=O!Play%20HDP-R1&SLanguage=zh-tw

mkv + rmvb + dts decode + ethernet port + esata


WD推出TV-2 Live多媒體播放器,支援多種HD格式,但還是缺RM
http://chinese.engadget.com/2009/08/18/wd-tv-2-spruces-up-western-digitals-already-attractive-media-pl/

mkv + dts decode + ethernet port 有點弱....


BT影視天堂
http://www.btgod.com/
人人影視
http://www.yyets.net/

PopCorn MKV AudioConverter
http://www.networkedmediatank.com/showthread.php?tid=20887
http://www.heartware.dk/AudioConverter.EXE
http://www.heartware.dk/AC.ZIP
Tutorial
http://audioconverter.heartware.dk/Tutorial/
(Windows)

download&install utilities: MediaInfo, MKVToolnix, SSRC(official, unofficial), FAAD, AFTEN, eac3to, DelayCut, Microsoft® .NET Framework 1.1,
AC3Fix, oggdec, BeSweet, ac3enc.dll, Nero AAC (找不到這包)

MKVToolnix包含mkvinfo和mkvmerge,及其相對應的GUI。mkvinfo可以看mkv檔內含的video/audio track的資料格式;mkvmerge則可以做 (AVI/AC3/...etc) to MKV轉換。遇到AVI+DTS的,可以先轉成MKV再解DTS。是個蠻好用的工具

如果執行AudioConverter.EXE缺少gdiplus.dll之類的library,那應該是缺少.NET Framework 1.1

如何取得 .NET Framework 1.1
http://www.microsoft.com/taiwan/netframework/downloads/howtoget.htm

Microsoft® .NET Framework 1.1 版可轉散發套件
http://www.microsoft.com/downloads/details.aspx?FamilyID=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=zh-tw

我w2k,灌完.NET Framework 1.1後仍找不到, 到
[我的電腦(右鍵)] -> [內容] -> [進階] -> [環境變數] -> (改Path,加入gdiplus.dll所在路徑,我的是c:\WINNT\Microsoft.NET\Framework\v1.1.4322)

AudioConverter跑起來後,所需要用的tool找不到路徑的會以紅格子顯示,而不同的轉換設定可能需要不同的utility,總之要開始跑的話不能有任何紅格子。Temp folder最好有個2-30G的可用空間。

[DTS]
[Convert DTS Track?]
[Convert to Dolby Digital]
[Preserve DTS track]


[File Specification]
[Overwrite source]
[Directory]
[Scan subdir?]
[Retain dir structure]


[Other Settings]
[Handle time-delayed tracks]



Unofficial firmware
http://wdtv.wetpaint.com/page/Unofficial+firmware
WDLXTV是以官方版本改上來的,加上額外的功能
ext3-boot則是從頭改起的

有wmv的沒辦法播,可是有說支援wmv9ㄟ (還是有可以播的wmv,可能是壞檔或是格式問題?)
DDPlus也不行
DTS downmixing
http://www.wdtvc.com/2009/04/01/dts-downmixing/

http://the-gadgeteer.com/2008/12/08/wd_tv_hd_media_player_review/
The site makes it clear that WDTV will never allow DTS downmixing to stereo as the DTS license is too much for WD to support. Interestingly, although the WDTV outputs DTS, I gather that it is not “officially” supported by WD. Site therefore emphasises that best thing to do is use the MKV popcornhour audio converter to convert DTS to Dolby Digital AC3:

http://www.networkedmediatank.com/showthread.php?tid=20887&pid=178585#pid178585

This allows DD 5.1 output to go over hdmi/phono downmixed to stereo.
Having bitten the bullet, I can say it’s fantastic software and kudos to the author - includes links to an easy to understand tutorial. You can still keep the DTS track there in case you upgrade your equipment in future. Only drawback (for my personal circumstance) was that it made the new AC3 track the default but you can change the track priority easily using mkvtoolnix. In fact the author of the PCH audio converter is looking to support DTS/AC3 prioritising in a future release anyway


事情不是像傻人所想的那樣~ HDMI可以帶的Audio有LPCM, Dolby Digital, DTS, DVD-Audio, Super Audio CD, Dolby TrueHD, DTS-HD Master Audio, MPCM, Dolby Ditital Plus(DDPlus, DD+),紅的部份都是WDTV不支援的聲音格式,而其中DTS/DTS-HD則佔了我的"測試檔"中很大的部份。
今天跟公司的 有錢人們 討論過後,要解DTS應該是要買個 綜合放大機 或 前端的解碼機。

[wiki]HDMI
http://en.wikipedia.org/wiki/Hdmi

BD player經HDMI出Dolby TrueHD/DTS HD/LPCM問題
http://old.gamehit.net/index.php?showtopic=69157
請問以下3種方案, 邊種出黎既質素會最好?
a. BD本身既LPCM;
b. DTS HD(BD機解碼出番做PCM);
c. DTS HD downmix做普通DTS(經HDMI出番俾我部2807黎解).
好似有好多問題 , 各位請賜教賜教~~Thank you!~
*

the quality should be b > a >>> c

typically, the sampling rate of DTS HD should be higher than native LPCM, e.g. 24bit / 96Hz VS 16 bit / 48Hz


关于各种音轨的传输解码方式解读(DTS..AC3 TureHD DTSHD)
http://pao.pcpop.com/showtopic-2604.html

多声道LPCM:无损音轨原始存在格式,概念上等效于wave文件,并不需要运算解码,可直接输入功放进行DA转换,LPCM音轨由于码率和体积较大,在 DVD时代通常用在两声道音乐碟的音轨,到了蓝光影碟上,传输速率和容量都大幅增加,给了多声道LPCM音轨表现的机会。

光纤和同轴接口只能传输2声道LPCM,多声道LCPM需要HDMI接口传输,即便HDMI 1.0版本也支持,因此有不少第一代HDMI接口功放可以接收多声道LPCM音轨信号。

我们欣赏到影碟的环绕音效,需要从播放端分离出音轨数据、解码/传输(传输/解码)、DA转换、功率放大这几个步骤,通常播放设备与功放并不在一起,所以这些环节都会影响到最终的听音质量,共有以下4种方式:

1 播放机(PC)解码、DA转换,模拟音频线传输,功放(直接)放大(或先AD转换DSP调整再DA转换):
2 通过SPDIF(光纤或同轴)传输,功放解码放大
3 播放机(PC)解码,通过HDMI 传输多声道LPCM数字音频到功放进行DA转换和放大
4 播放机输出音轨源码bitstream,由功放完成解码、DA转换和放大。

DTS HD為何能夠由現在的擴大機解碼
http://www.hd.club.tw/thread-2340-1-1.html
先看一段原文:
DTS-HD and DTS-HD Master Audio lossless streams contain a "core" DTS 5.1-channel stream at 1.5Mbps that can be decoded and/or sent out via a traditional SPDIF digital interface and played back by any existing DTS decoder. A number of manufacters promoting their next-gen players tout this backward compatability as a benefit, which it certainly is, but don't be confused into believing that you're hearing all these new codecs have to offer from this legacy core stream. While this 1.5Mbps stream is at a higher data rate than the 754kbps rate at which DTS tracks are typically encoded on DVD, DTS-HD and DTS-HD Master Audio lossless both offer the potential for sound that's far superior, with the latter offering bit-for-bit reconstruction of the soundtrack master.

實際上,從DTS-HD編碼原理來看,DTS-HD並不是一種單純的音訊編碼(Encoding)技術,而是一種所謂的音訊封裝(Packing)技術,先解釋一下:
大家都知道,DTS-HD是無損壓縮的,也就是說每個聲道都是獨立以LPCM編碼,然後利用MLP(多聲道無損壓縮封裝技術,我的理解,與大家熟知的 APE格式有異曲同工之妙,只是APE只支援2聲道,而MLP格式可以支援最大31個聲道)把8個聲道(以7.1為例)進行無損壓縮封裝,封裝為單一流。可以這麼理解:打個比喻,每個聲道資料都是一個WAV檔,7.1共8個聲道分別對應8個WAV檔,然後用WinRAR進行壓縮產生單一RAR檔,就是 DTS-HD編碼的結果。當然,為什麼不用WinRAR壓縮,而使用MLP專用技術封裝呢,大家都可以理解,WinRAR壓縮的包需要整軌解壓才能播放,而MLP技術是適用於音訊流媒體的封裝,用於即時播放,且專為音訊資料優化壓縮,以及必要的檢錯糾錯機制。

而DTS則不同,它本身是一種有損的音訊壓縮技術,類似MP3,只不過它採用了特殊的為多聲道壓縮優化的技術來對原始PCM資料進行編碼,碼率一般是755kbps(半碼)和1.5Mbps(全碼),當然其他碼率也是可以的,只是不常用。

DTS-HD在設計時,完全考慮了向前相容性(與DTS格式資訊塊頭一致),即DTS-HD音軌可以在僅支援DTS解碼的設備上播放,那麼這是如何做到的呢?實際上,DTS-HD整軌包含兩個分軌,一個是標準的1.5Mbps位速的全碼DTS音軌,還有一個就是採用MLP-LPCM封裝的真正的“HD”音軌(為了與DTS-HD這一術語區別,暫稱為HD音軌吧),前一個音軌就是為了保證相容性而設置的,即在DTS-HD系統上是冗餘音軌(對應的,後一個音軌在DTS系統上是冗餘音軌,應被丟棄)。因此,播放時不會進行二次編碼過程,另外,DTS二次編碼的開銷是巨大的,非常耗資源,這樣也會提升硬體成本,設置兩個互為冗餘的音軌很好的解決了這個問題,雖然浪費了一些存儲空間,但是對於BD這些大塊頭來說這些犧牲有算什麼呢?

最重要的是,DTS在設計時就充分考慮了向後相容性,應該是在碼流中的資訊塊頭設置了一些格式比特,用於標識“保留/冗餘數據”。因此,在不支持DTS- HD的播放器上播放DTS-HD音軌時,會被當作DTS音軌處理,而真正的HD音軌會被整個標識為冗餘數據,而被丟棄,因此,通過SPDIF輸出的就只剩第一個標準的1.5Mbps位速的全碼DTS音軌,也就是對普通AV擴大機透明,它認為通過SPDIF輸入的就是普通的DTS音軌(呵,它也不可能知道輸入的是DTS-HD音軌)。


何謂DTS-HD與傳統DTS有何差別?
http://blog.yam.com/hifihivi/article/12365767

DTS软解的终极解决方案,效果比DTS解码板好上千倍!!
http://www.hdpop.cn/redirect.php?tid=6080&goto=lastpost&sid=XRv9rb
DTS信号的Downmix(下变换)到2轨模拟音频输出,而且是通过HDMI!


請教一下dts解碼器的問題?
http://www.play01.com/topicdetail.php?f=347&t=974788

DTS-HD --> 舊的解碼器或擴大機--> 輸出DTS 你還是會聽到聲音的!!

(.................)

但是若要完整的次世代音效則要買可解次世代音效的擴大機!!
也就是舊的擴大機可解DTS的應該還是可以用...
只是音效沒有次世代音效來的豐富!!



fw ver: 1.01.02
標1080px264 DTS Audio CHD, DTSHC Audio的都沒聲音,[h264][aac] 則有,[Settings] -> [System] -> [Audio/Video] -> [Audio output] -> 不管改Stereo or Digital都沒用

有時影片播ㄧ陣子會突然跳成綠底的亂碼畫面,原因不明(後來發現 向前轉 再 播放 會回來)

播放影片且該影片之前看過時,它提供resume或restart的選項,Resume通常螢幕解析度會怪怪的,原來較正常的上下有空白;Resume過的上下會填滿,看起來被拉長了。

Settings -> System -> Languague -> default English, change to 繁體中文

Settings -> System -> Additional encoding support -> default Western Europe(ISO), 得根據影片字幕的編碼設定才能正確看到字幕,不然會是亂碼

$4100(順發賣的比較便宜$3900)
不過我需要一些技術support....





這是什麼呢? ..... 本來還以為是機架...但是厚度差太多了...

由封面看來,是放硬碟外接盒的

可是一般3.5"硬碟放不進去,可能得放2.5"的
這樣實在很蠢ㄟ,啊是沒東西送了喔.....

很簡潔的遙控器





WD TV wiki
http://wdtv.wetpaint.com/

WD TV official product page (firmware update)
http://www.wdc.com/ch/products/wdtv/index.asp

2009年5月4日 星期一

房屋稅 & 地價稅

房屋稅Q&A
http://www.etax.nat.gov.tw/wSite/ct?xItem=21961&ctNode=11186

房屋稅1 年徵收1 次,目前是訂在每年5 月1 日開徵5 月31日截止,繳納期間為1 個月。課稅期間是從前 1 年的7 月1 日起算至當年6 月 30 日為止。


房屋稅節稅手冊
http://www.etax.nat.gov.tw/wSite/lp?ctNode=11186&CtUnit=1305&BaseDSD=7

房屋稅條例
http://law.moj.gov.tw/Scripts/Query4A.asp?FullDoc=all&Fcode=G0340102

地價稅
http://fn.yam.com/taxall/s_land.html
納稅義務人
根據稅法規定,納稅義務基準日 ( 8 月31日) 當天土地登記簿上所記載的土地所有權人或典權人,為地價稅的納稅義務人。

納稅期間
地價稅每年開徵一次,繳納期間為每年十一月一日至十一月三十日,課稅所屬期間為每年一月一日至十二月三十一日。


土地法
http://law.moj.gov.tw/Scripts/Query1A.asp?no=1D0060001&K1=%A6a%BB%F9%B5%7C&KeyWordID=&KCDate=
第 144 條 土地稅分地價稅及土地增值稅二種。

Endianness and ARM System Endianness

Definition of Endianness

  • Byte ordering to represent some kind of data
    • Particular attribute of a representation format
  • Is about how to interpret data
    • Usually when there are communication, or sharing information
      • Between computers in a network
      • Or between components in a SoC, e.g. cpu, memory, devices
    • Endianness of both sides have to be the same to communicate correctly
      • Or swap data by some hardware/software mechanism
    • To share information between hosts of different endianness typically uses one of two strategies
      • Single endianness for sharing data
        • Most Internet standards specify big-endian
      • Allow hosts to share data in any endianness and mark which one they are using
    • NUXI problem (aka. endian problem)
      • Problem of transferring data between computers with differing byte order
    • File format
      • binary file created on a computer is read on another computer with different endian

Types of Endianness
  • Big-endian
    • High-order byte of the number is stored in memory at the lowest address
    • Low-order byte of the number is stored in memory at the highest address
    • Motorola 68000, SPARC and System/370

  • Little-endian
    • Low-order byte of the number is stored in memory at the lowest address
    • High-order byte of the number is stored in memory at the highest address
    • X86, MOS Technology 6502, DEC VAX
  • Bi-endian (aka. bytesexual)
    • Architectures that can be configured either way
    • ARM, PowerPC (but not the PPC970/G5), DEC Alpha, MIPS, PA-RISC and IA64
  • Middle-endian (aka. mixed-endian)
    • PDP-11

Endianness in SoC


Components in SoC
  • CPU
    • Would require memory in a specific endianness
    • Changing endianness in a SoC usually means changing the endianness of CPU.
  • Memory
    • (?)Memory is actually a passive device, i.e. it just give the data that was written, no matter the endianness

      (?)
      (Absolutely wrong. the endianness would cause different word/byte behavior...)
      memory have it's endianness, but would fulfill the expectation of CPU
    • Sometime memory controller may access memory in one endianness, and access bus in another endianness (to fit the expectation of CPU)
      • e.g. data stored in memory is Little Endian, but memory controller would always swap the data to behave as Big Endian memory.
  • Device
How do other component react to the change of endianness?
  • change endianness as CPU do
  • keep the same endianness
    • use hardware wrapper to swap the data
    • use software to swap the data

Endianness of ARM CPU
  • Little Endian
  • Big Endian (a.k.a. word-invariant big endian, BE-32)
    • for ARMv4/v5 CPU
    • word-invariant: word access doesn't require swapping
  • BE8 (a.k.a. byte-invariant big endian)
    • for ARMv6 CPU
    • byte-invariant: byte access doesn't require swapping

RealView Compilation Tools for µVision Linker Reference Guide Version 4.0 Linker Command-line Options
  • --be32
    • This option specifies legacy Word Invariant Addressing big-endian mode, that is, identical to big-endian images prior to ARMv6.
    • Produces big-endian code and data.
    • Word Invariant Addressing mode is the default mode for all pre-ARMv6 big-endian images.
  • --be8
    • This option specifies ARMv6 Byte Invariant Addressing big-endian mode.
    • This is the default Byte Addressing mode for ARMv6 big-endian images
    • for input objects that have been compiled/assembled as big-endian, linker reverses the endianness of the instructions to give
      • little-endian code (instruction)
      • big-endian data
    • Byte Invariant Addressing mode is only available on ARM processors that support ARMv6 and above.

How to define endianness of CPU?
by the data input to and output from CPU, e.g.
(data in 0xD31->D0 order)
Little endian: 0x12345678+0xeeddccbb=0x0112_2333
Big endian : 0x12345678+0xeeddccbb=0x0012_2334


How to define endianness of memory?
??
I think memory should just return data in it's ordering. it's the responsibility of the "user" (e.g. CPU, Device) to decide the endianness first, and then to interpret the data in memory. So if the CPU is in big endian mode, implies the data in memory is big endian too, and vice versa.

but it seems that many memory do require endianness setting, why is that?
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0269a/Babjaiga.html?resultof=%22%65%6e%64%69%61%6e%22%20

http://infocenter.arm.com/help/topic/com.arm.doc.ddi0269a/Cegbbbab.html?resultof=%22%65%6e%64%69%61%6e%22%20
??

Facts of ARM11MPCore BE8 Mode
  • compiled binary(with --be8) have Little Endian instruction, Big Endian data
    • loading instructions would NOT cause a swap
    • loading data would cause a swap
    • thus, in CPU, it is Little Endian instruction and data
  • 0x12345678 (in source code) -(compiled & loaded to memory)-> 0x78563412 (in RAM) -(loaded to CPU register)-> 0x12345678 (in CPU register)
  • the operation seems like Little endian operation, e.g. 0x12345678+0xeeddccbb=0x01122333


[wiki] 位元組序
http://zh.wikipedia.org/w/index.php?title=%E5%AD%97%E8%8A%82%E5%BA%8F&variant=zh-tw

Endianness
http://en.wikipedia.org/wiki/Endianness

NUXI problem
http://catb.org/jargon/html/N/NUXI-problem.html

swab
http://catb.org/jargon/html/S/swab.html

RealView Linker Reference Guide: --be8
http://www.keil.com/support/man/docs/armlinkref/armlinkref_chdheicg.htm

RealView Linker Reference Guide: --be32
http://www.keil.com/support/man/docs/armlinkref/armlinkref_chddbdgb.htm

Writing MCS files to PROM

  1. Start iMPACT 10.1
  2. Cancel the "iMPACT Project" window
  3. [(double click)Boundary Scan]
  4. (right click in window frame with text "Right click to Add Device or Initialize JTAG chain") -> [Initialize Chain] -> (Chose the image, in reverse order, i.g. 1, 0, or 2, 1, than 0) -> enable [Parallel Mode] in all device -> [OK]
  5. (choose both xcf32p chip) -> [Operation] -> [Program]

2009年5月3日 星期日

090504 午 迷走新竹...58km....

本來沒有走成 三十股 那條路,看起來是一過 水泥小亭 的右轉下坡才對。已經走到 中豐公路 才確定,想說沒關係,走信德路回去好了。走著走著,越走越不對,怎麼走到 斗煥坪 來了? 結果地圖上的 學府路 與 信德路 都沒有路標,是找了門牌才知道的。最後終於一路走到了熟悉的 寶新路,想說時間還早,就走上次跟馬丁走的 雙林路。

上了 雙林路 ,到了 雙林路 與 崎林路 交點,只模糊地印象中要沿著 雙林路 走,就給他走下去了,結果沒走多久,就發現這好像不是上次與馬丁走過的路。才又回想起來,上次也是我說想走這條路,馬丁說會很遠,就 直走 下去了。那為什麼我有印象我有規劃走雙林路呢? 因為我的確是規劃過 另一條 雙林路(崎林路 再走下去就是 雙林路) 的路線。馬的,地圖上怎麼會有兩條雙林路ㄚ.....

就這樣,因為以為是規劃過的路線,所以 就 很放心地一路 迷走 到了 中華路六段,我 就這樣 從 中華路六段...騎到 中華路二段,體驗了什麼叫做 最長的中華路,也是騎腳踏車以來最最最長最最最久的一次旅程(58km/3hr) (馬的,下午還要上班ㄌㄟ.....)(哭哭)

軌跡


Name : WBT201
Numbers of Point : 1961
Distance : 58.303 Km (36.228 Mile)
All Time : 3 Hour 0 Minute 57 Second(2009-05-04T11:20:04 ~ 2009-05-04T14:21:01)
Move Time : 2 Hour 45 Minute 21 Second
Stop Time : 15 Minute 36 Second
Average Speed(All Time) : 19.332 KMH(12.013 MPH)
Average Speed (Move Time) : 21.156 KMH(13.146 MPH)
Max. Speed : 52 KMH(32.311 MPH)
Max. Altitude : 196 Meters(643.045 Feets)
Min. Altitude : 11 Meters(36.089 Feets)
Zone : +08:00


090501 早 走 千甲路 下員山路 到公司

軌跡


Name : WBT201
Numbers of Point : 504
Distance : 13.351 Km (8.296 Mile)
All Time : 43 Minute 53 Second(2009-05-01T10:12:38 ~ 2009-05-01T10:56:31)
Move Time : 41 Minute 59 Second
Stop Time : 1 Minute 54 Second
Average Speed(All Time) : 18.254 KMH(11.343 MPH)
Average Speed (Move Time) : 19.080 KMH(11.856 MPH)
Max. Speed : 38 KMH(23.612 MPH)
Max. Altitude : 113 Meters(370.735 Feets)
Min. Altitude : 16 Meters(52.493 Feets)
Zone : +08:00