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

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

description

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)

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

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