TI中文支持网
TI专业的中文技术问题搜集分享网站

66ak2 evm RBL

hello,

    最近在研究 66ak2的arm端的RBL代码,有如下问题:

    1. 同样的ccs环境,一块66ak2的开发板能同时连接 4个arm_A15 core,另一块开发板只能连接arm_A15_core0,TargetConfiguration已经配置好各核的gel。
      连接其他core时,错误信息:
     Error -6305
     Error Generating to the target, PRSC module failed to write to a router register。

    2. 在查看arm ROM中的代码时,发现
       有读地址  0x2501040 + (core number<<3),
       有写地址  0x1000030 + (core number<<2), 0x100_0030为AXI2BUSM Master 地址。
       不知以上操作有什么物理意义?

     谢谢!

Nancy Wang:

参考以下链接中关于prsc-errors的总结,是自制板吗?可能是硬件问题导致的。
software-dl.ti.com/…/ccsv7_debugging_jtag_connectivity_issues.html

Nancy Wang:

请问arm ROM的代码是从哪边看到的?方便分享一下链接吗?

陈慧:

回复 Nancy Wang:

arm ROM的代码,就是在ccs环境中 反汇编窗口 看到的。

Nancy Wang:

回复 陈慧:

目前我手头没有这块板子,没办法直接看,源码在哪里可以下载的?

陈慧:

回复 Nancy Wang:

