projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Subframe jamming is going strong.
[goodfet]
/
firmware
/
include
/
jtag.h
diff --git
a/firmware/include/jtag.h
b/firmware/include/jtag.h
index
352e044
..
2d09c2c
100644
(file)
--- a/
firmware/include/jtag.h
+++ b/
firmware/include/jtag.h
@@
-38,7
+38,7
@@
void jtag_goto_shift_ir();
//! Go to SHIFT_DR
void jtag_goto_shift_dr();
//! TAP RESET
//! Go to SHIFT_DR
void jtag_goto_shift_dr();
//! TAP RESET
-void jtag_reset
_to_runtest_idle
();
+void jtag_reset
tap
();
//Pins. Both SPI and JTAG names are acceptable.
//#define SS BIT0
//Pins. Both SPI and JTAG names are acceptable.
//#define SS BIT0
@@
-92,6
+92,8
@@
extern int savedtclk;
//JTAG commands
#define JTAG_IR_SHIFT 0x80
#define JTAG_DR_SHIFT 0x81
//JTAG commands
#define JTAG_IR_SHIFT 0x80
#define JTAG_DR_SHIFT 0x81
+#define JTAG_RESETTAP 0x82
+#define JTAG_RESETTARGET 0x83
#define JTAG_DR_SHIFT20 0x91
#define MSB 0
#define JTAG_DR_SHIFT20 0x91
#define MSB 0
@@
-102,5
+104,21
@@
extern int savedtclk;
//JTAG430 commands
//#include "jtag430.h"
//JTAG430 commands
//#include "jtag430.h"
-
+#define Exit2_DR 0x0
+#define Exit_DR 0x1
+#define Shift_DR 0x2
+#define Pause_DR 0x3
+#define Select_IR 0x4
+#define Update_DR 0x5
+#define Capture_DR 0x6
+#define Select_DR 0x7
+#define Exit2_IR 0x8
+#define Exit_IR 0x9
+#define Shift_IR 0xa
+#define Pause_IR 0xb
+#define RunTest_Idle 0xc
+#define Update_IR 0xd
+#define Capture_IR 0xe
+#define Test_Reset 0xf
+
#endif
#endif