Before you can get ICD working you need to make sure you have a good serial connection.
If you can send/receive serial data between the PIC & PC it should work fine with the ICD.
If not, then you'll need to fix that first.
Before you can get ICD working you need to make sure you have a good serial connection.
If you can send/receive serial data between the PIC & PC it should work fine with the ICD.
If not, then you'll need to fix that first.
Connection are good on serial!
I can get the 628 to blink led without connecting to max232 with that code....
' Example program to blink an LED connected to PORTA.0 about
' once a second
'DEFINE LOADER_USED 1
'DEFINE OSC 4
trisA.0 = 0
x var byte
led var porta.0
loop:
x=1 ' Turn on LED connected to PORTB.0
led=x
Pause 500 ' Delay for .5 seconds
x=0 ' Turn on LED connected to PORTB.0
led=x ' Turn off LED connected to PORTB.0
Pause 500 ' Delay for .5 seconds
Goto loop ' Go back to loop and blink LED forever
End
To get RX and TX working on 628 should i put line in code to get it to send and receive or ICD complile does it for me....
I do select the right COM to run program....witch is COM9 for me....is a PCMCIA card to RS232.
Bruce told me that I don't need DEFINE LOADER_USED 1. I have tried it with it an doesn't work.
Is the led supposse to blink when programmed with ICD complile and program?
Tanks again...
DEFINE LOADER_USED 1 is only needed when using a boot-loader.Bruce told me that I don't need DEFINE LOADER_USED 1. I have tried it with it an doesn't work.
No. It should only blink when you are running ICD.Is the led supposse to blink when programmed with ICD complile and program?
Bookmarks