SM2965 ISP technology features and applications

Single chip microcomputer STM32L151CCU6
Mobile phone crystal 3.2*2.5mm 3225 26M (26.000MHZ) 7.5PF 10PPM 20PPM 30PPM
NFM18PC105R0J3D MURATA Murata filter original spot

1 Introduction

The emergence of in-system programming (ISP) technology is a breakthrough in traditional programming methods. It refers to the technology of reprogramming devices in a user-designed microcontroller system to configure new system functions. The program code (firmware) is online. ) Download to the program memory. Following SST's introduction of the ISP-enabled FlashFlex51 [1] series of microcontrollers, PHILISPS, WINBOND, LG, ATMEL, SynCMOS and other companies have introduced 51 series of microcontrollers with ISP/IAP (In-ApplICation Programming) functions [2] ]. The performance enhancement of these devices is also manifested in: (1) The internal ROM uses Flash memory, the capacity reaches 32-64k bytes, the internal RAM capacity reaches 512-1024 bytes; (2) the special function register is added, and the control function is further enhanced; 3) Internal configuration watchdog timer reset circuit; (4) ALE output can be disabled to reduce EMI; (5) Dual DPTR pointer, etc. These functions further simplify the external expansion of the microcontroller, forming a true "single piece" structure. In the POS charging terminal, the SynCMOS SM2965 was replaced as the main processor, and the ISP function can be easily realized by modifying the hardware using the serial port of the microcontroller. This article mainly analyzes the ISP features of SM2965 and the precautions in use.

2 Features of SM2965

Compared with the standard 80C52, the SM2965 has the following features: 1 programming voltage 5V; 264k bytes of on-chip flash memory, divided into 128 pages, 512 bytes per page (including download program space for implementing ISP functions); 3 implementation of ISP The function download program space size can be set to N × 200H (N = 0 ~ 8); 4256 bytes of on-chip RAM + 768 bytes of on-chip extended RAM (ERAM); 5 watchdog timer; 6 pairs of PLCC and QFP package model has added P4 port: P4.0~P4.3; 7 is to reduce EMI, ALE signal output can be disabled when it is not necessary; 8After reset, hardware detection program memory space 0000H address is empty (ie #0FFH), then Automatically jump to the ISP function program entry address.

3 SM2965 memory structure

3.1 Program Memory

The SM2965 integrates 64k bytes of flash memory as program memory. The address range is 0000H to 0FFFFH, which is used to store the application program that executes the user program and the download program that executes the ISP function.

The download program space for executing the ISP function can be configured up to 4K bytes, the space size = N × 200H bytes, N=0 means that the download program is not configured, 64K bytes of Flash memory are all used for the application; N=1 means 0FE00H~ 0FFFFH has a total of 200H bytes for use in the download program space, from the 0000H to FDFFH supply program; N=8 indicates that the download program space reaches the maximum configuration, which is 4K bytes. The size of N can only be configured by the commercial programmer. Once configured on the programmer as N≠0, the configuration of the ISP space cannot be changed in the system. The SM2965 program space composition is shown in Figure 1. 0FFFFH-(N×200H) is the entry address of the download program.



This website tries to open micro- and small-enterprise business advertising business; maintenance point recommended items. The fee is affordable and effective! Welcome to contact in QQ or email!

Why do you want to do online advertising contact?

  • 0
  • like

Try to find the information you want to see.
Data search: title Author
Inverter sensor patch three no weight loss camera LCD monitor does not boot digital camera XC9237 projector switching power supply laptop processor IPSUSB skills entrepreneurial black screen water heater can not boot circuit design silent transformer XC6102 without sound XC6112 display regulator no image microwave player successful silent GPS tea no picture XC6222 health XC6372 relay filter ML6209 switch washing machine digital camera description remote control without grating 555 protection circuit cancer self-closing Linux charger mobile phone shutdown noise inverter oscilloscope robot Windows antenna indicator light is not bright fiber life transformer stomach market alarm Hard disk watch embedded system woman maintenance process memory XC9236 converter router interview server kidney RFIDLED driver Konka CDMA instrument Panasonic CCD flashing engine multimeter Apple liver motor resistance keyboard integrated circuit current transformer triode governor power supply LED

Recommended Articles Favorite Recommend Print | Finishing: gddq | Read: Times

Germany Type Electronics Connection

G604ycG903yu 2

Germany power strips distrbute power to multi devices, computer, refrigerator, etc at same time. The dural plastic housing(flame retadent PP merterial) stands 750 degree high temperature, children safety shutter, premium safety for you and your family. Right-angle plug type E can be flexibility used for suers and save space at same time. The KYFEN Germany USB power strips with USB type A or type C, deliver power to moblie phone, game machine or other mobile machine. KYFEN Germany extension cord socket got CE/GS/RoHS/REACH approved, comply with eu sales requirements.

Germany Type Electionics Connection,Power Strips,Power Extension,Power Distribution Unit

CIXI KYFEN ELECTRONICS CO.,LTD, , https://www.kyfengroup.com