# US 2008/0313452 A1 · One wire boot loader

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0313452 A1
- Document ID: US20080313452A1
- Status: Published application
- Kind: A1
- Application number: 12/157,986
- Filed: 2008-06-13
- Published: 2008-12-18
- Earliest claimed: 2007-06-15
- Assignees: Black & Decker Inc.
- Inventors: Fugen Qin; Daniele Brotto; Danh Trinh; Regina Cunanan; Andrew Seman
- Web page: https://patentgrep.com/patent/US20080313452A1

## CPC

- G06F 9/4401: Bootstrapping (security arrangements therefor G06F21/57)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A power tool system component has a microprocessor, a one wire communication terminal connecting the microprocessor to an external device, and a flash memory storing: (a) an application program governing operation of an application mode during which the power tool system component is operated; and (b) a boot loader program governing operation of a boot loader mode during which at least part of the application program can be updated. The microprocessor accesses the flash memory and implements the boot loader program and the application program by setting up and observing a temporal window during which one or more predetermined conditions must be met for the boot loader mode to be entered. The predetermined conditions include successful completion of a calibration process that includes sending a calibration byte to the external device according to a format predetermined to allow the external device to adjust its baud rate for sending and receiving information. Upon successful completion of the conditions within the temporal window, the microprocessor sends a confirmation to the device that the conditions have been satisfied and enters the boot loader mode.

## Claims

### Claim 1

A power tool system component, comprising:
a microprocessor;
a one wire communication terminal connecting said microprocessor to an external device;
a flash memory storing an application program governing operation of an application mode during which said power tool system component is operated and a boot loader program governing operation of a boot loader mode during which at least part of the application program can be updated;
wherein said microprocessor accesses said flash memory and implements the boot loader program and the application program by: (a) setting up and observing a temporal window during which one or more predetermined conditions must be met for the boot loader mode to be entered, wherein the predetermined conditions include successful completion of a calibration process that includes sending a calibration byte to the external device according to a format predetermined to allow the external device to adjust its baud rate for sending and receiving information; and (b) upon successful completion of the conditions within the temporal window, sending a confirmation to the device that the conditions have been satisfied and entering the boot loader mode.

### Claim 2 (depends on 1)

The power tool system component of claim 1, wherein said microprocessor, in response to a command from the device, performs a flash memory checking process.

### Claim 3 (depends on 2)

The power tool system component of claim 2, wherein said microprocessor, upon successful completion of the flash memory checking process, enters the application mode.

### Claim 4 (depends on 2)

The power tool system component of claim 2, wherein said microprocessor, upon failure of the flash memory checking process, enters a deep sleep mode.

### Claim 5 (depends on 2)

The power tool system component of claim 2, wherein said microprocessor performs the flash memory checking process by calculating a checksum based on contents of the flash memory, performing a comparison of the checksum with a value prewritten into the flash memory, and determining whether the flash memory checking process is successfully completed based on the comparison.

### Claim 6 (depends on 1)

The power tool system component of claim 1, wherein said microprocessor performs the calibration process by sending to the device a query asking for instructions regarding which mode to enter, sending to the device a check byte confirming the query, and receiving from the device a command to enter a boot loader mode.

### Claim 7 (depends on 1)

The power tool system component of claim 1, wherein the predetermined conditions include successful completion of an authentication process in which said microprocessor sends to the device a query for a predetermined password, receives the password from the device, performs a comparison of the password received from the device with a record of the password stored in memory, and determines whether the authentication process is successfully completed based on the comparison.

### Claim 8 (depends on 1)

The power tool system component of claim 1, wherein said power tool system component is at least one of a power tool, a battery pack, or a battery pack charger.

### Claim 9 (depends on 1)

The power tool system component of claim 1, wherein said external device is at least one of:
(a) a computer processor having a data store of new programming information to be written to the flash memory, and operable to generate the commands in order to write the new programming information to the flash memory; or
(b) an interface box connecting the computer processor and the power tool system component and operable to relay commands and data between the computer processor and the power tool system component.

### Claim 10

