Top Banner
Department of Electronic & Electrical Engineering PIC simulator. Quick intro to using the MPLABX PIC simulator
6

Department of Electronic Electrical Engineering PIC simulator. Quick intro to using the MPLABX PIC simulator.

Jan 19, 2018

Download

Documents

Department of Electronic & Electrical Engineering Running the debugger 1. Left click to toggle break points 2. Then run current line Debugger controls (hover mouse over)
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Department of Electronic  Electrical Engineering PIC simulator. Quick intro to using the MPLABX PIC simulator.

Department of Electronic & Electrical Engineering

PIC simulator.

Quick intro to using the MPLABX PIC simulator

Page 2: Department of Electronic  Electrical Engineering PIC simulator. Quick intro to using the MPLABX PIC simulator.

Department of Electronic & Electrical Engineering

Selector the simulator in project settings

Page 3: Department of Electronic  Electrical Engineering PIC simulator. Quick intro to using the MPLABX PIC simulator.

Department of Electronic & Electrical Engineering

Running the debugger1. Left click to toggle break points

2. Then run

currentline

Debugger controls (hover mouse over)

Page 4: Department of Electronic  Electrical Engineering PIC simulator. Quick intro to using the MPLABX PIC simulator.

Department of Electronic & Electrical Engineering

Looking at the state of the PIC

Program counterSTATUS bits (Z set z not set)

Working register

Page 5: Department of Electronic  Electrical Engineering PIC simulator. Quick intro to using the MPLABX PIC simulator.

Department of Electronic & Electrical Engineering

Looking at the file registers.

Page 6: Department of Electronic  Electrical Engineering PIC simulator. Quick intro to using the MPLABX PIC simulator.

Department of Electronic & Electrical Engineering