TW202046108A - 調試裝置及具有所述調試裝置的電子裝置 - Google Patents

調試裝置及具有所述調試裝置的電子裝置 Download PDF

Info

Publication number
TW202046108A
TW202046108A TW108121867A TW108121867A TW202046108A TW 202046108 A TW202046108 A TW 202046108A TW 108121867 A TW108121867 A TW 108121867A TW 108121867 A TW108121867 A TW 108121867A TW 202046108 A TW202046108 A TW 202046108A
Authority
TW
Taiwan
Prior art keywords
debugging
signal
electronic device
patent application
scope
Prior art date
Application number
TW108121867A
Other languages
English (en)
Other versions
TWI779205B (zh
Inventor
周小龍
Original Assignee
鴻齡科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 鴻齡科技股份有限公司 filed Critical 鴻齡科技股份有限公司
Publication of TW202046108A publication Critical patent/TW202046108A/zh
Application granted granted Critical
Publication of TWI779205B publication Critical patent/TWI779205B/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/27Built-in tests
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits
    • G06F11/2733Test interface between tester and unit under test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3656Software debugging using additional hardware using a specific debug interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本發明提供一種調試裝置及具有所述調試裝置的電子裝置,所述電子裝置包括主機板及所述調試裝置,所述調試裝置裝設於所述主機板上,所述調試裝置至少包括處理單元、複數個調試單元及UART埠,所述調試裝置藉由所述UART埠與一終端設備通訊連接,所述處理單元用於藉由所述UART埠接收所述終端設備的調試訊號,並根據所述調試訊號發送調試控制訊號至所述複數個調試單元,以控制所述複數個調試單元根據所述調試訊號對所述電子裝置進行調試。

Description

調試裝置及具有所述調試裝置的電子裝置
本發明涉及設備調試領域,尤其涉及一種調試裝置及具有所述調試裝置的電子裝置。
隨著科學技術的發展,大資料的應用越來越廣泛,對伺服器的需求日益旺盛。在伺服器的開發階段,通常需要設計複數個調試開關或跳線,供PCH、BMC、CPLD等晶片對伺服器進行調試,以類比一些異常情況,並對異常進行定位及調試。然而,在實際的應用過程中,在伺服器的開發階段預留這些調試開關或跳線會佔據伺服器的應用空間,浪費設計資源,並且通常只能用於固定功能的調試,應用不夠靈活。
有鑒於此,有必要提供一種調試裝置及具有所述調試裝置的電子裝置,以解決上述技術問題。
一種調試裝置,裝設於電子裝置中,包括處理單元、複數個調試單元及UART埠,所述調試裝置藉由所述UART埠與一終端設備通訊連接,所述處理單元用於藉由所述UART埠接收所述終端設備的調試訊號,並根據所述調試訊號發送調試控制訊號至所述複數個調試單元,以控制所述複數個調試單元根據所述調試訊號對所述電子裝置進行調試。
其中,所述處理單元至少包括調試控制模組、訊號分發模組及通訊模組,所述調試控制模組用於根據接收到的調試訊號生成調試控制訊號,所述訊號分發模組用於根據調試功能發送調試控制訊號至對應的調試單元,所述通訊模組用於與所述UART埠電性連接。
優選地,所述複數個調試單元至少包括BMC及PCH。
其中,所述BMC用於根據所述調試訊號對所述電子裝置的系統狀態進行調試。
其中,所述PCH用於根據所述調試訊號對所述電子裝置的硬體功能進行調試。
其中,所述UART埠包括四個引腳,分別為電源引腳、接地引腳、接收資料引腳及發送資料引腳。
其中,所述處理單元為CPLD晶片或FPGA晶片。
其中,所述處理單元預先存儲有複數個調試控制命令,所述複數個調試控制命令根據預設的調試功能生成。
一種電子裝置,包括主機板及上述的調試裝置,所述調試裝置裝設於所述主機板上,所述調試裝置藉由UART埠與一終端設備通訊連接。
上述調試裝置及具有所述調試裝置的電子裝置藉由設置通用非同步收發器埠,藉由連接可程式設計晶片實現電子裝置的邏輯調試功能,簡化了設計難度,提高了調試功能的多樣性。
請參考圖1,為本發明較佳實施方式所提供的電子裝置1。所述電子裝置1包括,但不僅限於,調試裝置100及主機板200。所述調試裝置100裝設於所述主機板200上。在本實施方式中,所述電子裝置1為伺服器。在其他實施方式中,所述電子裝置1也可以是個人電腦。
請參考圖2,所述調試裝置100包括,但不僅限於,處理單元10、複數個調試單元20及UART(Universal Asynchronous Receiver/Transmitter,通用非同步收發器)埠30。在本實施方式中,所述調試裝置100藉由所述UART埠30與一終端設備2通訊連接。在本實施方式中,所述終端設備2為個人電腦。當需要對所述電子裝置1進行調試時,用戶可以藉由所述終端設備2發送調試訊號至所述電子裝置1。
所述處理單元10用於藉由所述UART埠30接收所述終端設備2發送的調試訊號,並根據所述調試訊號發送調試控制訊號至所述複數個調試單元20,以控制所述複數個調試單元20根據所述調試訊號對所述電子裝置1進行調試。
在本實施方式中,所述處理單元10至少包括調試控制模組11、訊號分發模組12及通訊模組13。其中,所述調試控制模組11用於根據接收到的調試訊號生成調試控制訊號。所述訊號分發模組12用於根據調試功能發送調試控制訊號至對應的調試單元20。所述通訊模組13用於與所述UART埠30電性連接,使得所述調試裝置100與所述電子裝置1建立通訊連接。
在本實施方式中,所述複數個調試單元20至少包括BMC(Baseboard Management Controller,基板管理控制器)21及PCH(Platform Controller Hub,南橋)22。
其中,所述BMC 21用於根據所述調試訊號對所述電子裝置1的系統狀態進行調試。在本實施方式中,所述系統狀態包括供電狀態、開啟狀態、硬體狀態等。所述PCH 22用於根據所述調試訊號對所述電子裝置1的硬體功能進行調試。在本實施方式中,所述硬體包括硬碟、記憶體、顯卡等。
在本實施方式中,所述UART埠30包括四個引腳,分別為電源引腳、接地引腳、接收資料引腳及發送資料引腳。
在本實施方式中,所述處理單元10為CPLD(Complex Programmable Logic Device,複雜可程式設計邏輯器件)晶片或FPGA(Field Programmable Gate Array,現場可程式設計閘陣列)晶片。
所述處理單元10預先存儲有複數個調試控制命令,所述複數個調試控制命令根據預設的調試功能生成,所述複數個調試控制命令還可以根據用戶調整的調試功能對應進行調整。
綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施方式,舉凡熟悉本案技藝之人士,於爰依本發明精神所作之等效修飾或變化,皆應涵蓋於以下之申請專利範圍內。
1:電子裝置 100:調試裝置 10:處理單元 11:調試控制模組 12:訊號分發模組 13:通訊模組 20:調試單元 21:BMC 22:PCH 30:UART埠 200:主機板 2:終端設備
圖1是本發明較佳實施方式中電子裝置的應用結構示意圖。 圖2是本發明較佳實施方式中調試裝置的應用結構示意圖。
1:電子裝置
100:調試裝置
10:處理單元
11:調試控制模組
12:訊號分發模組
13:通訊模組
20:調試單元
21:BMC
22:PCH
30:UART埠
2:終端設備

Claims (10)

  1. 一種調試裝置,裝設於一電子裝置中,其改良在於,所述調試裝置包括處理單元、複數個調試單元及UART埠,所述調試裝置藉由所述UART埠與一終端設備通訊連接,所述處理單元用於藉由所述UART埠接收所述終端設備的調試訊號,並根據所述調試訊號發送調試控制訊號至所述複數個調試單元,以控制所述複數個調試單元根據所述調試訊號對所述電子裝置進行調試。
  2. 如申請專利範圍第1項所述之調試裝置,其中,所述處理單元至少包括調試控制模組、訊號分發模組及通訊模組,所述調試控制模組用於根據接收到的調試訊號生成調試控制訊號,所述訊號分發模組用於根據調試功能發送調試控制訊號至對應的調試單元,所述通訊模組用於與所述UART埠電性連接。
  3. 如申請專利範圍第1項所述之調試裝置,其中,所述複數個調試單元至少包括BMC及PCH。
  4. 如申請專利範圍第3項所述之調試裝置,其中,所述BMC用於根據所述調試訊號對所述電子裝置的系統狀態進行調試。
  5. 如申請專利範圍第3項所述之調試裝置,其中,所述PCH用於根據所述調試訊號對所述電子裝置的硬體功能進行調試。
  6. 如申請專利範圍第1項所述之調試裝置,其中,所述UART埠包括四個引腳,分別為電源引腳、接地引腳、接收資料引腳及發送資料引腳。
  7. 如申請專利範圍第1項所述之調試裝置,其中,所述處理單元為CPLD晶片或FPGA晶片。
  8. 如申請專利範圍第1項所述之調試裝置,其中,所述處理單元預先存儲有複數個調試控制命令,所述複數個調試控制命令根據預設的調試功能生成。
  9. 一種電子裝置,包括主機板,其改良在於,還包括如申請專利範圍第1-8項中任一項所述之調試裝置,所述調試裝置裝設於所述主機板上,所述調試裝置藉由UART埠與一終端設備通訊連接。
  10. 如申請專利範圍第9項所述之電子裝置,其中,所述電子裝置為伺服器或個人電腦。
TW108121867A 2019-05-30 2019-06-21 調試裝置及具有所述調試裝置的電子裝置 TWI779205B (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910463729.5 2019-05-30
CN201910463729.5A CN112015602A (zh) 2019-05-30 2019-05-30 调试装置及具有所述调试装置的电子装置

Publications (2)

Publication Number Publication Date
TW202046108A true TW202046108A (zh) 2020-12-16
TWI779205B TWI779205B (zh) 2022-10-01

Family

ID=73500966

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108121867A TWI779205B (zh) 2019-05-30 2019-06-21 調試裝置及具有所述調試裝置的電子裝置

Country Status (3)

Country Link
US (1) US11341013B2 (zh)
CN (1) CN112015602A (zh)
TW (1) TWI779205B (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377701B (zh) * 2021-06-22 2023-04-11 东莞华贝电子科技有限公司 基于复杂可编程逻辑器件cpld的串口控制系统及其通信方法
JP7432569B2 (ja) * 2021-10-11 2024-02-16 アンリツ株式会社 誤り検出装置および誤り検出方法

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6678838B1 (en) * 1999-08-23 2004-01-13 Advanced Micro Devices, Inc. Method to track master contribution information in a write buffer
CN102222056A (zh) * 2010-04-13 2011-10-19 鸿富锦精密工业(深圳)有限公司 具有嵌入式系统的电子设备
CN103164307A (zh) * 2011-12-12 2013-06-19 鸿富锦精密工业(深圳)有限公司 调试系统及方法
CN103365751A (zh) * 2012-04-09 2013-10-23 鸿富锦精密工业(深圳)有限公司 主板测试装置及其转接模组
CN107003921B (zh) * 2014-12-22 2021-04-27 英特尔公司 具有有限状态机控制的可重配置测试访问端口
US9996449B2 (en) * 2015-03-27 2018-06-12 Intel Corporation Instruction and logic for a convertible innovation and debug engine
CN106936550B (zh) * 2015-12-30 2019-09-06 国基电子(上海)有限公司 调试调制解调器的装置和方法
US10474517B2 (en) * 2016-07-18 2019-11-12 American Megatrends International, Llc Techniques of storing operational states of processes at particular memory locations of an embedded-system device
CN106339344A (zh) * 2016-08-18 2017-01-18 浪潮(北京)电子信息产业有限公司 一种用于服务器系统调试的多路串口切换系统及方法
KR20180091364A (ko) * 2017-02-06 2018-08-16 삼성전자주식회사 디버그 호스트로서 동작하는 cpu를 포함하는 시스템 온 칩 및 이의 동작 방법
US10824530B2 (en) * 2017-06-21 2020-11-03 Intel Corporation System, apparatus and method for non-intrusive platform telemetry reporting using an all-in-one connector
US10922150B2 (en) * 2017-11-03 2021-02-16 Dell Products L.P. Deep hardware access and policy engine
CN108415842B (zh) * 2018-03-21 2021-01-29 杭州中天微系统有限公司 多核处理器

Also Published As

Publication number Publication date
CN112015602A (zh) 2020-12-01
TWI779205B (zh) 2022-10-01
US11341013B2 (en) 2022-05-24
US20200379860A1 (en) 2020-12-03

Similar Documents

Publication Publication Date Title
US10417167B2 (en) Implementing sideband control structure for PCIE cable cards and IO expansion enclosures
US10838816B2 (en) Detecting and sparing of optical PCIE cable channel attached IO drawer
US10467111B2 (en) Implementing cable failover in multiple cable PCI express IO interconnections
US10387362B2 (en) Secondary data channel communication system
US9183168B2 (en) Dual mode USB and serial console port
US9697156B2 (en) Detecting and configuring of external IO enclosure
US7490176B2 (en) Serial attached SCSI backplane and detection system thereof
US20130268708A1 (en) Motherboard test device and connection module thereof
US11775464B2 (en) Computer system and a computer device
US10579572B2 (en) Apparatus and method to provide a multi-segment I2C bus exerciser/analyzer/fault injector and debug port system
US10317973B2 (en) Peripheral device expansion card system
US20130205059A1 (en) Motherboard comprising expansion connector
US20200133912A1 (en) Device management messaging protocol proxy
TWI570566B (zh) 實作輸入輸出(io)擴充卡之技術
TWI779205B (zh) 調試裝置及具有所述調試裝置的電子裝置
TW202343237A (zh) 資料中心安全控制模組及其控制方法
US8572360B2 (en) Bootstrap system for dual central processing units
TWI582604B (zh) 外接裝置、電子裝置及電子系統
US10409940B1 (en) System and method to proxy networking statistics for FPGA cards
US11899600B2 (en) Serial connector adapter system
CN102567170B (zh) 服务器刀片主板测试板
TWI658367B (zh) 硬體資源擴充系統
TW202347137A (zh) 轉接卡模組及具有該模組之伺服器

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent