diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-03-08 22:54:18 +0000 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-03-10 21:03:22 +0000 |
commit | 257a764582f52235414b5c35717b0ee2b49d4b0d (patch) | |
tree | a27fc813a19942d0bee8c58fe170a9f838ea2294 /src/target/mips_ejtag.h | |
parent | f10ed95a5ce6be416bcb2ec20826c6e508e4b622 (diff) |
PIC32: add flash algorithm support
Add flash algorithm support for the PIC32MX.
Still a few things todo but this dramatically decreases
the programing time, eg. approx programming for 2.5k test file.
- without fastload: 60secs
- with fastload: 45secs
- with fastload and algorithm: 2secs.
Add new devices to supported list.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src/target/mips_ejtag.h')
-rw-r--r-- | src/target/mips_ejtag.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/target/mips_ejtag.h b/src/target/mips_ejtag.h index 2f62f2be..5c1f2459 100644 --- a/src/target/mips_ejtag.h +++ b/src/target/mips_ejtag.h @@ -40,6 +40,10 @@ #define EJTAG_INST_TCBDATA 0x12 #define EJTAG_INST_BYPASS 0xFF +/* microchip PIC32MX specific instructions */ +#define MTAP_SW_MTAP 0x04 +#define MTAP_SW_ETAP 0x05 + /* ejtag control register bits ECR */ #define EJTAG_CTRL_TOF (1 << 1) #define EJTAG_CTRL_TIF (1 << 2) |