The program can be downloaded, but the following error occurs during debugging
There are three main reasons:
1. Code protection configuration error, the code protection function should be turned off, as follows
2. PGC/PGD port selection error, should be configured according to the hardware circuit connection
3. Bit configuration does not take effect
After setting the bit configuration, click "Output generated source code" and copy and paste it into the configuration_bits.c file
For other error causes, it is recommended to read the relevant debugger guides such as "ICD3 Debugging Guide (MPLAB-X)", "MPLAB XC16 C Compiler User's Guide" and "MPLAB X IDE User's Guide".
Appendix: The top reasons for being unable to debug (from the ICD3 Debugging Guide)
Previous article:Two methods to set up UART for 32-bit microcontroller PIC32MX270F256B
Next article:【MPLAB X IDE】05: Configuration bits
Recommended ReadingLatest update time:2024-11-24 11:20
- 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
- Come to TE Webinar Learning Center TE launches the first white paper "Connecting the Future of Mobility"
- MSP430G2553 Serial Communication
- How to set the adaptive reference signal?
- DC analysis of a constant current source as an active load. Stuck, urgent.
- I have an urgent question about eye diagram simulation in ADS. I hope you can give me some advice!
- Has anyone used this GUI? It looks good, but I haven't connected yet.
- Reference Design for MSP430FR2000IRLLT
- Memory Compression Technology in Embedded Systems
- Zhongtong Bus ERP Project Experience 2
- Porting shttpd Web