From c8fd04e154bcfd65ae1200980bd8163caabd7fe4 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 7 Mar 2009 21:05:06 -0800 Subject: [PATCH 1/1] The debug port only works if reset is higher than clock. weird --- lib/ccdbg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ccdbg.h b/lib/ccdbg.h index dbb2a907..f6e216c4 100644 --- a/lib/ccdbg.h +++ b/lib/ccdbg.h @@ -32,9 +32,9 @@ #include #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 -- 2.30.2