摘要 |
A memory management method and a mobile terminal device are provided to facilitate updating of software based on an update file according to a difference by substituting a defective block of a non-volatile memory with a block of a substitute region. A non-volatile memory(15) performs recording by blocks. A control unit(11) uses a plurality of blocks of the non-volatile memory such that at least one block is assigned as a management region, a plurality of blocks are assigned as a code region(21) for recording a program code, a plurality of blocks are assigned as a substitute region for substituting a defective block, and at least one block is assigned as an interference region installed between the management region and the substitute region. The control unit stores corresponding information between a block of the substitute region and a defective block to be substituted, as management information in the management region. When the defective block is used, the block of the substitute region is used, instead of the defective block, based on the corresponding information.
|