摘要
OTP单片机的程序存储器属于一次性烧录的只读存储器,根据其结构原理,虽然烧录过程不可逆,但可以对未烧录的存储单元进行再烧录而不改变已烧过的存储位原状态。本文以博巨兴的BJ8P153E单片机为例,研究在已烧录OTP单片机中如何根据程序指令的物理地址查找对应指令的机器码,并分析可再烧录的存储空间,最终实现单片机程序二次开发与再烧录。
The program memory of OTP MCU belongs to one-time burned read-only memory.According to its structure principle,although the burning process is irreversible,it can reburn the unburned storage units without changing the status of the burned storage bits.Taking BJ8P153E MCU of BJX as an example,this paper studies how to find the machine code of corresponding instructions according to the physical address of program instructions in burned OTP MCU,and analyses the storage space that can be reburned,finally the secondary development and reburning of MCU program are realized.
作者
陈远浩
王敏辉
Chen Yuanhao;Wang Minhui(Shantou Linbaixin Science and Technology Secondary Professional School,Shantou 515041,China)
出处
《单片机与嵌入式系统应用》
2019年第4期34-37,共4页
Microcontrollers & Embedded Systems