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?
Hi Bruce!
I finally got it.....on the breadboard....it's a beginning
What was wrong:
On the shematic from Microcode studio plus, took off the link from (db9, pin4) to (max232, pin 8); (max232, pin 9) to resistor 100 Ohms.
Here is the code:
DEFINE OSC 4
trisA.0 = 0
x var byte
led var porta.0
ENABLE DEBUG
loop:
x=1 ' Turn on LED connected to PORTA.0
led=x
Pause 500 ' Delay for .5 seconds
x=0 ' Turn on LED connected to PORTA.0
led=x ' Turn off LED connected to PORTA.0
Pause 500 ' Delay for .5 seconds
Goto loop ' Go back to loop and blink LED forever
DISABLE DEBUG
End
NOW I HAVE TO FIGURE OUT THE PCB....
The 628 transmit only 20 seconds after the power is turned on....
Attached here is the pcb layout....
Tanks again Bruce!
Hi!
From my pCb attach to the post above....can't find anthing wrong.
But I get some small voltage on pins than are suppose to be zero...like 0.2 and .3 V...
And TX doesn't transmit....
Question: Could it be from melted welding paste left on the board...it's so tight in between pins and nets. Does current goes throught that paste. Don't get reading from Ohmeter.
Tank you...
Bookmarks