The debug port only works if reset is higher than clock. weird
[fw/altos] / lib / ccdbg.h
index dbb2a907bc3ee20cc105c2efaa7079e1b740e73c..f6e216c41b61b71c5be2f0a5714101cf2124646f 100644 (file)
@@ -32,9 +32,9 @@
 #include <sys/stat.h>
 #include "ccdbg-debug.h"
 
-#define CC_CLOCK       0x4
+#define CC_CLOCK       0x1
 #define CC_DATA                0x2
-#define CC_RESET_N     0x1
+#define CC_RESET_N     0x4
 #define CC_CLOCK_US    (1000)
 
 /* Telemetrum has a 10k pull-up to 3.3v, a 0.001uF cap to ground