JAN

Week1

  • Tracing & recording is important !
    Tracing code is quite important method to understanding a new module. especially for the recording module which I am studying this days. Some file_system interfaces were excavated such as :
    vfs_file_write( );
    storage_io. file_handel;
  • sd card read &write unit is 512Byte ( 1 sector ), counting the write speed.
  • seen message  from trace data by kingst software, the card send comand 25 ->12->18->12-7->7
    flowing this flow and repeat. the busy time isn’t the key element. 800ms is from the data to next data why so long? wating for the 2k fulled?

關於培訓軟件架構:

首先軟件架構的概念是寬泛的, data structure, function, model, layer cutting, system design 都有軟件架構設計的思想在裏面。可維護性,複用性,一致性,可讀性,移植性,避免耦合性等等思想都要考慮進去,這纔是真正的軟件設計,區別普通程序猿高手和新手的區別。

另外,很多新手都是開始調用簡單的接口邏輯,後面成長中需要學習這些軟件設計的東西纔好,另外需要了解不同的程序設計語言之間的優點,多閱讀優秀的代碼從中學習優秀的設計思想,學習流程圖(開發視圖,邏輯視圖)

希望明天的單元測試能夠學到好東西

Week 02-03

·對於創建錄音數據流讀寫機制難點:內存分配,機制實現
機制的實現問題主要是解決怎麼讀寫不干擾問題,答案是建立隊列讀寫機制,用head和tail分別代表read 和write的兩個指針,並且以1sector爲unit拆分

Week 4

發佈了52 篇原創文章 · 獲贊 10 · 訪問量 2萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章