Differences between IAP and ISP

Source: Internet
Author: User

Reprinted from: http://guangfengji2007.blog.163.com/blog/static/4322956020082493417675/

IAP (in appplication Program), which is programmable in applications.
As the name suggests, it is dynamic programming in the process of system operation. This programming is a dynamic modification of the Code executed by the program, and does not require any external force or any mechanical operation. This is different from ISP.
Generally, the ISP needs to set some function pins before loading the program to force the IC to be transferred to the auto-lifting status. IAP does not need to perform any actions on the hardware, as long as there is a valid data source. The data source can be the result of an internal program running, UART, I/O port, or bus.
In other words, IAP not only provides on-site or remote software modification and upgrade, but also can be understood as idate, pdate or xdate, replacing external E2PROM such as I2C, storing and encrypting data.

 

Differences between ISP and IAP
ISP: In system programming,
IAP: In applicatin Programming
But what are the differences between the two operations and results and application scenarios?
ISP:
Use the writer to burn the Code. However, the chip can be on the target board.
When the interface is designed, it is called "in system programming", that is, you do not need to leave the system;
IAP:
In application programming, the chip itself (or the peripheral chip) can write code through a series of operations, such
For example, a single-chip microcomputer that supports IAP is divided into three program areas, one as the guiding program area, two as the running program area, and three as
In the Download Area, the chip receives the download command through the serial port and enters the boot area to run the boot program.
Download the new Code content to the download area. After the download is completed and the verification is passed, copy the content in the download area to area 2,
The IAP completes when the reset program is run;
Application scenarios:
1. ISP program upgrade should be handled on site, but it is better not to disassemble the server;
2. If an IAP has a network management system, you can use the network management system to download everything. You don't have to run around,
This may be their advantages or applications.
Typical IAP: IC Card Phone
It contains the v. XX modem chip and the MCU boot zone. You can remotely download the update program.
========================================================== ======================
Online programming currently has two implementation methods: System Programming (ISP) and Application Programming (IAP ). ISP 1
Generally, the flash memory in the single chip microcomputer is programmed through the serial programming interface dedicated to the single chip microcomputer.
The IAP Technology Maps flash memory into two storage bodies in structure.
You can re-program another storage body, and then switch the control from one storage body to another.
ISP Implementation usually requires a small number of external circuits, while IAP implementation is more flexible.
Connect the serial port of a single-chip microcomputer to the RS232 port of the computer and program the internal memory through a specially designed firmware program.
Storage device.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.