From f97f30fe851c23896dd1c639a2c3fd3f47077f91 Mon Sep 17 00:00:00 2001 From: David Welch Date: Thu, 28 Jun 2012 22:59:58 -0400 Subject: [PATCH] adding MIT License. Providing all binaries and disassembly files for this directory. Some folks are having problems getting these examples to work hopefully the binaries and listings will bridge the gap --- armjtag/armjtag.bin | Bin 0 -> 404 bytes armjtag/armjtag.c | 13 ++++ armjtag/armjtag.elf | Bin 0 -> 33883 bytes armjtag/armjtag.hex | 28 ++++++++ armjtag/armjtag.list | 151 +++++++++++++++++++++++++++++++++++++++++ armjtag/armjtag.o | Bin 0 -> 1408 bytes armjtag/fastblink.c | 13 ++++ armjtag/fastblink.elf | Bin 0 -> 33693 bytes armjtag/fastblink.list | 103 ++++++++++++++++++++++++++++ armjtag/fastblink.o | Bin 0 -> 1108 bytes armjtag/vectors.o | Bin 0 -> 800 bytes armjtag/vectors.s | 19 ++++++ 12 files changed, 327 insertions(+) create mode 100755 armjtag/armjtag.bin create mode 100755 armjtag/armjtag.elf create mode 100644 armjtag/armjtag.hex create mode 100644 armjtag/armjtag.list create mode 100644 armjtag/armjtag.o create mode 100755 armjtag/fastblink.elf create mode 100644 armjtag/fastblink.list create mode 100644 armjtag/fastblink.o create mode 100644 armjtag/vectors.o diff --git a/armjtag/armjtag.bin b/armjtag/armjtag.bin new file mode 100755 index 0000000000000000000000000000000000000000..ed8781eeb326c15dc061fb2c50298f4d321fa62c GIT binary patch literal 404 zcmYk2u}i~17{$MY)K&!zE|n7GMi;UFfb{S$sNf=0&_Qt#oW&tx3Z0}w5pl^49UL44 z9ThSNf}@je&7C*2MF==Z96aBZ3LQRv@4fF`!kzmrRDo#tYs`TBP%oL)l&C$T)kl1# zUv*-g8#64H6Xldo6@&kR4?yyT%Ako0<&j98dL*rPc_a()pU@YyslJV=WEAVnkM+l7 zeq9Sti3ArT>mU>BY(lZ1LliD zJwvykTloJIbOdb~a@?UV(i3pR(3X_!^*m~%KgL|G^_#LW?o1z^%RB5jye0Yj z=xvO8$6HOgu-%jcyr)NubugD0pZF|+B}{EDFv;yMmF|g=n-c?T>+=*~w~YA%EpXaY literal 0 HcmV?d00001 diff --git a/armjtag/armjtag.c b/armjtag/armjtag.c index 7c7e00c..a7bc7a7 100644 --- a/armjtag/armjtag.c +++ b/armjtag/armjtag.c @@ -96,3 +96,16 @@ int notmain ( void ) } //------------------------------------------------------------------------- //------------------------------------------------------------------------- + + +//------------------------------------------------------------------------- +// +// Copyright (c) 2012 David Welch dwelch@dwelch.com +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// +//------------------------------------------------------------------------- diff --git a/armjtag/armjtag.elf b/armjtag/armjtag.elf new file mode 100755 index 0000000000000000000000000000000000000000..f6fc8899483a0717cc408fe9d478df5727a1b0fd GIT binary patch literal 33883 zcmeIwJ!lhQ7zgm@y(axo(O5q!HOMI)s&K!{wGKi>ujy$kB$f0kRs^q_ zf|GOzA}-0`;NT$Ws8B%=9G!G)a%QMSs5nR+JpXT!t62nB;s3&$=i`0uBR}rW@lz+1 zQW7jfI;B#%BE4vK-4!uJ!o6am-ziNJT0Ixc=$*p_dWTU~dOC7ZfC3bt00k&O0SZun z0u-PC1t>rP3Q&Lo6rcbFC_n)UP=Epypa2CZKmiI+fC3bt00k&O0SZun0u-PC1t>rP z3Q&Lo6rcbFC_n)UP=Epypa2CZKmiI+fC3bt00k&O0SZun0u-PC1t>rP3Q&Lo6rcbF zC_n)UP=Epypa2CZKmiI+fC3bt00k&O0SZun0u-PC1t>rP3Q&Lo6rcbFC_n)UP=Epy zpa2E_BLU-6!3&El{qp@U5^>8r{Jlkyxk}Xe^+fk#T;+stU#y$g z_kM+IKB5=IrZw}P(e8TB(Eot`(^`Cz$d{j(`En>O3r6H#aSr|WIL{%jY%6&0kl#ms zAJ2b_Jd0dMH-Y~!SSa2`tuXf*y)ooE%DlZ0lHuY{-+z2~akeyEn`ucsD80aW0=143 zxq`VfmAP9NW=pLXXG>q;84}aXVL!r-NMfxZHe(-IANA*-ThjbeOfgo(L_BhIgG6!G ziQV6Y56H5uk#SMGkcRuuo;Gjv4oRcYtXfoSXtUa)+8Va0cGaa$4h-~}o#!T|GD$l# zZ4OL~+DGkla?Ct6?%3wOcu!9(eyIDvq1|S0>_DtXBsMvna;y<0Dg!Jt?u|L@H&coqzwRw_{XcH|k5=>dxs#ZG~!aCt`!h^`M`d5$O&J#NZOV zbS011&fZ`y$aPE4>Aevf_gh`xFxR(Q{kfl>HR}4u?ujg**6-Vbt=}(F%j@sgkrg?J zez5d?{<_@iNyF;D2-Viq)aLbD>gPAt)%u-+6_Rhhey-^T9VMHP4&%R8my)eW zHoMg-g8N00uB)r{H>Iz4aHCe7??El7_0sd&JL>AHT1$r|V^;dASeeu{$GRFzO2??2 fJU+C4pA4SYzv&4lWsRrh(xhW$92uQTrKaUKq(dtf literal 0 HcmV?d00001 diff --git a/armjtag/armjtag.hex b/armjtag/armjtag.hex new file mode 100644 index 0000000..d4ee704 --- /dev/null +++ b/armjtag/armjtag.hex @@ -0,0 +1,28 @@ +:1080000002D9A0E3050000EBFEFFFFEA001080E5C7 +:108010001EFF2FE1000090E51EFF2FE11EFF2FE164 +:1080200070402DE930019FE5F9FFFFEB0717C0E332 +:10803000011781E320019FE5F3FFFFEB1C019FE5A2 +:108040000010A0E3F0FFFFEB0040A0E30400A0E17C +:10805000015084E2F0FFFFEB024084E20500A0E162 +:10806000EDFFFFEB960054E3F7FFFF1AF0009FE5EA +:10807000F0109FE5E4FFFFEB0040A0E30400A0E167 +:10808000016084E2E4FFFFEB024084E20600A0E12D +:10809000E1FFFFEB960054E3F7FFFF1A0010A0E3A7 +:1080A000BC009FE5D8FFFFEBBC009FE5D8FFFFEBCE +:1080B000070AC0E3021A80E3AC009FE5D2FFFFEBA2 +:1080C000A8009FE5D2FFFFEBA4409FE5A4209FE519 +:1080D000043000E0021083E190009FE5CAFFFFEB4F +:1080E00094009FE5F918A0E3C7FFFFEB88009FE528 +:1080F00088109FE5C4FFFFEB84009FE5C4FFFFEB02 +:1081000080409FE50050A0E17C009FE50118A0E3BE +:10811000BDFFFFEB68009FE5BDFFFFEB00C065E022 +:1081200004005CE1FAFFFF9A3DE985E25C009FE50F +:108130000118A0E3096D8EE2B3FFFFEB40009FE55D +:10814000B3FFFFEB001066E0040051E1FAFFFF9A75 +:108150007A5985E2125D85E2EAFFFFEA04002020F9 +:1081600094002020980020201000400B00002020C8 +:10817000080020203F0E1CFFC0B0610008B40020A2 +:108180000002F90020B400203F420F001C00202014 +:048190002800202083 +:040000030000800079 +:00000001FF diff --git a/armjtag/armjtag.list b/armjtag/armjtag.list new file mode 100644 index 0000000..862e2c0 --- /dev/null +++ b/armjtag/armjtag.list @@ -0,0 +1,151 @@ + +armjtag.elf: file format elf32-littlearm + + +Disassembly of section .text: + +00008000 <_start>: + 8000: e3a0d902 mov sp, #32768 ; 0x8000 + 8004: eb000005 bl 8020 + +00008008 : + 8008: eafffffe b 8008 + +0000800c : + 800c: e5801000 str r1, [r0] + 8010: e12fff1e bx lr + +00008014 : + 8014: e5900000 ldr r0, [r0] + 8018: e12fff1e bx lr + +0000801c : + 801c: e12fff1e bx lr + +00008020 : + 8020: e92d4070 push {r4, r5, r6, lr} + 8024: e59f0130 ldr r0, [pc, #304] ; 815c + 8028: ebfffff9 bl 8014 + 802c: e3c01707 bic r1, r0, #1835008 ; 0x1c0000 + 8030: e3811701 orr r1, r1, #262144 ; 0x40000 + 8034: e59f0120 ldr r0, [pc, #288] ; 815c + 8038: ebfffff3 bl 800c + 803c: e59f011c ldr r0, [pc, #284] ; 8160 + 8040: e3a01000 mov r1, #0 + 8044: ebfffff0 bl 800c + 8048: e3a04000 mov r4, #0 + 804c: e1a00004 mov r0, r4 + 8050: e2845001 add r5, r4, #1 + 8054: ebfffff0 bl 801c + 8058: e2844002 add r4, r4, #2 + 805c: e1a00005 mov r0, r5 + 8060: ebffffed bl 801c + 8064: e3540096 cmp r4, #150 ; 0x96 + 8068: 1afffff7 bne 804c + 806c: e59f00f0 ldr r0, [pc, #240] ; 8164 + 8070: e59f10f0 ldr r1, [pc, #240] ; 8168 + 8074: ebffffe4 bl 800c + 8078: e3a04000 mov r4, #0 + 807c: e1a00004 mov r0, r4 + 8080: e2846001 add r6, r4, #1 + 8084: ebffffe4 bl 801c + 8088: e2844002 add r4, r4, #2 + 808c: e1a00006 mov r0, r6 + 8090: ebffffe1 bl 801c + 8094: e3540096 cmp r4, #150 ; 0x96 + 8098: 1afffff7 bne 807c + 809c: e3a01000 mov r1, #0 + 80a0: e59f00bc ldr r0, [pc, #188] ; 8164 + 80a4: ebffffd8 bl 800c + 80a8: e59f00bc ldr r0, [pc, #188] ; 816c + 80ac: ebffffd8 bl 8014 + 80b0: e3c00a07 bic r0, r0, #28672 ; 0x7000 + 80b4: e3801a02 orr r1, r0, #8192 ; 0x2000 + 80b8: e59f00ac ldr r0, [pc, #172] ; 816c + 80bc: ebffffd2 bl 800c + 80c0: e59f00a8 ldr r0, [pc, #168] ; 8170 + 80c4: ebffffd2 bl 8014 + 80c8: e59f40a4 ldr r4, [pc, #164] ; 8174 + 80cc: e59f20a4 ldr r2, [pc, #164] ; 8178 + 80d0: e0003004 and r3, r0, r4 + 80d4: e1831002 orr r1, r3, r2 + 80d8: e59f0090 ldr r0, [pc, #144] ; 8170 + 80dc: ebffffca bl 800c + 80e0: e59f0094 ldr r0, [pc, #148] ; 817c + 80e4: e3a018f9 mov r1, #16318464 ; 0xf90000 + 80e8: ebffffc7 bl 800c + 80ec: e59f0088 ldr r0, [pc, #136] ; 817c + 80f0: e59f1088 ldr r1, [pc, #136] ; 8180 + 80f4: ebffffc4 bl 800c + 80f8: e59f0084 ldr r0, [pc, #132] ; 8184 + 80fc: ebffffc4 bl 8014 + 8100: e59f4080 ldr r4, [pc, #128] ; 8188 + 8104: e1a05000 mov r5, r0 + 8108: e59f007c ldr r0, [pc, #124] ; 818c + 810c: e3a01801 mov r1, #65536 ; 0x10000 + 8110: ebffffbd bl 800c + 8114: e59f0068 ldr r0, [pc, #104] ; 8184 + 8118: ebffffbd bl 8014 + 811c: e065c000 rsb ip, r5, r0 + 8120: e15c0004 cmp ip, r4 + 8124: 9afffffa bls 8114 + 8128: e285e93d add lr, r5, #999424 ; 0xf4000 + 812c: e59f005c ldr r0, [pc, #92] ; 8190 + 8130: e3a01801 mov r1, #65536 ; 0x10000 + 8134: e28e6d09 add r6, lr, #576 ; 0x240 + 8138: ebffffb3 bl 800c + 813c: e59f0040 ldr r0, [pc, #64] ; 8184 + 8140: ebffffb3 bl 8014 + 8144: e0661000 rsb r1, r6, r0 + 8148: e1510004 cmp r1, r4 + 814c: 9afffffa bls 813c + 8150: e285597a add r5, r5, #1998848 ; 0x1e8000 + 8154: e2855d12 add r5, r5, #1152 ; 0x480 + 8158: eaffffea b 8108 + 815c: 20200004 eorcs r0, r0, r4 + 8160: 20200094 mlacs r0, r4, r0, r0 + 8164: 20200098 mlacs r0, r8, r0, r0 + 8168: 0b400010 bleq 10081b0 + 816c: 20200000 eorcs r0, r0, r0 + 8170: 20200008 eorcs r0, r0, r8 + 8174: ff1c0e3f ; instruction: 0xff1c0e3f + 8178: 0061b0c0 rsbeq fp, r1, r0, asr #1 + 817c: 2000b408 andcs fp, r0, r8, lsl #8 + 8180: 00f90200 rscseq r0, r9, r0, lsl #4 + 8184: 2000b420 andcs fp, r0, r0, lsr #8 + 8188: 000f423f andeq r4, pc, pc, lsr r2 ; + 818c: 2020001c eorcs r0, r0, ip, lsl r0 + 8190: 20200028 eorcs r0, r0, r8, lsr #32 + +Disassembly of section .ARM.attributes: + +00000000 <.ARM.attributes>: + 0: 00002c41 andeq r2, r0, r1, asr #24 + 4: 61656100 cmnvs r5, r0, lsl #2 + 8: 01006962 tsteq r0, r2, ror #18 + c: 00000022 andeq r0, r0, r2, lsr #32 + 10: 4d524105 ldfmie f4, [r2, #-20] ; 0xffffffec + 14: 54347620 ldrtpl r7, [r4], #-1568 ; 0xfffff9e0 + 18: 08020600 stmdaeq r2, {r9, sl} + 1c: 12010901 andne r0, r1, #16384 ; 0x4000 + 20: 15011404 strne r1, [r1, #-1028] ; 0xfffffbfc + 24: 18031701 stmdane r3, {r0, r8, r9, sl, ip} + 28: 2c011a01 stccs 10, cr1, [r1], {1} + 2c: Address 0x0000002c is out of bounds. + + +Disassembly of section .comment: + +00000000 <.comment>: + 0: 3a434347 bcc 10d0d24 + 4: 6f532820 svcvs 0x00532820 + 8: 65637275 strbvs r7, [r3, #-629]! ; 0xfffffd8b + c: 43207972 teqmi r0, #1867776 ; 0x1c8000 + 10: 4265646f rsbmi r6, r5, #1862270976 ; 0x6f000000 + 14: 68636e65 stmdavs r3!, {r0, r2, r5, r6, r9, sl, fp, sp, lr}^ + 18: 74694c20 strbtvc r4, [r9], #-3104 ; 0xfffff3e0 + 1c: 30322065 eorscc r2, r2, r5, rrx + 20: 302e3131 eorcc r3, lr, r1, lsr r1 + 24: 39362d39 ldmdbcc r6!, {r0, r3, r4, r5, r8, sl, fp, sp} + 28: 2e342029 cdpcs 0, 3, cr2, cr4, cr9, {1} + 2c: 00312e36 eorseq r2, r1, r6, lsr lr diff --git a/armjtag/armjtag.o b/armjtag/armjtag.o new file mode 100644 index 0000000000000000000000000000000000000000..35df2ad9dce34e6030ae88d436974a5a9ec446d7 GIT binary patch literal 1408 zcma)5KTH#06n|fPEd>l#qM=};H(;z$E-exaM#BLjA%O(34knm*ZBME3TGAeg7!xs; zguxgGVvI3q2L=WQ2S$dDjt(v+4z#rcxZtEXc)r)ZuT&R($-CeCz4!ax_xB!;PhAy4 zfHVOiIA8!#SFPe1s6hzYpamB6zMZhhSARLq*OsngMRYx>sLX?i;4f6D26~~QK%pdN za%JK!Jy-T1r}!mAE8iWbXAkn#J%7DdLx1}~@BK?py|-`-^^n-oR;;*smMd>Lzrnb! z=d0^#zN&;_+vR^+dcpZM#Qi{hjjI^1^87ijFYCC6nL_Cia>2TJu0heOtHq3h|zOx(;YsblGcIclcj^XgR6Hr4)cB%+0f`UZ#2 zr~}%d7J-on-k4z;u_TDo7a>Nqc>jCo(P%?CDU3Bxu(i)FK*#nYB$rZ9)CHN&5}Wf1d~;-;(A`*VJ?s8s#Z*@SA8nHf=s6U-MFbDV!hh<)BLUuV9>{5|7G#?M^eWB!AA0QXGmPzkZ$ EZ@2LwfdBvi literal 0 HcmV?d00001 diff --git a/armjtag/fastblink.c b/armjtag/fastblink.c index 9a0fcab..808c799 100644 --- a/armjtag/fastblink.c +++ b/armjtag/fastblink.c @@ -60,3 +60,16 @@ int notmain ( void ) } //------------------------------------------------------------------------- //------------------------------------------------------------------------- + + +//------------------------------------------------------------------------- +// +// Copyright (c) 2012 David Welch dwelch@dwelch.com +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// +//------------------------------------------------------------------------- diff --git a/armjtag/fastblink.elf b/armjtag/fastblink.elf new file mode 100755 index 0000000000000000000000000000000000000000..7fcb35f5c5a767be2b3af9470fc295c059ed97ab GIT binary patch literal 33693 zcmeIw%S%*I9KiA4ore!-F^Qs-$Sr1Jpf?|bpb%(cZVbe1)1tgO*JjF@k(p~~1dWxg zf?T)JKf*=J{)858f)+Z1K}t}xvPHMwnTJh_pl$FyaOU^8zd85tnRz-jbHlPMsjraq zN~J1_B(%A*DH0NiCdAf$uQW^K?78TS+4~yIj_R)TOk^Q|00IagfB*srAb{V#TAL z;Oe2sb|sp8b-e%cE7>_Z4T6*A&Ua<2bF=(J>+f2xn|{}B`K#tDnyzqrr76^6 zwOVbFcB{kc40l-y_H+bFM0V5doq{wu6x;~ls%L7J$q(w4eVgO@em=dp=6eNkmU5Ylm-YYsPjOL4E!|D# zE5+*GH+gMEYVnfBu*hn?zh4yTuNNB48D{CFEBQdB(tJ~-o|~4LGyA-5J@0G{>fG2_ zRh==VnGH4cUpx~z(AwO$Rkyictd=*PmwYZVs{Q&h=lpdQt53p}xBZ?9|M6yX-`YfN z-rUZ-zonrzcdD<5d<)Eb?P9%SNr$Fy8|p5t+iP`9&+F0pTtgk#+I)XcW1BuVe>c(E zEHgi>vAbxhYAtbBQf~IXEV~7NaV4F7=qyP*DbrK)!$UHA+k9qoe#T8_: + 8000: e3a0d902 mov sp, #32768 ; 0x8000 + 8004: eb000005 bl 8020 + +00008008 : + 8008: eafffffe b 8008 + +0000800c : + 800c: e5801000 str r1, [r0] + 8010: e12fff1e bx lr + +00008014 : + 8014: e5900000 ldr r0, [r0] + 8018: e12fff1e bx lr + +0000801c : + 801c: e12fff1e bx lr + +00008020 : + 8020: e92d4070 push {r4, r5, r6, lr} + 8024: e59f008c ldr r0, [pc, #140] ; 80b8 + 8028: ebfffff9 bl 8014 + 802c: e3c01707 bic r1, r0, #1835008 ; 0x1c0000 + 8030: e3811701 orr r1, r1, #262144 ; 0x40000 + 8034: e59f007c ldr r0, [pc, #124] ; 80b8 + 8038: ebfffff3 bl 800c + 803c: e59f0078 ldr r0, [pc, #120] ; 80bc + 8040: e3a018f9 mov r1, #16318464 ; 0xf90000 + 8044: ebfffff0 bl 800c + 8048: e59f006c ldr r0, [pc, #108] ; 80bc + 804c: e59f106c ldr r1, [pc, #108] ; 80c0 + 8050: ebffffed bl 800c + 8054: e59f0068 ldr r0, [pc, #104] ; 80c4 + 8058: ebffffed bl 8014 + 805c: e59f4064 ldr r4, [pc, #100] ; 80c8 + 8060: e1a05000 mov r5, r0 + 8064: e59f0060 ldr r0, [pc, #96] ; 80cc + 8068: e3a01801 mov r1, #65536 ; 0x10000 + 806c: ebffffe6 bl 800c + 8070: e59f004c ldr r0, [pc, #76] ; 80c4 + 8074: ebffffe6 bl 8014 + 8078: e0650000 rsb r0, r5, r0 + 807c: e1500004 cmp r0, r4 + 8080: 9afffffa bls 8070 + 8084: e2856a3d add r6, r5, #249856 ; 0x3d000 + 8088: e59f0040 ldr r0, [pc, #64] ; 80d0 + 808c: e3a01801 mov r1, #65536 ; 0x10000 + 8090: e2866090 add r6, r6, #144 ; 0x90 + 8094: ebffffdc bl 800c + 8098: e59f0024 ldr r0, [pc, #36] ; 80c4 + 809c: ebffffdc bl 8014 + 80a0: e0662000 rsb r2, r6, r0 + 80a4: e1520004 cmp r2, r4 + 80a8: 9afffffa bls 8098 + 80ac: e2855a7a add r5, r5, #499712 ; 0x7a000 + 80b0: e2855e12 add r5, r5, #288 ; 0x120 + 80b4: eaffffea b 8064 + 80b8: 20200004 eorcs r0, r0, r4 + 80bc: 2000b408 andcs fp, r0, r8, lsl #8 + 80c0: 00f90200 rscseq r0, r9, r0, lsl #4 + 80c4: 2000b420 andcs fp, r0, r0, lsr #8 + 80c8: 0003d08f andeq sp, r3, pc, lsl #1 + 80cc: 2020001c eorcs r0, r0, ip, lsl r0 + 80d0: 20200028 eorcs r0, r0, r8, lsr #32 + +Disassembly of section .ARM.attributes: + +00000000 <.ARM.attributes>: + 0: 00002c41 andeq r2, r0, r1, asr #24 + 4: 61656100 cmnvs r5, r0, lsl #2 + 8: 01006962 tsteq r0, r2, ror #18 + c: 00000022 andeq r0, r0, r2, lsr #32 + 10: 4d524105 ldfmie f4, [r2, #-20] ; 0xffffffec + 14: 54347620 ldrtpl r7, [r4], #-1568 ; 0xfffff9e0 + 18: 08020600 stmdaeq r2, {r9, sl} + 1c: 12010901 andne r0, r1, #16384 ; 0x4000 + 20: 15011404 strne r1, [r1, #-1028] ; 0xfffffbfc + 24: 18031701 stmdane r3, {r0, r8, r9, sl, ip} + 28: 2c011a01 stccs 10, cr1, [r1], {1} + 2c: Address 0x0000002c is out of bounds. + + +Disassembly of section .comment: + +00000000 <.comment>: + 0: 3a434347 bcc 10d0d24 + 4: 6f532820 svcvs 0x00532820 + 8: 65637275 strbvs r7, [r3, #-629]! ; 0xfffffd8b + c: 43207972 teqmi r0, #1867776 ; 0x1c8000 + 10: 4265646f rsbmi r6, r5, #1862270976 ; 0x6f000000 + 14: 68636e65 stmdavs r3!, {r0, r2, r5, r6, r9, sl, fp, sp, lr}^ + 18: 74694c20 strbtvc r4, [r9], #-3104 ; 0xfffff3e0 + 1c: 30322065 eorscc r2, r2, r5, rrx + 20: 302e3131 eorcc r3, lr, r1, lsr r1 + 24: 39362d39 ldmdbcc r6!, {r0, r3, r4, r5, r8, sl, fp, sp} + 28: 2e342029 cdpcs 0, 3, cr2, cr4, cr9, {1} + 2c: 00312e36 eorseq r2, r1, r6, lsr lr diff --git a/armjtag/fastblink.o b/armjtag/fastblink.o new file mode 100644 index 0000000000000000000000000000000000000000..802329ecc62a5efe716b9f88017f7b4d54a75b57 GIT binary patch literal 1108 zcma)3L2DCH5T2Lav}skSQAw&nS4c6UU6NR;5rouOYcYjT(@PK1-Q<<5CY!SR3au2x zLp%w3@E~5=AJHGspWsihi3P1EkM-a>lYKA7lMc-L=9~Fu_U)UO^W}$(F;K=J1AiF6 z`;bIu`hpCM!zgSNr@y^{-J@SY@O?CK&|`^Ly&cK75KoeOJ*qV^Zcc={hOF0%yGKyj zJ6uD~q^>M$0Q|EKmBXJw@bTWWPPZsE@77*-XM!g-{)?vVU!)gjeItjGqZ*1*}`>W z#+)^CFqgwWwzy?Gz^-8!om*bIU45{$2qTdg8)I?(JiEXWT9Qq&i|lgbCIi#oZVAgq z6kdo86?wdA3ce-4tXskY)AoHZYwcExyO_h#rX_^u*qeg;{g?iq;|hvsJtI;~JKC2q zfiB}qh+{G)IE{rzh%t2PCmqF8l52=$Uqcw2q$Rt7PWpf8vZ$dRLNc01ud0k{YG&UU|(i@P||4ztwc-|Kzv}$E)p5h9J z^E&(pRGv^9+&0W=f8ChsI-D79Kt0{%!yq?2o%GQ`g#rz?eNJX**KzEp{VJnbR~11d z4(paL?55*BH*1i#AYBKyEn1f2!oqy@Rvs!VboO_e8V5*XOX?K9o5ZZdJA_y-OJ0>+ INWLTaZ#wj>PXGV_ literal 0 HcmV?d00001 diff --git a/armjtag/vectors.o b/armjtag/vectors.o new file mode 100644 index 0000000000000000000000000000000000000000..360bc05ac98654d7db5ac627b694c2e4761040ad GIT binary patch literal 800 zcma)3K}rKb5bVh&F$)S20t$xcAwp0YMSXxdL@x>=@hr1sF@bE9-3gdee1cE#0Y1V< zc=0IWMgQR1wKEeF5wxMVs;8@ax@X6&<3k|?ITO^N?}+HZBntZ(Hpr(U<(}_fKhyMs z{hi9UZ?$y$h3GCr@a7VWRj7g_jT9<6bb-VPYov$9I)A*r8~(n0?K1K;H5dM&I%bJfoZA0QJz7*w<~$>CD;| z9Y71)WQYDQ-Hy>*Gh~K-%a#LNzeVP*7tZ_a2O!p*4w!R?j1>+Z88HiX!5(FH>^j}= ziFF%%=FIhT@o(r&rZZV@rX%|2e<;M{9ZkjTEgltS{y~|mF{?9hyv@8lK)%MjG8NaE zSEpjCE9$DjC0!(1#hM0JI#Rs>ou0S%cIl{vZ)X@qBd)>QRQaKBPlFwI0nrcm1*=m+ ARsaA1 literal 0 HcmV?d00001 diff --git a/armjtag/vectors.s b/armjtag/vectors.s index beb9cf5..42c8b70 100644 --- a/armjtag/vectors.s +++ b/armjtag/vectors.s @@ -1,4 +1,7 @@ +;@------------------------------------------------------------------------- +;@------------------------------------------------------------------------- + .globl _start _start: mov sp,#0x8000 @@ -18,3 +21,19 @@ GET32: .globl dummy dummy: bx lr + +;@------------------------------------------------------------------------- +;@------------------------------------------------------------------------- + + +;@------------------------------------------------------------------------- +;@ +;@ Copyright (c) 2012 David Welch dwelch@dwelch.com +;@ +;@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +;@ +;@ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +;@ +;@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +;@ +;@-------------------------------------------------------------------------