4 Attachment(s)
PicBasicPro+MicroCode studio plus and ICD debugging
Hi!
I'm trying to use icd debugging with MCSP on a pic16f628. I program pic with MELAB U2 and I use Picbasicpro.I did build the microcode RS232 serial to PC. And can't get it to work.
Here is the simple code:
' Example program from manual to blink an LED connected to PORTB.0 about once a second
DEFINE LOADER_USED 1
DEFINE OSC 4
loop: High 0 ' Turn on LED connected to PORTB.0
Pause 500 ' Delay for .5 seconds
Low 0 ' Turn off LED connected to PORTB.0
Pause 500 ' Delay for .5 seconds
Goto loop ' Go back to loop and blink LED forever
' x = 10
End
Communication timeout error.....can't connect to PIC
Some files are attached....tanks for your help
it's basic for you guys...I realy wann'a learn this....
File Microcode.jpg from first post
To be sure...on that drawing from microcode...that DB9 shematic is female configuration...is it?
If so...I used a male and pins are upside down
Michel
1 Attachment(s)
Desktop image of MicroCode ERROR
Desktop image of MicroCode ERROR