X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Fdsp563xx.c;h=3d4c61ae69cbb2645ae6bdb9ca054319af4eb65e;hb=e66593f8242d49dd05f6b9c4a5121fa466a158aa;hp=ef7a31aa65cc928727426acd2070dc5f434e24a6;hpb=51ef02a5d161820f6d0be8f7984c3dc057b395a9;p=fw%2Fopenocd diff --git a/src/target/dsp563xx.c b/src/target/dsp563xx.c index ef7a31aa6..3d4c61ae6 100644 --- a/src/target/dsp563xx.c +++ b/src/target/dsp563xx.c @@ -322,7 +322,7 @@ enum watchpoint_condition { #define INSTR_JUMP 0x0AF080 /* Effective Addressing Mode Encoding */ #define EAME_R0 0x10 -/* instrcution encoder */ +/* instruction encoder */ /* movep * s - peripheral space X/Y (X=0,Y=1) * w - write/read @@ -475,6 +475,7 @@ static void dsp563xx_build_reg_cache(struct target *target) reg_list[i].value = calloc(1, 4); reg_list[i].dirty = false; reg_list[i].valid = false; + reg_list[i].exist = true; reg_list[i].type = &dsp563xx_reg_type; reg_list[i].arch_info = &arch_info[i]; } @@ -1358,7 +1359,7 @@ static int dsp563xx_deassert_reset(struct target *target) if (target->state == TARGET_HALTED) { /* after a reset the cpu jmp to the * reset vector and need 2 cycles to fill - * the cache (fetch,decode,excecute) + * the cache (fetch,decode,execute) */ err = dsp563xx_step_ex(target, 1, 0, 1, 1); if (err != ERROR_OK)