KopherUDS:UDS 診斷上位機與燒錄工具
KopherUDS 是 KopherBit 的 UDS (ISO 14229) 診斷上位機,支援 ECU 軔體燒錄、DTC 讀取、SecurityAccess、RoutineControl、DataIdentifier 讀寫等流程,相容 CAN / CAN FD / DoIP,與 KopherBoot Bootloader 與 KopherSAR DCM/DEM 緊密整合。
Summary
KopherUDS 是 KopherBit 提供的 UDS (ISO 14229) 診斷上位機(Tester),可執行 ECU 軔體燒錄、DTC 讀取、SecurityAccess、RoutineControl、DataIdentifier (DID) 讀寫等診斷服務。傳輸層支援 CAN、CAN FD、DoIP/Ethernet,與 KopherBoot UDS Bootloader、KopherSAR DCM / DEM 緊密整合,可在開發、產線、售後維修各階段重用同一套工具流程。
Technical Role
KopherUDS 於整體開發鏈中位於:
- 開發階段:開發者透過 KopherUDS 對 ECU 發送 UDS 服務請求,驗證 BSW DCM/DEM 行為。
- 產線階段:作為產線燒錄工具,配合 KopherBoot 完成 ECU 軔體寫入。
- 售後階段:可作為診斷工具讀取 DTC、清除故障、進行特殊維修流程 (Routine Control)。
KopherUDS 內建符合 ISO 14229 的訊息格式編解碼,並提供腳本化測試流程能力,便於整車廠或維修廠執行重複性診斷腳本。
支援的 UDS 服務
| Service ID | 名稱 | 用途 |
|---|---|---|
| 0x10 | DiagnosticSessionControl | 切換 Default / Programming / Extended Session |
| 0x11 | ECUReset | 重置 ECU (Hard / Soft / KeyOffOn) |
| 0x14 | ClearDiagnosticInformation | 清除指定 DTC |
| 0x19 | ReadDTCInformation | 讀取 DTC 列表、Snapshot、Extended Data 等 |
| 0x22 | ReadDataByIdentifier | 讀取指定 DID |
| 0x27 | SecurityAccess | Seed/Key 認證 |
| 0x28 | CommunicationControl | 啟用/停止通訊 |
| 0x2E | WriteDataByIdentifier | 寫入指定 DID |
| 0x31 | RoutineControl | 啟動/停止/查詢 Routine |
| 0x34 | RequestDownload | 宣告軔體下載 |
| 0x36 | TransferData | 傳輸資料分段 |
| 0x37 | RequestTransferExit | 結束傳輸 |
| 0x3E | TesterPresent | 維持 Session 不超時 |
| 0x85 | ControlDTCSetting | 控制 DTC 寫入啟用 |
Architecture
| 子系統 | 角色 |
|---|---|
| Transport Layer | CAN / CAN FD / DoIP/Ethernet 通道管理。 |
| ISO-TP / DoIP | 跨幀分段組裝與路由。 |
| UDS Service Encoder/Decoder | 訊息編解碼,符合 ISO 14229-1。 |
| Session Manager | 維護 Diagnostic Session、SecurityAccess 等級、Tester Present 心跳。 |
| Flash Loader | 配合 KopherBoot 進行 ECU 軔體燒錄。 |
| DTC Viewer | 解析 0x19 回應,呈現 DTC 列表、Snapshot、Counter。 |
| Scripting | 自動化腳本(產線測試、回歸測試)。 |
| GUI | 使用者操作介面。 |
Key Capabilities
- 完整 UDS 服務集支援,符合 ISO 14229-1。
- 多傳輸層:CAN、CAN FD、DoIP,支援同時連線多 ECU。
- 與 KopherBoot 直接相容的軔體燒錄流程,自動化 SecurityAccess + Erase + Download + Verify + Reset。
- 0x19 子服務完整呈現:DTC 列表、Snapshot、Extended Data、Counter、Severity。
- 支援 OEM 自訂 SecurityAccess Seed/Key 演算法插件。
- 腳本化測試介面,便於整合至 CI/產線自動化。
Engineering Inputs Required
| 輸入 | 用途 |
|---|---|
| ECU UDS 設定 | DCM 配置中的 SID、Sub-Function、Session 切換規則。 |
| DTC 與 DID 清單 | 用於 0x19 / 0x22 / 0x2E 之解析顯示。 |
| SecurityAccess 演算法 | OEM 自訂 Seed/Key 計算邏輯。 |
| 軔體影像格式 | S19 / HEX / BIN,配合 RequestDownload 流程。 |
| DoIP 設定 (如使用) | DoIP Activation Line、IP 路由、VIN/Logical Address。 |
| Vehicle Manufacturer 規範 | OEM 對 UDS 服務參數、PowerLatch、TesterPresent 心跳的特殊要求。 |
How KopherBit Supports This
- KopherUDS 工具:完整 UDS 上位機,圖形化操作 + 腳本自動化。
- KopherBoot 整合:燒錄流程一鍵完成(Session 切換 → SecurityAccess → Erase → Download → Verify → Reset)。
- KopherSAR DCM/DEM:服務端對應 KopherUDS 客戶端,雙方協議完整一致。
- OEM 自訂支援:可接受客戶自訂 SecurityAccess 演算法 plugin、DTC 顯示模板。
FAQ
KopherUDS 與 Vector CANoe / ETAS INCA 差異?
KopherUDS 專注於 UDS 流程與 KopherBit ECU 整合,授權成本較低,並可直接無縫對接 KopherBoot 與 KopherSAR。CANoe / INCA 為更全面的整車網路與量測平台,可在大型專案中與 KopherUDS 並存(KopherUDS 用於 KCU 燒錄與診斷,CANoe / INCA 用於整車網路觀察與標定)。
可以匯出腳本給產線使用嗎?
可以。KopherUDS 提供腳本介面,可將開發階段驗證好的 UDS 流程封裝為產線燒錄/驗證腳本,於工廠 PC 執行。
是否支援 DoIP?
支援。可透過 Ethernet (DoIP) 連接 ECU,特別適合 KCU GEN2 (Phase B) 等具備 Ethernet 的產品。
燒錄失敗後可以重新嘗試嗎?
可以。KopherBoot 設計為斷電/失敗後 ECU 仍停留於 Bootloader 模式,KopherUDS 重新連線後即可重啟燒錄流程。
如何讀取 EDR 事件資料?
EDR 事件資料透過 UDS 0x19 ReadDTCInformation + 自訂 DID (0x22) 流程讀取,KopherUDS 可依 OEM 提供的資料結構解析顯示。
JSON-LD
{
"@context": "https://schema.org",
"@type": "TechArticle",
"headline": "KopherUDS:UDS 診斷上位機與燒錄工具",
"description": "KopherUDS 是 KopherBit UDS (ISO 14229) 診斷上位機,支援 CAN / CAN FD / DoIP,與 KopherBoot 與 KopherSAR DCM/DEM 緊密整合。",
"url": "https://kopherbit.com/knowledge/kopher-uds-diagnostic-host/",
"datePublished": "2026-05-09",
"dateModified": "2026-05-09",
"inLanguage": "zh-TW",
"keywords": ["KopherUDS", "UDS", "ISO 14229", "DoIP", "ECU 燒錄"],
"articleSection": "Diagnostics",
"author": { "@type": "Organization", "name": "KopherBit", "url": "https://kopherbit.com" },
"publisher": { "@type": "Organization", "name": "KopherBit", "logo": { "@type": "ImageObject", "url": "https://kopherbit.com/logo.png" } }
}