I verified a digital tube program made by mega16 in the book and found that PORTC.2~5 could not output low level. There were no errors in the hardware circuit and software, but the digital tube driven by them was not lit. Later, I looked at the pin diagram and found that these I/O ports were multiplexed pins of JTAG. I read the fuse bit of the microcontroller and found that JTAGEN was "0". It was probably set to "0" by accident and the fuse bit was written. Because JTAG simulation was not used, I only needed to set JTAGEN to "1" and write to the microcontroller again, and the problem was solved.
Reference address:AVR Note 4: PORTC.2~5 cannot output low level
Previous article:AVR Notes 5: .c and .h Nature
Next article:AVR Notes 3: Detailed explanation and application examples of AVRmega MCU fuse settings
Recommended Content
Latest Microcontroller Articles
He Limin Column
Microcontroller and Embedded Systems Bible
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
MoreSelected Circuit Diagrams
MorePopular Articles
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
MoreDaily News
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- 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
Guess you like
- Share: Current status of wireless charging
- [IMX6UL Development FAQ] How to tailor kernel make menuconfig and how to add new devices?
- If the mobile phone signal strength is -90dbm (medium strength), the conversion success rate = 10^-6mw (is the calculation correct?)
- Has Jialichuang started to use routine marketing?
- GaN technology detailed explanation is here
- 【October 15th | Online】5G NR Dynamic Spectrum Sharing (DSS): Overview and Test Challenges
- Why can an oscilloscope probe measure a 20ms period sine wave on a human hand?
- How to tell if an EEPROM chip is bad?
- New pyESP32 development board
- Developing ST BlueNRG-LP projects using Visual Studio