2. The driver (USBasp) must be installed when using the USB download cable for the first time.
3. Create a new project. Profect->New uVision Project->Enter the file name (without extension)->Save->Select CPU->File->New->Save (enter the file name with extension)->Right-click the project folder in the Project Workspace window->Add Files to Group 'Project Name'->Select the files to be added->Start writing code (header file, main function, etc.)->Compile.
4. To download to the MCU for execution, you need to compile it into a .Hex file (set Options for target->Output->check Create HEX File)-> after compilation, a .hex file will be generated in the project directory.
5. The download software is PROGISP (select the hex file when loading into Flash, and select automatic to start the download program).
Previous article:C51 MCU header file and startup file
Next article:Design of a permanent magnet brushless DC motor based on microcontroller C504
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Sandia Labs develops battery failure early warning technology to detect battery failures faster
- Ranking of installed capacity of smart driving suppliers from January to September 2024: Rise of independent manufacturers and strong growth of LiDAR market
- Industry first! Xiaopeng announces P7 car chip crowdfunding is completed: upgraded to Snapdragon 8295, fluency doubled
- P22-009_Butterfly E3106 Cord Board Solution
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- B-U585I-IOT02A Bluetooth communication problem
- Super detailed teaching you how to use HFSS to design and simulate inverted F antenna 2
- How does an intelligent fully automatic multimeter measure capacitance?
- PCB current and signal integrity design
- micropython update: 2020.6
- 【DSP】TMS320F28035 SCI routine (self-transmission and self-reception + query)
- The reverse withstand voltage peak of the secondary winding rectifier tube D10 reaches -142V. How can I adjust the RCD parameter value to reduce it?
- C6678 multi-core application cache test
- Simulation AWR Learning Website
- 15th Anniversary] EE DIY (Progress) -- Upper Computer UI Changes