--- tags: 活動共筆 --- # 20210907 伴伴學:阿九陪你搞破壞之阿米巴自動燒錄機開發 ## 引入 1. 爲什麽要使用ImageTool? BW16 認體燒錄時需要清空原廠的image才可以使用 2. 爲什麽原廠 只能使用 1.5Mbps Baud Rate 燒錄程式? [CP2102](https://www.silabs.com/documents/public/data-sheets/CP2102-9.pdf) 最大支持速率只能達到 1Mbps, 但是FT232 可以支持到 2Mbps ([FT232R](https://ftdichip.com/wp-content/uploads/2020/08/DS_FT232R.pdf)可以到3Mbps) 3. rtl_flash.md ## 小結 雖然全程都聼不太懂Joe具體分享的方法,但是在和team member探討之後,他給我解釋說Joe的做法等於用: step 1: 使用serail mon 讀出 image tool在執行時的Hex code step 2: 調節baudrate傳輸速度,比較前後 hex 的差異就可知道速度的設定在哪裏 同理可以得到upload的地址操控的 step 3: IDA 反編譯 binary -> assembly -> c ## 使用軟體 1. [Source Insight](https://www.sourceinsight.com/) 類似VSCode的編輯器, 使用按照個人情況而定 但是搜尋和整合的功能更加强大, 可以用來搜尋所有引用某個function/class的所有文件 追蹤大檔案用 2. [SerialMon](https://www.serialmon.com/) 存在很久但是改版了, Serial Monitor軟體, 可以類比為"軟體示波器" 3. [RegMon for Windows v7.04](https://docs.microsoft.com/en-us/sysinternals/downloads/regmon) 4. [IO Ninja](https://ioninja.com/) 封包分析軟體 5. 資料分析軟體 IDA, Ghidra, [List of 10 Serial Port Monitor software for Windows in your budget range](https://www.virtual-serial-port.org/articles/best-serial-port-monitor-utilities/)