Patent ID: 7757029
Filing Date: 2010-07-13
Classification: G06F

Abstract:
1. A method, comprising: detecting attachment of a newly-attached sub-module to a slot of an electronic device that includes a control unit, configured to run an application program, and a plurality of slots for attaching sub-modules for use with the application; automatically configuring the electronic device to operate with the newly-attached sub-module in response to detecting attachment of the newly-attached sub-module, the automatically configuring comprising: reading identification information from the newly-attached sub-module by applying a JTAG command from the control unit to the newly-attached sub-module, transferring parameters into or from a register of the newly-attached sub-module by applying a JTAG command, specifying the register, from the control unit to the newly-attached sub-module, wherein said parameters are used during operation of the application program in conjunction with the newly-attached sub-module, wherein the reading is carried out by: sending from the control unit a JTAG command to a first sub-module, to put the first sub-module in a by-pass mode, repeating the previous step until all sub-modules, except for the newly-attached sub-module are in a by-pass mode, reading the identification information from the newly-attached sub-module that is not in the by-pass mode, sending from the control unit a JTAG command to the newly-attached sub-module that is not in the by-pass mode, to put it in a by-pass mode, sending from the control unit a JTAG command to another sub-module to remove the by-pass mode, reading identification information from the another sub-module that is not in the by-pass mode, and repeating the previous steps until the identification information of all sub-modules has been read.