Patent ID: 8302159

Claim:
A digital hearing aid comprising: an input/output (I/O) connection for receiving input commands from an external device and providing output information to the external device; a non-volatile (NV) memory for storing audio-enhancing algorithm instructions and one or more parameter values for use by the audio-enhancing algorithm; and a digital signal processor (DSP) coupled between the I/O connection and the NV memory, the DSP for processing a signal according to the audio-enhancing algorithm and the one or more parameter values stored in the NV memory, the DSP further configured to prevent unauthorized access to the audio-enhancing algorithm instructions stored in the NV memory through the I/O connection by controlling access to the NV memory in each of a plurality of modes of operation of the DSP, the DSP comprising: a processing core for executing instructions; and a memory for storing DSP instructions for execution by the processing core, the DSP instructions when executed by the processing core configuring the DSP to operate in one of the plurality of modes to prevent unauthorized access to the audio-enhancing algorithm instructions, the modes comprising: an un-restricted access mode for writing the audio-enhancing algorithm instructions to the NV memory is response to one or more input commands received over the I/O connection; and a restricted access mode for writing the one or more parameter values to the NV memory and for executing the audio-enhancing algorithm instructions; the DSP instructions further comprising mode switching instructions for switching the operation mode from the restricted access mode to the un-restricted access mode, the mode switching instructions when executed by the processing core further configuring the DSP to prevent the audio-enhancing algorithm instructions from being output to the I/O connection once the DSP has been operated in the restricted access mode by preventing the operation mode switch when the audio-enhancing algorithm instructions have not been wiped from the NV memory if the access is unauthorized.