Method and apparatus for diagnosis and behavior modification of an embedded microcontroller
Abstract
A method of accessing an embedded microcontroller, by programmably selecting pins of the microcontroller for use as test lines, receiving a scan command at an input test line pin, emulating a virtual scan path through a logical block of the microcontroller, and transmitting scan results to an output test line pin. The microcontroller can provide such emulation of scan testing in compliance with the JTAG standard for a test access port and boundary-scan architecture. The test line pins are interconnected with a test bus structure to form a scan ring with other components of a data processing system, such as a microprocessor. The emulation can be used to change a functional mode of the microcontroller, or gather diagnostic information after a system error. The microcontroller assigns a high-priority internal interrupt routine to service test line pin activity. The virtual scan path need not include all internal microcontroller resources, and the scan path can be programmably varied by the application designer.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 6.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method of communicating with an embedded microcontroller in a data processing system, comprising: programmably selecting a plurality of pins of the microcontroller for use as test lines; receiving a scan command at a first one of the test line pins of the microcontroller; emulating a virtual scan path through a portion of at least one logical block of the microcontroller with software that is embedded in the microcontroller to access one or more registers in the logical block, in response to said receiving step; and transmitting scan results at a second one of the test line pins of the micro
- Claim 2Depends on #1
The method of claim 1 wherein said emulating step accesses the one or more registers to thereby change a functional mode of the microcontroller.
- Claim 3Depends on #1
The method of claim 1 wherein said emulating step accesses the one or more registers to there
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