Method of wear leveling for data storage device

    公开(公告)号:US09830098B1

    公开(公告)日:2017-11-28

    申请号:US15207456

    申请日:2016-07-11

    Inventor: Sheng-Liu Lin

    Abstract: A method of wear leveling for a data storage device is provided. The data storage device includes a non-volatile memory having a plurality of blocks. A portion of the blocks not having any valid data are defined as spare blocks, and the spare blocks are associated with a spare pool. The method includes the steps of: maintaining a management table recording a plurality of physical block numbers and a plurality of block statuses corresponding to the blocks; selecting a first spare block having a first smallest physical block number as a current temporary block; receiving a write command from a host; determining whether data in the write command shall be written into the current temporary block; if false, selecting a second spare block having a second smallest physical block number as a next temporary block; and writing the data into the next temporary block.

    Method of inspecting RAM of programmable logic controller, and programmable logic controller

    公开(公告)号:US09817384B2

    公开(公告)日:2017-11-14

    申请号:US14660106

    申请日:2015-03-17

    Inventor: Kenichi Ikegami

    CPC classification number: G05B19/058 G05B2219/14085 G11C2029/0409

    Abstract: A method of inspecting a RAM of a programmable logic controller is provided that enables all unit storage regions in a RAM inspection region to be inspected in about several minutes and that meets a predetermined safety standard. The inspection method includes the steps of: (a) dividing a RAM inspection region, which is a region of the RAM to be inspected, into a plurality of blocks; and (b) by a control device, writing a predetermined value into unit storage regions in a combination of blocks obtained by combining two blocks extracted from the divided blocks and thereafter sequentially inspecting whether or not values read from the unit storage regions each coincide with the written value. Step (b) is executed for all combinations of two blocks extracted from the divided blocks.

Patent Agency Ranking