X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Finclude%2Fjtagarm7tdmi.h;h=fc88fed40182a0933ea4990e5fcf2744a07eb73c;hp=d8f5bf3155b383f092afc1b5fb87b7a75b587add;hb=e9fb7dbba0d1abc23d14559e566da903331f1e8a;hpb=d2478c7eeb0a3b55d4ab7746a65faf3212857cf3 diff --git a/firmware/include/jtagarm7tdmi.h b/firmware/include/jtagarm7tdmi.h index d8f5bf3..fc88fed 100644 --- a/firmware/include/jtagarm7tdmi.h +++ b/firmware/include/jtagarm7tdmi.h @@ -171,9 +171,11 @@ The least significant bit of the instruction register is scanned in and scanned // http://www.atmel.com/dyn/resources/prod_documents/DDI0029G_7TDMI_R3_trm.pdf #define EXECNOPARM 0xe1a00000L #define ARM_INSTR_NOP 0xe1a00000L -#define ARM_INSTR_STR_Rx_r14 0xe58e0000L +//#define ARM_INSTR_STR_Rx_r14 0xe58e0000L // from atmel docs +#define ARM_INSTR_STR_Rx_r14 0xe5800000L // set both src and dest reg in code #define ARM_READ_REG ARM_INSTR_STR_Rx_r14 -#define ARM_INSTR_LDR_Rx_r14 0xe59e0000L +//#define ARM_INSTR_LDR_Rx_r14 0xe59e0000L // from atmel docs +#define ARM_INSTR_LDR_Rx_r14 0xe5900000L // set both src and dest reg in code #define ARM_WRITE_REG ARM_INSTR_LDR_Rx_r14 #define ARM_INSTR_LDR_R1_r0_4 0xe4901004L #define ARM_READ_MEM ARM_INSTR_LDR_R1_r0_4