Cortex-A8? Cortex-A9?

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Hi,

    Which device do you have connected?...
    Without knowing this, it is like you are asking "What is correct, 1 or 2" without giving any context...

    But in this case, J-Link Commander seems to show the correct device. We will have a look at this.


    Best regards
    Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hi Taoist,

    I can't find the spec of cortex-A9 r2p10.

    J-Link just reads out what it finds in the CPU debug registers, so it seems that they really say r2p10 for this device.
    May be a bug in the device but unfortunately we currently do not have an i.MX6 device here for verification.


    Best regards
    Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hi Alex,

    I got the device specification. The chip is Freescale i.MX6Quad.

    I tried to use rce command to read CP15 registers, but it looks J-Link is not stable.
    Please see my log as below.

    Connecting to J-Link via USB (Port: 0)
    DLL version V4.51e, compiled Jul 4 2012 19:02:17
    Firmware: J-Link Ultra Rev.1 compiled Jun 19 2012 14:34:00
    Hardware: V1.00
    S/N: 291100003
    OEM:IAR
    VTarget = 3.397V
    Info: TotalIRLen = 13, IRPrint = 0x0101

    WARNING: At least one of the connected devices is not JTAG compliant (IEEE Std 1
    149.1, 7.1.1.d, IR-cells). (NumDevices = 3, NumBitsSet = 2)

    Info: ARM AP[0]: 0x44770001, AHB-AP
    Info: ARM AP[1]: 0x24770002, APB-AP
    Info: ARM AP[2]: 0x14760010, JTAG-AP
    Info: Found Cortex-A9 r2p10
    Info: 6 code breakpoints, 4 data breakpoints
    Info: Data endian: little
    Info: Main ID register: 0x412FC09A
    Info: Cache Type register: 0x83338003
    Info: System control register:
    Info: Instruction endian: little
    Info: Level-1 instruction cache enabled
    Info: Level-1 data cache disabled
    Info: MMU disabled
    Info: Branch prediction not supported
    Found 3 JTAG devices, Total IRLen = 13:
    #0 Id: 0x4BA00477, IRLen: 04, IRPrint: 0x1, CoreSight JTAG-DP (ARM)
    #1 Id: 0x00000001
    #2 Id: 0x1191C01D
    Cortex-A9 identified.
    JTAG speed: 100 kHz
    J-Link>rce 0,0,0,0
    CP15[0, 0, 0, 0] = 0x00C51078
    J-Link>rce 0,0,0,0
    CP15[0, 0, 0, 0] = 0x00C51078
    J-Link>mem 0,100
    00000000 = 1C F0 9F E5 1C F0 9F E5 1C F0 9F E5 1C F0 9F E5
    00000010 = 1C F0 9F E5 1C F0 9F E5 1C F0 9F E5 1C F0 9F E5
    00000020 = 1C F0 9F E5 34 FA 00 00 BC FF 93 00 C0 FF 93 00
    00000030 = C4 FF 93 00 C8 FF 93 00 CC FF 93 00 D0 FF 93 00
    00000040 = D4 FF 93 00 D8 FF 93 00 11 00 00 00 28 63 29 20
    00000050 = 43 6F 70 79 72 69 67 68 74 20 32 30 30 37 2D 32
    00000060 = 30 31 31 2C 20 46 72 65 65 73 63 61 6C 65 20 53
    00000070 = 65 6D 69 63 6F 6E 64 75 63 74 6F 72 2E 20 41 6C
    00000080 = 6C 20 72 69 67 68 74 73 20 72 65 73 65 72 76 65
    00000090 = 64 2E 00 00 DD 00 2C 41 D1 71 00 00 93 73 00 00
    000000A0 = FD 73 00 00 69 77 00 00 0F 77 00 00 35 76 00 00
    000000B0 = C7 74 00 00 83 78 00 00 C9 78 00 00 35 79 00 00
    000000C0 = FB 21 00 00 AD 1E 00 00 1D 21 00 00 BF 6F 00 00
    000000D0 = 90 21 90 00 23 4A 52 F8 20 00 00 68 C8 40 00 F0
    000000E0 = 01 00 70 47 10 B5 01 23 1E 4C 1C 3C 8B 40 54 F8
    000000F0 = 20 00 01 68 0A B1 19 43 00 E0 99 43 01 60 10 BD
    J-Link>rce 0,0,0,0
    CP15[0, 0, 0, 0] = 0xBD106001
    J-Link>rce 0,0,0,0
    CP15[0, 0, 0, 0] = 0xBD106001
    J-Link>mem 0,100
    00000000 = 1C F0 9F E5 1C F0 9F E5 1C F0 9F E5 1C F0 9F E5
    00000010 = 1C F0 9F E5 1C F0 9F E5 1C F0 9F E5 1C F0 9F E5
    00000020 = 1C F0 9F E5 34 FA 00 00 BC FF 93 00 C0 FF 93 00
    00000030 = C4 FF 93 00 C8 FF 93 00 CC FF 93 00 D0 FF 93 00
    00000040 = D4 FF 93 00 D8 FF 93 00 11 00 00 00 28 63 29 20
    00000050 = 43 6F 70 79 72 69 67 68 74 20 32 30 30 37 2D 32
    00000060 = 30 31 31 2C 20 46 72 65 65 73 63 61 6C 65 20 53
    00000070 = 65 6D 69 63 6F 6E 64 75 63 74 6F 72 2E 20 41 6C
    00000080 = 6C 20 72 69 67 68 74 73 20 72 65 73 65 72 76 65
    00000090 = 64 2E 00 00 DD 00 2C 41 D1 71 00 00 93 73 00 00
    000000A0 = FD 73 00 00 69 77 00 00 0F 77 00 00 35 76 00 00
    000000B0 = C7 74 00 00 83 78 00 00 C9 78 00 00 35 79 00 00
    000000C0 = FB 21 00 00 AD 1E 00 00 1D 21 00 00 BF 6F 00 00
    000000D0 = 90 21 90 00 23 4A 52 F8 20 00 00 68 C8 40 00 F0
    000000E0 = 01 00 70 47 10 B5 01 23 1E 4C 1C 3C 8B 40 54 F8
    000000F0 = 20 00 01 68 0A B1 19 43 00 E0 99 43 01 60 10 BD
    J-Link>rce 0,0,0,0
    CP15[0, 0, 0, 0] = 0xBD106001
    J-Link>speed 10
    JTAG speed: 10 kHz
    J-Link>rce 0,0,0,0
    CP15[0, 0, 0, 0] = 0xBD106001
    J-Link>regs
    PC: (R15) = 00002672, CPSR = 800001F3 (SVC mode, THUMB FIQ dis. IRQ dis.)
    R0 = 00000000, R1 = 00000000, R2 = 00900000, R3 = 00000800
    R4 = 00000002, R5 = 00000000, R6 = 00000094, R7 = 020D8000
    USR: R8 =009024B4, R9 =000B0000, R10=00000000, R11 =00000000, R12 =00000000
    R13=00000000, R14=00000000
    FIQ: R8 =00000000, R9 =00000000, R10=00000000, R11 =00000000, R12 =00000000
    R13=00000000, R14=00000000, SPSR=1C0919F0
    SVC: R13=0093FF8C, R14=00000C61, SPSR=4C02DEEE
    ABT: R13=00000000, R14=00000000, SPSR=100CCA8A
    IRQ: R13=00000000, R14=00000000, SPSR=05087FA7
    UND: R13=00000000, R14=00000000, SPSR=86081B60
    J-Link>rce 0,0,0,0
    CP15[0, 0, 0, 0] = 0x412FC09A
    J-Link>

    ?( ?( Which one is correct?
    Thanks a lot.

    Best regards.
    Taoist