Method and apparatus for updating firmware
    1.
    发明授权
    Method and apparatus for updating firmware 失效
    更新固件的方法和装置

    公开(公告)号:US06357021B1

    公开(公告)日:2002-03-12

    申请号:US09291800

    申请日:1999-04-14

    IPC分类号: G06F1136

    摘要: A peripheral device and method are provided for reliably updating and checking firmware or other coded information stored within a nonvolatile memory of the device. The device comprises a microcontroller and a memory with a fixed part and an updateable part. Both the fixed part and the updateable part store firmware. When firmware in the updateable part is updated (such as by using a USB connection with a host PC), a first error detection code is generated and stored in the updateable part. As part of an initialization procedure, the firmware stored in the fixed part generates a second error detection code based on the updated firmware stored in the updateable part and compares the second error detection code to the first error detection code stored in the updateable part. If the error detection codes indicate that the firmware stored in the updateable part is valid, the microcontroller uses the firmware stored in the updateable part to operate the device; otherwise, the microcontroller uses firmware stored in the fixed part to operate the device.

    摘要翻译: 提供了用于可靠地更新和检查存储在设备的非易失性存储器内的固件或其他编码信息的外围设备和方法。 该装置包括微控制器和具有固定部分和可更新部分的存储器。 固定部分和可更新部分都存储固件。 当可更新部分中的固件更新(例如通过使用与主机PC的USB连接)时,将生成第一个错误检测代码并将其存储在可更新部分中。 作为初始化过程的一部分,存储在固定部分中的固件基于存储在可更新部分中的更新的固件生成第二错误检测码,并将第二错误检测码与存储在可更新部分中的第一错误检测码进行比较。 如果错误检测码指示存储在可更新部分中的固件有效,则微控制器使用存储在可更新部分中的固件来操作设备; 否则,微控制器使用存储在固定部分中的固件来操作设备。

    Device controller having volatile and non-volatile memory for storage of
decompressed and compressed data
    2.
    发明授权
    Device controller having volatile and non-volatile memory for storage of decompressed and compressed data 失效
    具有用于存储解压缩和压缩数据的易失性和非易失性存储器的装置控制器

    公开(公告)号:US6078541A

    公开(公告)日:2000-06-20

    申请号:US067706

    申请日:1998-04-28

    IPC分类号: G06F3/06 G06F9/445 G11C8/00

    摘要: A device controller for controlling the operation of the drive device. The controller includes a microprocessor, a volatile memory, and a non-volatile memory. The non-volatile memory stores an uncompressed decompression program and a compressed device operating program. The microprocessor automatically decompresses the device operating program by executing the decompression program and stores the decompressed device operating program into the volatile memory when the drive is powered up or reset. The microprocessor then executes the device operating program stored in the volatile memory which has a faster data access rate than the non-volatile memory. As the device operating program is stored in a compressed form, the size of the non-volatile memory is minimized. The present invention may also reduce the size of a non-volatile memory for storing data used in a device controller.

    摘要翻译: 一种用于控制驱动装置的操作的装置控制器。 控制器包括微处理器,易失性存储器和非易失性存储器。 非易失性存储器存储未压缩解压缩程序和压缩设备操作程序。 微处理器通过执行解压缩程序自动解压缩设备操作程序,并在驱动器上电或复位时将解压缩的设备操作程序存储到易失性存储器中。 然后微处理器执行存储在易失性存储器中的设备操作程序,其具有比非易失性存储器更快的数据访问速率。 当设备操作程序以压缩形式存储时,非易失性存储器的大小被最小化。 本发明还可以减小用于存储在设备控制器中使用的数据的非易失性存储器的尺寸。