精彩BUG人生[1] — 開篇:費力的2周

來源:互聯網
上載者:User

 

BUG,程式員生活的一部分,相互離不了,互相不歡喜。也許你有精彩的人生,你有精彩的BUG嗎?

 

它困擾了我快2周,姑且稱它為小A,小A它一直不敢正視我,天天在逃避,每次與它擦肩而過,感覺很熟悉,又發現其實咱們不太熟。正因為如此,它才可以得意這麼久;也正因為如此,它才連累了它的眾多親朋與好友,不過那些傢伙也非善類,裝好人也不是一天兩天了,只是還沒給它們機會出來曝光而已。其實大家都一樣,大多數人一輩子也都是碌碌無為的隱藏著,你還想那著杆起義?做夢!

 

人總是喜歡展示出好的一面,我也一樣,所以每天如何的揪心揪肺、如何的輾轉反側就...

只希望和大家分享揪出小A,那它遊街的痛快。你可能會問,小A是怎麼被揪出來的呢?這得益於我們那超級無敵廉價示波器。

上datasheet:

Sample One ->

The Cold Reset Activation Terminal procedure is as follow and the Figure 15-8. Timing indications are given according to ISO IEC 7816:

•  RESET= Low , I/O in the receive state

•  Power Vcc (see DC/DC Converter)

•  Once Vcc is established, apply Clock at time Ta

•  Maintain Reset Low until time Ta+tb (tb< 400 clocks)

•  Monitor The I/O line for the Answer To Reset (ATR) between 400 and 40000 clock cycles after Tb. ( 400 clocks < tc <         40000clocks)

 

Sample Two ->

 

• Bit 1 – CARDRST: Card RST

Clear this bit to drive a low level on the Card RST pin.

Set this bit to set a high level on the Card RST pin.

VCARDOK=1 (SCISR.4 bit) condition must be true to change the state of Card RST pin.

 

Sample Three ->

Power On -> CardVcc On -> VCARDOK = 1

 

 

看明白這幾條,認出小A就不是那麼難了,現在,就算你穿上馬甲我也認識你。

如果你沒看明白,沒有關係,我們不是同道中人,權當笑話,捧捧場,說不定下回咱殊途同歸了。

 

血和淚,我們需要銘記:“別小瞧了便宜的'示波器'”。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.