Download Print this page

STC micro STC8A8K64D4 Series Reference Manual page 845

Advertisement

STC8A8K64D4 Series Manual
Appendix K Use STC's IAP series MCU to develop
your own ISP program
With the continuous development of IAP (In-Application-Programming) technology in the field of single-chip
microcomputers, it has brought great convenience to the application system program code upgrade. STC's serial ISP
(In-System-Programming) program uses the IAP function to upgrade the user's program online, but for the sake of user
code safety, neither the underlying code nor the upper application is open source. For this reason, STC launched With
the IAP series single-chip microcomputer, that is, the Flash space of the entire MCU, users can rewrite in their own
programs, so that the idea that users need to develop their own ISP programs can be realized.
All the models in the STC8A8k64D4 series microcontrollers that can customize the EEPROM size during ISP
download are IAP series.Film machine. At present, the STC8A series have the following types of microcontrollers as
the IAP series: STC8A8k64D4. This article uses STC8A8k64D4,As an example, the method of using STC's IAP MCU
to develop user's own ISP program is explained in detail, and the assembly and C source code based on Keil
environment are given.
The first step: internal FLASH planning
Since the EEPROM of the IAP microcontroller of the STC8A8k64D4 series is set by the user during ISP download,
if the user needs to implement his own ISP, when downloading the user's own ISP program, the user needs to follow
the figure below to set all 64K Set it to EEPROM, so that the user program space and EEPROM space are completely
overlapped, so that users can modify and update their own program space.
The following assumes that the user has set the entire 64K program space as EEPROM. Now the entire 64K
program space is divided as follows:
- 829 -

Advertisement

loading
Need help?

Need help?

Do you have a question about the micro STC8A8K64D4 Series and is the answer not in the manual?

This manual is also suitable for:

Micro stc8a8k64d4-64pinMicro stc8a8k64d4-48pin