A method of operation for use with a power tool system component, comprising:
setting up and observing a temporal window during which predetermined conditions must be met for a boot loader mode to be entered, wherein the predetermined conditions include successful completion of a calibration process that includes sending a calibration byte to a device operable to adjust its baud rate for sending and receiving information;
upon successful completion of the conditions within the temporal window, sending a confirmation to the device that the conditions have been satisfied and entering the boot loader mode;
during the boot loader mode, receiving commands from the device and responding to the commands by reading data from flash memory segments, writing data to flash memory segments, and reading checksums.

### Claim 11 (depends on 10)

The method of claim 10, further comprising, in response to a command from the device, performing a flash memory checking process.

### Claim 12 (depends on 11)

The method of claim 11, further comprising, upon successful completion of the flash memory checking process entering the application mode.

### Claim 13 (depends on 11)

The method of claim 11, further comprising, upon failure of the flash memory checking process, entering a deep sleep mode preventing operation of the power tool system component.

### Claim 14 (depends on 11)

The method of claim 11, wherein the flash memory checking process includes:
calculating a checksum based on contents of the flash memory;
performing a comparison of the checksum with a value prewritten into the flash memory; and
determining whether the flash memory checking process is successfully completed based on the comparison.

### Claim 15 (depends on 10)

The method of claim 10, wherein the calibration process further includes:
sending to the device a query asking for instructions regarding which mode to enter;
sending to the device a check byte confirming the query; and
receiving from the device a command to enter a boot loader mode.

### Claim 16 (depends on 10)

The method of claim 10, wherein the predetermined conditions include successful completion of an authentication process that includes:
sending to the device a query for a predetermined password;
receiving the password from the device;
performing a comparison of the password received from the device with a record of the password stored in memory; and
determining whether the authentication process is successfully completed based on the comparison.

### Claim 17 (depends on 10)

The method of claim 10, wherein the power tool system component is at least one of a power tool, a battery pack, or a battery pack charger.

### Claim 18 (depends on 10)

The method of claim 10, wherein the device is at least one of:
(a) a computer processor having a data store of new programming information to be written to the flash memory, and operable to generate the commands in order to write the new programming information to the flash memory; or
(b) an interface box connecting the computer processor and the power tool system component and operable to relay commands and data between the computer processor and the power tool system component.

### Claim 19

A power tool system component application program updating system, comprising:
a power tool system component having a microprocessor and a flash memory storing an application program governing operation of an application mode during which said power tool system component is operated and a boot loader program governing operation of a boot loader mode during which at least part of the application program can be updated;
a computer processor having an information readout and update module: (a) accessing a datastore of programming information for updating an application program stored in flash memory of a power tool system component; and (b) generating commands instructing the boot loader program to read out data from segments of the flash memory and write data to segments of the flash memory;
an interface box connecting the computer processor and the power tool system component and operable to relay the commands and the data between the computer processor and the power tool system component,
wherein said microprocessor accesses said flash memory and implements the boot loader program and the application program by: (a) setting up and observing a temporal window during which one or more predetermined conditions must be met for the boot loader mode to be entered, wherein the predetermined conditions include successful completion of a calibration process that includes sending a calibration byte to the interface according to a format predetermined to allow the interface box to adjust its baud rate for sending and receiving information; and (b) upon successful completion of the conditions within the temporal window, sending a confirmation to the interface box that the conditions have been satisfied and entering the boot loader mode.

### Claim 20 (depends on 19)

The power tool system component of claim 19,
wherein said microprocessor further performs the calibration process by sending to the device a query asking for instructions regarding which mode to enter, sending to the device a check byte confirming the query, and receiving from the device a command to enter a boot loader mode,
wherein said microprocessor, in response to a command from said interface box, performs a flash memory checking process by calculating a checksum based on contents of the flash memory, performing a comparison of the checksum with a value prewritten into the flash memory, and determining whether the flash memory checking process is successfully completed based on the comparison, and, depending on successful completion of the flash memory checking process, either enters the application mode or enters a deep sleep mode preventing operation of the power tool system component,
wherein the predetermined conditions include successful completion of an authentication process in which said microprocessor sends to the device a query for a predetermined password, receives the password from the device, performs a comparison of the password received from the device with a record of the password stored in memory, and determines whether the authentication process is successfully completed based on the comparison, and
wherein said power tool system component is at least one of a power tool, a battery pack, or a battery pack charger.
