Nuvoton's N76E003 pin-to-pin replacement for STM8S003F3P6

Publisher:atech123Latest update time:2022-06-22 Source: eefocusKeywords:Nuvoton  N76E003  STM8S003F3P6 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Nuvoton's N76E003 can replace STM8S003F3P6 pin-for-pin, and it is very cheap, so it is the best time to use it as a replacement.


Let's start preparing materials and building the environment:

1. Go to Nuvoton official website, search for "N76E003", and download the following information:

The first two BSPs are demonstration routines from IAR and Keil respectively; the third one is the support package for Keil and the USB driver for the downloader; the third one is the support package for ISP, which can download programs through the included software serial port, just like the 51 single-chip microcomputer, but the prerequisite is that the BootLoader has been burned into the MCU first. This is a bit of a pitfall. You have to burn the ISP BootLoader into it through nu-link-pro and Nu-Link-Me before you can use ISP.


The programmer and online debugger are nu-link-pro and Nu-Link-Me.

The development software is Keil and IAR. On Keil, through nu-link-pro and Nu-Link-Me, you can download programs, perform online simulation, and view variables in real time, just like STM32.


Regarding mass production: You can use nu-link-pro to burn the program offline, as shown above, first use the computer program to burn the program offline to nu-link-pro, then connect N76E003, power the burner, press the button on nu-link-pro to burn, change one, press the button again, and burn another one. For details, see this: https://max.book118.com/html/2017/0215/91658713.shtm

 

Note a few pitfalls:

1. The Keil used should be Keil for 51. Keil for ARM will not be able to find N76E003.

2. After installing Keil for 51, you need to install the support package of Nuvoton Keil. During the installation process, you need to fill in the installation path of Keil. Please fill in correctly so that N76E003 can be included in the device list. After installation, there will be an option to install the debugger USB driver. It is not checked by default. If you have not installed the drivers of nu-link-pro and Nu-Link-Me, you need to check it and install the driver.

3. There are jumpers for level selection on nu-link-pro and Nu-Link-Me. Select according to the level of your project. If your project board is powered by 5V, then nu-link-pro and Nu-Link-Me should also be powered by 5V, otherwise the chip cannot be found.

4. To use the MCU's program storage flash to store data, the official has routines.

But remember to go to "Utilities" and remove "Erase Full Chip" and change it to "Erase Used Sectors" otherwise your saved data will be erased every time you download a program.


Keywords:Nuvoton  N76E003  STM8S003F3P6 Reference address:Nuvoton's N76E003 pin-to-pin replacement for STM8S003F3P6

Previous article:STVP prompts The device is protected solution
Next article:STM8 burning and program running

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号