ASR research log-IAP

本文介绍了STM32中IAP(In-Application Programming)的工作原理及其在解决无法直接烧录芯片问题上的作用。通过IAP,可以实现在设备运行时远程更新应用程序代码,避免了物理连接到芯片进行烧录的限制。在STM32中,IAP利用中断机制,但存在只能响应一个向量列表的问题,因此需要额外的中断处理来区分IAP和APP代码。此外,文中还提及了嵌入式重新-IAP功能,允许用户在运行时更改IAP代码,实现程序的实时更新,从而在某些高安全性或时间敏感的场景下避免重启造成的损失。
摘要由CSDN通过智能技术生成

About IAP mechanism:


Firstlet’s talk about why to use the IAP. Most obviously, using IAP will replace theoutside Flash burner like JLINK. Using IAP will also give the user the freedomto change their code as their program is running. More specifically, in somecases when we put the chip into a hermitic box, like the sensor placed underthe water, we will have much more difficulties to change and burn the code intothe chip. But with the help of the IAP, we can avoid such difficulties bychanging the process of embedding code. The original way is to burn the flashof the chip by the outside burner physically connected to the chip while theIAP is burning the code by the chip itself. Therefore, there are actually two partsof the code burnt in the chip. One is the IAP code which plays the role of theboot loader and APP burner and the other is the APP code which is programmed bythe user. When the chip is reset and the flash pointer will point at the beginningof the IAP

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值