00000000:   EA000047            b          #0x12400000004:   E59FF098            ldr        pc, [pc, #0x98]00000008:   E59FF098            ldr        pc, [pc, #0x98]0000000c:   E59FF098            ldr        pc, [pc, #0x98]00000010:   E59FF098            ldr        pc, [pc, #0x98]00000014:   E59FF098            ldr        pc, [pc, #0x98]00000018:   E59FF098            ldr        pc, [pc, #0x98]0000001c:   E59FF098            ldr        pc, [pc, #0x98]00000020:   E59FF098            ldr        pc, [pc, #0x98]00000024:   E59FF098            ldr        pc, [pc, #0x98]00000028:   E59FF098            ldr        pc, [pc, #0x98]0000002c:   E59FF098            ldr        pc, [pc, #0x98]00000030:   E59FF098            ldr        pc, [pc, #0x98]00000034:   E59FF098            ldr        pc, [pc, #0x98]00000038:   E59FF098            ldr        pc, [pc, #0x98]0000003c:   E59FF098            ldr        pc, [pc, #0x98]00000040:   E59FF098            ldr        pc, [pc, #0x98]00000044:   E59FF098            ldr        pc, [pc, #0x98]00000048:   E59FF098            ldr        pc, [pc, #0x98]0000004c:   E59FF098            ldr        pc, [pc, #0x98]00000050:   E59FF098            ldr        pc, [pc, #0x98]00000054:   E59FF098            ldr        pc, [pc, #0x98]00000058:   E59FF098            ldr        pc, [pc, #0x98]0000005c:   E59FF098            ldr        pc, [pc, #0x98]00000060:   E59FF058            ldr        pc, [pc, #0x58]00000064:   E59FF058            ldr        pc, [pc, #0x58]00000068:   E59FF090            ldr        pc, [pc, #0x90]0000006c:   E59FF058            ldr        pc, [pc, #0x58]00000070:   E59FF058            ldr        pc, [pc, #0x58]00000074:   E59FF058            ldr        pc, [pc, #0x58]00000078:   E59FF058            ldr        pc, [pc, #0x58]0000007c:   E59FF058            ldr        pc, [pc, #0x58]00000080:   E59FF07C            ldr        pc, [pc, #0x7c]00000084:   E59FF07C            ldr        pc, [pc, #0x7c]00000088:   E59FF07C            ldr        pc, [pc, #0x7c]0000008c:   E59FF07C            ldr        pc, [pc, #0x7c]00000090:   E59FF07C            ldr        pc, [pc, #0x7c]00000094:   E59FF07C            ldr        pc, [pc, #0x7c]00000098:   E59FF07C            ldr        pc, [pc, #0x7c]0000009c:   E59FF07C            ldr        pc, [pc, #0x7c]000000a0:   00000124            andeq      r0, r0, r4, lsr #2000000a4:   00000128            andeq      r0, r0, r8, lsr #2000000a8:   000007EC            andeq      r0, r0, r12, ror #15000000ac:   0000012C            andeq      r0, r0, r12, lsr #2000000b0:   00000130            andeq      r0, r0, r0, lsr r1000000b4:   00000134            andeq      r0, r0, r4, lsr r1000000b8:   00000138            andeq      r0, r0, r8, lsr r1000000bc:   0000013C            andeq      r0, r0, r12, lsr r1000000c0:   00000140            andeq      r0, r0, r0, asr #2000000c4:   00000144            andeq      r0, r0, r4, asr #2000000c8:   000007A0            andeq      r0, r0, r0, lsr #15000000cc:   00000148            andeq      r0, r0, r8, asr #2000000d0:   0000014C            andeq      r0, r0, r12, asr #2000000d4:   00000150            andeq      r0, r0, r0, asr r1000000d8:   00000154            andeq      r0, r0, r4, asr r1000000dc:   00000158            andeq      r0, r0, r8, asr r1000000e0:   0000015C            andeq      r0, r0, r12, asr r1000000e4:   00000160            andeq      r0, r0, r0, ror #2000000e8:   000007EC            andeq      r0, r0, r12, ror #15000000ec:   00000164            andeq      r0, r0, r4, ror #2000000f0:   00000168            andeq      r0, r0, r8, ror #2000000f4:   0000016C            andeq      r0, r0, r12, ror #2000000f8:   00000170            andeq      r0, r0, r0, ror r1000000fc:   00000174            andeq      r0, r0, r4, ror r100000100:   0000075C            andeq      r0, r0, r12, asr r700000104:   00000178            andeq      r0, r0, r8, ror r100000108:   0000017C            andeq      r0, r0, r12, ror r10000010c:   00000180            andeq      r0, r0, r0, lsl #300000110:   00000184            andeq      r0, r0, r4, lsl #300000114:   00000188            andeq      r0, r0, r8, lsl #300000118:   0000018C            andeq      r0, r0, r12, lsl #30000011c:   00000190            muleq      r0, r0, r100000120:   00000194            muleq      r0, r4, r100000124:   EA00007A            b          #0x31400000128:   EAFFFFFE            b          #0x1280000012c:   EAFFFFFE            b          #0x12c00000130:   EAFFFFFE            b          #0x13000000134:   EAFFFFFE            b          #0x13400000138:   EA0001D1            b          #0x8840000013c:   EA0001D0            b          #0x88400000140:   EAFFFFFE            b          #0x14000000144:   EAFFFFFE            b          #0x14400000148:   EAFFFFFE            b          #0x1480000014c:   EAFFFFFE            b          #0x14c00000150:   EAFFFFFE            b          #0x15000000154:   EAFFFFFE            b          #0x15400000158:   EAFFFFFE            b          #0x1580000015c:   EAFFFFFE            b          #0x15c00000160:   EA0001DF            b          #0x8e400000164:   EAFFFFFE            b          #0x16400000168:   EAFFFFFE            b          #0x1680000016c:   EAFFFFFE            b          #0x16c00000170:   EA0001C5            b          #0x88c00000174:   EA0001C4            b          #0x88c00000178:   EAFFFFFE            b          #0x1780000017c:   EAFFFFFE            b          #0x17c00000180:   EAFFFFFE            b          #0x18000000184:   EAFFFFFE            b          #0x18400000188:   EAFFFFFE            b          #0x1880000018c:   EAFFFFFE            b          #0x18c00000190:   EAFFFFFE            b          #0x19000000194:   EAFFFFFE            b          #0x19400000198:   0C5AA000            mrrceq     p0, #0, r10, r10, c00000019c:   0C5AAC00            mrrceq     p12, #0, r10, r10, c0000001a0:   0C5AB800            mrrceq     p8, #0, r11, r10, c0000001a4:   0C5AC400            mrrceq     p4, #0, r12, r10, c0000001a8:   00000198            muleq      r0, r8, r1000001ac:   0C5AABF0           .word       0x0c5aabf0000001b0:   0C5AB7F0            mrrceq     p7, #0xf, r11, r10, c0000001b4:   0C5AC3F0            mrrceq     p3, #0xf, r12, r10, c0000001b8:   0C5ACFF0            mrrceq     p15, #0xf, r12, r10, c0000001bc:   000001AC            andeq      r0, r0, r12, lsr #3000001c0:   0C5ED7F0            mrrceq     p7, #0xf, sp, lr, c0000001c4:   0C5EDFF0            mrrceq     p15, #0xf, sp, lr, c0000001c8:   0C5EE7F0            mrrceq     p7, #0xf, lr, lr, c0000001cc:   0C5EEFF0            mrrceq     p15, #0xf, lr, lr, c0000001d0:   000001C0            andeq      r0, r0, r0, asr #3000001d4:   0C5AE3F0            mrrceq     p3, #0xf, lr, r10, c0000001d8:   0C5AE7F0            mrrceq     p7, #0xf, lr, r10, c0000001dc:   0C5AEBF0           .word       0x0c5aebf0000001e0:   0C5AEFF0            mrrceq     p15, #0xf, lr, r10, c0000001e4:   000001D4            ldrdeq     r0, r1, [r0], -r4000001e8:   0C5AF0F0            mrrceq     p0, #0xf, pc, r10, c0000001ec:   0C5AF1F0            mrrceq     p1, #0xf, pc, r10, c0000001f0:   0C5AF2F0            mrrceq     p2, #0xf, pc, r10, c0000001f4:   0C5AF3F0            mrrceq     p3, #0xf, pc, r10, c0000001f8:   000001E8            andeq      r0, r0, r8, ror #3000001fc:   0C5AF8F0            mrrceq     p8, #0xf, pc, r10, c000000200:   0C5AF9F0            mrrceq     p9, #0xf, pc, r10, c000000204:   0C5AFAF0           .word       0x0c5afaf000000208:   0C5AFBF0           .word       0x0c5afbf00000020c:   000001FC            strdeq     r0, r1, [r0], -r1200000210:   0C5AF4F0            mrrceq     p4, #0xf, pc, r10, c000000214:   0C5AF5F0            mrrceq     p5, #0xf, pc, r10, c000000218:   0C5AF6F0            mrrceq     p6, #0xf, pc, r10, c00000021c:   0C5AF7F0            mrrceq     p7, #0xf, pc, r10, c000000220:   00000210            andeq      r0, r0, r0, lsl r200000224:   0C5AFCF0            mrrceq     p12, #0xf, pc, r10, c000000228:   0C5AFDF0            mrrceq     p13, #0xf, pc, r10, c00000022c:   0C5AFEF0            mrrceq     p14, #0xf, pc, r10, c000000230:   0C5AFFF0            mrrceq     p15, #0xf, pc, r10, c000000234:   00000224            andeq      r0, r0, r4, lsr #400000238:   00000000            andeq      r0, r0, r00000023c:   00000020            andeq      r0, r0, r0, lsr #3200000240:   00000040            andeq      r0, r0, r0, asr #3200000244:   00000060            andeq      r0, r0, r0, rrx00000248:   00000080            andeq      r0, r0, r0, lsl #10000024c:   01000030           .word       0x0100003000000250:   02620410            rsbeq      r0, r2, #0x1000000000000254:   02620420            rsbeq      r0, r2, #0x2000000000000258:   02620020            rsbeq      r0, r2, #0x200000025c:   02500000            subseq     r0, r0, #000000260:   02621000            rsbeq      r1, r2, #000000264:   02620140            rsbeq      r0, r2, #0x1000000268:   00000000            andeq      r0, r0, r00000026c:   00000001            andeq      r0, r0, r100000270:   00020000            andeq      r0, r2, r000000274:   00000009            andeq      r0, r0, r900000278:   00000000            andeq      r0, r0, r00000027c:   00000200            andeq      r0, r0, r0, lsl #400000280:   09000000           .word       0x0900000000000284:   00000000            andeq      r0, r0, r000000288:   00000270            andeq      r0, r0, r0, ror r20000028c:   0000027C            andeq      r0, r0, r12, ror r200000290:   000BC000            andeq      r12, r11, r000000294:   00000004            andeq      r0, r0, r400000298:   00000000            andeq      r0, r0, r00000029c:   02620240            rsbeq      r0, r2, #4000002a0:   02501000            subseq     r1, r0, #0000002a4:   0262013C            rsbeq      r0, r2, #0xf000002a8:   00000000            andeq      r0, r0, r0000002ac:   00000000            andeq      r0, r0, r0000002b0:   00000000            andeq      r0, r0, r0000002b4:   00000000            andeq      r0, r0, r0000002b8:   00000000            andeq      r0, r0, r0000002bc:   00000000            andeq      r0, r0, r0000002c0:   00000000            andeq      r0, r0, r0000002c4:   00000000            andeq      r0, r0, r0000002c8:   00000000            andeq      r0, r0, r0000002cc:   00000000            andeq      r0, r0, r0000002d0:   00000000            andeq      r0, r0, r0000002d4:   00000000            andeq      r0, r0, r0000002d8:   FFFFFFFF           .word       0xffffffff000002dc:   0C5B0600            mrrceq     p6, #0, r0, r11, c0000002e0:   0C5B1C44            mrrceq     p12, #4, r1, r11, c4000002e4:   00030084            andeq      r0, r3, r4, lsl #1000002e8:   00015790            muleq      r1, r0, r7000002ec:   000157A0            andeq      r5, r1, r0, lsr #15000002f0:   000157B0            strheq     r5, [r1], -r0000002f4:   0C587000            mrrceq     p0, #0, r7, r8, c0000002f8:   000157C0            andeq      r5, r1, r0, asr #15000002fc:   000157D0            ldrdeq     r5, r6, [r1], -r000000300:   000157E0            andeq      r5, r1, r0, ror #1500000304:   0C5E4000            mrrceq     p0, #0, r4, lr, c000000308:   80000000            andhi      r0, r0, r00000030c:   4400FFFF            strmi      pc, [r0], #-0xfff00000310:   00CCFF88            sbceq      pc, r12, r8, lsl #3100000314:   EE309F30            mrc        p15, #1, r9, c0, c0, #100000318:   E3A00000            mov        r0, #00000031c:   EE400F10            mcr        p15, #2, r0, c0, c0, #000000320:   EE308F10            mrc        p15, #1, r8, c0, c0, #000000324:   E3A00002            mov        r0, #200000328:   EE400F10            mcr        p15, #2, r0, c0, c0, #00000032c:   EE307F10            mrc        p15, #1, r7, c0, c0, #000000330:   E3A00004            mov        r0, #400000334:   EE400F10            mcr        p15, #2, r0, c0, c0, #000000338:   EE306F10            mrc        p15, #1, r6, c0, c0, #00000033c:   E3A00008            mov        r0, #800000340:   EE400F10            mcr        p15, #2, r0, c0, c0, #000000344:   EE305F10            mrc        p15, #1, r5, c0, c0, #000000348:   EE104F91            mrc        p15, #0, r4, c0, c1, #40000034c:   EE103F30            mrc        p15, #0, r3, c0, c0, #100000350:   EE390F50            mrc        p15, #1, r0, c9, c0, #200000354:   E7C2001F            bfc        r0, #0, #300000358:   E3800003            orr        r0, r0, #30000035c:   EE290F50            mcr        p15, #1, r0, c9, c0, #200000360:   F57FF06F            isb        sy00000364:   F57FF04F            dsb        sy00000368:   E3000250            movw       r0, #0x2500000036c:   E3011000            movw       r1, #0x100000000370:   E0811800            add        r1, r1, r0, lsl #1600000374:   E2811040            add        r1, r1, #0x4000000378:   EE100FB0            mrc        p15, #0, r0, c0, c0, #50000037c:   E2000003            and        r0, r0, #300000380:   E1A00180            lsl        r0, r0, #300000384:   E0800001            add        r0, r0, r100000388:   E5901000            ldr        r1, [r0]0000038c:   E3510000            cmp        r1, #000000390:   112FFF11            bxne       r100000394:   EE100F31            mrc        p15, #0, r0, c0, c1, #100000398:   EE100E10            mrc        p14, #0, r0, c0, c0, #00000039c:   E3000100            movw       r0, #0x100000003a0:   E3001030            movw       r1, #0x30000003a4:   E0810800            add        r0, r1, r0, lsl #16000003a8:   EE101FB0            mrc        p15, #0, r1, c0, c0, #5000003ac:   E2011003            and        r1, r1, #3000003b0:   E0800101            add        r0, r0, r1, lsl #2000003b4:   E51F10E4            ldr        r1, [pc, #-0xe4]000003b8:   E5801000            str        r1, [r0]000003bc:   F1010000            setend     le

陈慧:

回复 陈慧:

hello, 我不知道怎样添加附件。

赞(0)
未经允许不得转载:TI中文支持网 » 66ak2 evm RBL
分享到: 更多 (0)