From: Keith Packard Date: Sun, 8 Mar 2009 05:05:06 +0000 (-0800) Subject: The debug port only works if reset is higher than clock. weird X-Git-Tag: 0.5~58^2~60 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=c8fd04e154bcfd65ae1200980bd8163caabd7fe4;hp=ade11f88754b4ab0386ebf86afc5257e59238f62 The debug port only works if reset is higher than clock. weird --- 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