Application of C51 and Assembler′s Program in IAP for Microcontroller

Jianzhong Li · Modern Electronic Technique · 2005

InApplication Programming(IAP) is developed as the newest technique in design or development for microcontroller application system.User program can erase Flash program memory block,program byte and verify byte.However,it is difficult to call the IAP routines directly in application developed with microcontroller′s high level language C51.The basic principle of IAP in P89C51RD2 microcontroller is introduced,as well as the characteristics of Flash program memory with IAP.The method for IAP by C51 and assembler program is analysed,which achieves the aim for communicating with the IAP routines by delivering parameters to special registers based on the regulation of parameters delivers.This paper demonstrates the application instance which is developed by C51 and corresponding assembler program,realizs the IAP function.The simulation and test result show that the scheme is correct and effective.

Read the paper · More papers on PaperTik