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

Upload: christian-wheeler

Post on 19-Jan-2018

229 views

Category:

Documents


0 download

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

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