Incomplete Password Error
travisgoodspeed opened this issue · comments
Recent versions of GCC now link only those words of the IVT which are used in the password, leaving all others unhandled. Close this issue when we reconstruct the IVT password, whcih will repair make dmesg
over the FTDI chip.
The disassembly is wrong, as these are addresses of course, but this shows that many entries are missing. This brakes passwordfromfile
in cc430-bsl.py
.
% msp430-objdump -D -m msp430 goodwatch.hex | tail -n 25
Disassembly of section .sec2:
0000ffdc <.sec2>:
ffdc: 6c d0 bis.b @r0, r12
Disassembly of section .sec3:
0000ffe0 <.sec3>:
ffe0: f6 cf Address 0x000000000000ffe2 is out of bounds.
bic.b @r15+, -1(r6) ;0xffff(r6)
Disassembly of section .sec4:
0000ffea <.sec4>:
ffea: 0c cb bic r11, r12
Disassembly of section .sec5:
0000fff4 <.sec5>:
fff4: 54 cc de d0 bic.b -12066(r12),r4 ;0xd0de(r12)
Disassembly of section .sec6:
0000fffe <.sec6>:
fffe: 3c 8e sub @r14+, r12
All missing entries are FFFF
.