stubbed in jtagxscale firmware and manual. --Huseby
authordwhuseby <dwhuseby@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 8 Mar 2010 21:28:03 +0000 (21:28 +0000)
committerdwhuseby <dwhuseby@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 8 Mar 2010 21:28:03 +0000 (21:28 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@399 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

firmware/Makefile
firmware/apps/jtag/jtagxscale.c [new file with mode: 0644]

index 443d016..1785de8 100644 (file)
@@ -25,7 +25,7 @@ CC=msp430-gcc -Wall -Os -g -mmcu=$(mcu) -D$(mcu) -DGCC $(GCCINC) -I include $(CC
 #Define extra modules here.
 moreapps?=apps/i2c/i2c.o apps/chipcon/chipcon.o apps/glitch/glitch.o apps/jtag/sbw.o apps/smartcard/smartcard.o
 
 #Define extra modules here.
 moreapps?=apps/i2c/i2c.o apps/chipcon/chipcon.o apps/glitch/glitch.o apps/jtag/sbw.o apps/smartcard/smartcard.o
 
-apps= $(moreapps) apps/monitor/monitor.o apps/spi/spi.o   apps/jtag/jtag.o apps/jtag/jtag430.o apps/jtag/jtag430x2.o apps/avr/avr.o apps/jtag/ejtag.o
+apps= $(moreapps) apps/monitor/monitor.o apps/spi/spi.o   apps/jtag/jtag.o apps/jtag/jtag430.o apps/jtag/jtag430x2.o apps/avr/avr.o apps/jtag/ejtag.o apps/jtag/jtagxscale.o
 libs= lib/$(mcu).o lib/command.o apps/jtag/jtag430asm.o apps/chipcon/chipconasm.o
 app= goodfet
 
 libs= lib/$(mcu).o lib/command.o apps/jtag/jtag430asm.o apps/chipcon/chipconasm.o
 app= goodfet
 
diff --git a/firmware/apps/jtag/jtagxscale.c b/firmware/apps/jtag/jtagxscale.c
new file mode 100644 (file)
index 0000000..ffe169c
--- /dev/null
@@ -0,0 +1,24 @@
+/*! \file jtagxscale.c
+  \author Dave Huseby <dave@linuxprogrammer.org>
+  \brief Intel XScale JTAG (32-bit)
+*/
+
+#include "platform.h"
+#include "command.h"
+#include "jtag.h"
+
+//! Handles XScale JTAG commands.  Forwards others to JTAG.
+void xscalehandle(unsigned char app,
+                  unsigned char verb,
+                  unsigned long len)
+{    
+    switch(verb) 
+    {
+        case START:
+        case STOP:
+        case PEEK:
+        case POKE:
+        default:
+            jtaghandle(app,verb,len);
+    }
+}