From b6ef3f8c96ad4f9a457e1a7e61a39ea452fbbd66 Mon Sep 17 00:00:00 2001 From: dwhuseby Date: Mon, 8 Mar 2010 21:28:03 +0000 Subject: [PATCH] stubbed in jtagxscale firmware and manual. --Huseby git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@399 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- firmware/Makefile | 2 +- firmware/apps/jtag/jtagxscale.c | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 firmware/apps/jtag/jtagxscale.c diff --git a/firmware/Makefile b/firmware/Makefile index 443d016..1785de8 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -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 -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 diff --git a/firmware/apps/jtag/jtagxscale.c b/firmware/apps/jtag/jtagxscale.c new file mode 100644 index 0000000..ffe169c --- /dev/null +++ b/firmware/apps/jtag/jtagxscale.c @@ -0,0 +1,24 @@ +/*! \file jtagxscale.c + \author Dave Huseby + \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); + } +} -- 2.20.1