I'm using a melabs U2/USB Programmer w/ Microcode studio plus - PICBASIC PRO. I am running a LAB-X1 Experimenter Board running at 20 MHz. My program is as follows:
DEFINE OSC 20 ' Inform PBP that we're using 4MHz (change to 20 as necessary)
Counter VAR WORD ' Define word variable Counter
Counter = 0 ' Load word variable with 0
Junk VAR WORD ' Define word variable Junk
Junk = 10000 ' Load word variable with 10000

Begin:
FOR Counter = 0 TO 10000
Junk = Junk - 1
NEXT
GOTO Begin

I am assembling and programming from the ICD buttons. When I try to 'RUN' from the ICD controls I get an error 'ICD Connection Timeout'. I've tried everything under help and have searched the forums. Nothing I've tried seems to work. I've also set debug on and off to no avail.

Can somebody please help?
Thank you,
Don D (motorcycleman4701)