Add note about another tested PIC target: PIC24FJ64GA002
[goodfet] / firmware / apps / jtag / ejtag.c
1 /*! \file ejtag.c
2   \author Travis Goodspeed <travis at radiantmachines.com>
3   \brief MIPS EJTAG (32-bit)
4 */
5
6 #include "platform.h"
7 #include "command.h"
8 #include "jtag.h"
9
10 //! Handles MIPS EJTAG commands.  Forwards others to JTAG.
11 void ejtaghandle(unsigned char app,
12                    unsigned char verb,
13                    unsigned long len){
14     
15   switch(verb){
16   case START:
17     cmddata[0]=jtag_ir_shift8(IR_BYPASS);
18     txdata(app,verb,1);
19     break;
20   case STOP:
21     txdata(app,verb,0);
22     break;
23   case PEEK:
24     //WRITEME
25   case POKE:
26     //WRITEME
27   default:
28     jtaghandle(app,verb,len);
29   }
30 }