#freq 20X2

jmumby

Senior Member
Do you not need to set this for the 20x2? The manual says 28x/40x parts only. I have a 20x2 @ 16Mhz and Debug does not appear to be communicating.

thx
 

jmumby

Senior Member
The manual also states about debug......

Affect of increased clock speed:
When using an 8 or 16MHz clock speed ensure the software has been set with the
correct speed setting to enable successful communication between
microcontroller and PC.

Which I assume means to set the #freq to tell the software what speed the picaxe is running at. This does not work for 20x2
 

hippy

Ex-Staff (retired)
The X2's should automatically drop to the default frequency for DEBUG and return to what they were at previously when finished. No #freq required.

What you could try is a simple debugging test loop to check that works ( does for me ) -

#Picaxe 20X2
SetFreq M64
Do
b0 = b0 +1
Debug
Pause 8000 ' 1 second @ 64MHz
Loop

Then perhaps post your code so we may be able to determine what the issue is.
 
Top