Hi guys,
I originally thought "to run in debug mode" meant selecting debugger>Select tool>MPLAB SIM.
I now understand that this is just a software simulator and not the actual
PIC outputs.
Being a newbie to all of this, I think that I might tend to rush and not read
everything.
Can I assume these points are correct:
MPLAB 8.0 Project wizard, select device, select MPASM toolsuite and the 3 files associated.
Create project file and save it.
Skip the linker file in this case as the SONY SIRC code it's not relocatable code.
Click finish.
Workspace, add SONY SIRC.asm to source code.
Plug Junebug into USB, select Programmer as Pickit2
Response from Pickit2 is READY
Double click on SONY SIRC.asm
Set breakpoint at btfsc PORTB, RB2
Build all
Program the 18f1320 by selecting Programmer>Program
Pickit2 output verifies target was programmed.
Turn off 3 Tutor dip switches on Junebug
LED1 on Junebug lights to reflect that Junebug is ready to receive SIRC.
View>watch>add symbol Commandcode & Devicecode
Point remote at Junebug, select button, LED2 illuminates to show valid code
received.
No value shown in Commandcode or Devicecode
I bet you I am missing something very easy being new to PIC programming.
A thumbnail is attached (workspace)
**broken link removed**
Thanks