US 11,841,398 B2
Method and apparatus and non-transitory computer-readable storage medium for debugging solid-state disk (SSD) device
Yu-Lin Jiang, Hsinchu County (TW); and Kun-Lin Ho, Hsinchu County (TW)
Assigned to Silicon Motion, Inc., Zhubei (TW)
Filed by Silicon Motion, Inc., Zhubei (TW)
Filed on Apr. 26, 2022, as Appl. No. 17/729,574.
Claims priority of provisional application 63/215,732, filed on Jun. 28, 2021.
Claims priority of application No. 202111133825.7 (CN), filed on Sep. 27, 2021.
Prior Publication US 2022/0413047 A1, Dec. 29, 2022
Int. Cl. G01R 31/3185 (2006.01); G01R 31/317 (2006.01); G01R 31/3183 (2006.01)
CPC G01R 31/318597 (2013.01) [G01R 31/31713 (2013.01); G01R 31/318314 (2013.01); G01R 31/318357 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for debugging a solid-state disk (SSD) device, performed by a processing unit of a single-board personal computer (PC) when loading and executing a function of a runtime library, the method comprising:
receiving a request to drive a General-Purpose Input/Output (GPIO) interface (I/F), which includes a parameter required for completing a Joint Test Action Group (JTAG) command;
issuing a first hardware instruction to the GPIO I/F to set a register corresponding to a GPIO test data input (TDI) pin according to the parameter carried in the request for emulating to issue the JTAG command to the SSD device, wherein the single-board PC is coupled to the SSD device through the GPIO I/F;
issuing a second hardware instruction to the GPIO I/F to read a value of the register corresponding to the GPIO TDI pin; and
replying with a completion message in response to the request.