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.
Previous article:STVP prompts The device is protected solution
Next article:STM8 burning and program running
- Popular Resources
- Popular amplifiers
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- Keyi Review: Programmable Linear Constant Voltage Source Based on GP8102
- I saw a short video of a ragpicker hammering an electron tube, and then the person who filmed it quickly bought it!
- Implementation principle of LCD driver in embedded system
- WBBSW Silk Screen
- 6ull test
- [GD32F350 Learning Notes] Colibri-F350RB development board clock problem and Delay() function configuration
- 【ST NUCLEO-H743ZI Review】(2)Converting serial port and Ethernet port data under LWIP
- The Evolution of Positioning Technology: The Road to UWB
- Shenzhen intends to leverage IC design to upgrade IT industry
- China Mobile builds wireless music industry chain to recreate SP profit platform