Andy1845c
Active Member
I got my inchworm to connect. I found I had enough room to simply plug the inchworm board directly into the serial port on my computer. Not sure if this is okay, but it connected.
A couple questions...
1. What exactly do I want the Device in MPLAB set to? Should it be set for the 16F54 I want to program, or for the 16F887 on the inchworm board?
2. Is ICD07010400.hex the correct file to be downloading as the OS? It is the only one that shows up for me.
3. I am trying to run a 16F54 with a 8MHz crystal. Trying to follow Bill's Hello World. I set the config bits to HS and this is what I have for the program:
list p=16F54 ?
include <p16f54.inc> ?
_CONFIG 0x0FFE
org 0
bsf STATUS, RP0
movlw b'00001110'
movwf OPTION_REG
movlw b'11111110'
movwf TRISB
bcf STATUS, RP0
movlw 1
xorwf PORTB, f
sleep
end
I'm quite sure somthing must be wrong here, because it won't build. Is the top part I have in red correct for a 16F54?
Many thanks once again.
Andy
A couple questions...
1. What exactly do I want the Device in MPLAB set to? Should it be set for the 16F54 I want to program, or for the 16F887 on the inchworm board?
2. Is ICD07010400.hex the correct file to be downloading as the OS? It is the only one that shows up for me.
3. I am trying to run a 16F54 with a 8MHz crystal. Trying to follow Bill's Hello World. I set the config bits to HS and this is what I have for the program:
list p=16F54 ?
include <p16f54.inc> ?
_CONFIG 0x0FFE
org 0
bsf STATUS, RP0
movlw b'00001110'
movwf OPTION_REG
movlw b'11111110'
movwf TRISB
bcf STATUS, RP0
movlw 1
xorwf PORTB, f
sleep
end
I'm quite sure somthing must be wrong here, because it won't build. Is the top part I have in red correct for a 16F54?
Many thanks once again.
Andy