摘要 |
PROBLEM TO BE SOLVED: To provide a transfer deviation preventing method for DMA and a DMA controller which prevent data transfer from deviating to an illegal address, such as an address to which no memory is allocated or an address which is already used for another purpose, when the DMA transfer is carried out. SOLUTION: When data stored in a store area of one address are read out in sequence and transferred to a store area of the other address by referring to an address range needed for transfer processing of data between a memory and a peripheral circuit, the effective address range allocated individually to the memory or peripheral circuit is previously stored in an effective address table 13 and when the transfer processing is performed, a monitor part 15 compares this address range with the address range indicated by data which are stored in respective address registers 21 to 23 and used for the transfer processing and interrupts the transfer processing if the address range that the data used for the transfer processing indicate deviates from the effective address range.
|