CPC G01R 31/318597 (2013.01) [G01R 31/31713 (2013.01); G01R 31/318314 (2013.01); G01R 31/318357 (2013.01)] | 20 Claims |
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.
|