Thanks for the links Richard!
UPDATE:
I've since simpified things further to a single blink using internal oscillator.
Code:
#CONFIG
__config _HS_OSC & _WDT_OFF & _WRT_ON & _BODEN_ON & _LVP_OFF & _CPD_OFF & _PWRTE_OFF & _DEBUG_OFF
#ENDCONFIG
DEFINE OSC 4
ADCON1 = 7 ' A/D off, all digital
TRISD = %00000000
LED0 VAR PortD.0
LOW LED0
START: HIGH LED0
PAUSE 500
LOW LED0
GOTO START
Finish: end
I've added a custom programmer in MCS+5 using the instructions for IPECMD.EXE.
I now compile and program in MCS+5. A black command box appears, everything seems normal, than FLASH, a message shows up for a millisecond about HEX FILE NOT FOUND (pretty sure that's what it says).
Not sure what's going on, cause I delete all objects in my folder except the source right before I compile, just to make sure everything gets created. The HEX and ASM are right there, I opened them, they look "normal".
The light stays blue on the PICkit4; it doesn't go red like when I tried with MPLAB IPE. I must be messing up my connection to the adapter board. I also remember reading about resistors and capacitors for the PK4, gotta find that again...
UPDATE SOME MORE:
I went back to update the command line to keep the command line window open like this.
And I noticed that it's not letting me complete the EDIT process, the NEXT button doesn't come on, I must have missed that the first time around.
Bookmarks