Summary of PIC microcontroller debugging

Publisher:朝霞暮雨Latest update time:2020-01-31 Source: eefocusKeywords:PIC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Programming environment used: MPLAB X IDE V3.40


MCU: p33FJ64GS606


Emulator: pickit3


Problem: Breakpoints cannot be resolved to valid program memory addresses, and simulation cannot set breakpoints and watch window variables cannot be viewed.


Solution: The file cannot have a Chinese path.

Keywords:PIC Reference address:Summary of PIC microcontroller debugging

Previous article:Interfacing Rotary Encoders with PIC Microcontrollers
Next article:PIC microcontroller minimum system (physical)

Recommended ReadingLatest update time:2024-11-16 12:49

Realizing the communication between PIC microcontroller and QT host computer based on RS232 serial port
Introduction: The host computer sends a message to the slave computer through the RS232 serial port. The slave computer receives the message and performs two actions: (1) LED light changes. (2) Return the message to the host computer through the RS232 serial port; After receiving the message, the host computer d
[Microcontroller]
Realizing the communication between PIC microcontroller and QT host computer based on RS232 serial port
Current driving based on PIC microcontroller and LCD module
The bias voltage is generated by using an external resistor ladder network (see the circuit diagram below). Because the resistor ladder network is connected between VDD and Vss, there will be a current flowing through the resistor ladder network, and the current is inversely proportional to the resistance. In other wo
[Microcontroller]
Current driving based on PIC microcontroller and LCD module
PIC18FxxJxx HID Bootloader Porting and Compiling Experience
1. Porting reference materials: The MLA officially provided by microchip, I downloaded the version V2018_11_26, the main reference material path is as follows (if the version is older, it is also fine, I compared V2016_11_07, the example code for HID bootloader application is exactly the same): (1) Reference example:
[Microcontroller]
PIC18FxxJxx HID Bootloader Porting and Compiling Experience
PIC Microcontroller Introduction_Asynchronous Communication Mode Detailed Explanation
1. USART for asynchronous communication 1.1 USART asynchronous working mode In asynchronous mode, the USART uses the standard non-return-to-zero (NRZ) encoding format: one start bit, 8 or 9 data bits and one stop bit. The most commonly used data format is 8 bits. A dedicated 8-bit baud rate generator on chip can be
[Microcontroller]
PIC Microcontroller Introduction_Asynchronous Communication Mode Detailed Explanation
PIC microcontroller programming and the use of action flags
The control part uses PICl6F7X series microcontrollers, which are programmed in assembly language. The running speed is fast and can meet the system requirements. Most of the control used here is digital signal control, and the motor control has only two states: open and closed. The coordinated actions of the two arms
[Microcontroller]
PIC microcontroller programming and the use of action flags
A handheld GPS positioning system based on PIC microcontroller and GPS receiver module
  1 Introduction   GPS attracts many users around the world with its high precision, all-weather, global coverage, convenience, flexibility, high quality and low price. The widespread application of GPS has changed the way people work, improved work efficiency and brought huge economic benefits. Here we propose a des
[Microcontroller]
A handheld GPS positioning system based on PIC microcontroller and GPS receiver module
Design of PIC microcontroller for host computer data acquisition
basic skills In this design, data processing can use powerful software such as MATLAB on PC, but this type of existing data processing software cannot directly control the lower computer acquisition module of the specific data acquisition system. Therefore, it is necessary to write corresponding upper computer softwar
[Microcontroller]
Design of PIC microcontroller for host computer data acquisition
A Preliminary Study on the Design of Inverter Circuit Based on PIC Microcontroller
  In view of the requirements of variable frequency amplitude modulation of modern power supply, it is proposed to use PIC16F873 to generate SPWM wave to control IR2136 to trigger IGBT to generate PWM wave to act on the inverter to produce a standard sine waveform, thereby realizing variable frequency amplitude modula
[Power Management]
A Preliminary Study on the Design of Inverter Circuit Based on PIC Microcontroller
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components
Guess you like

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号