1. wired
Refer to Wiki
SD card pin |
JTAG pin |
SD card signal |
8 |
Gnd |
Gnd |
1 |
TCK |
D2 |
8 |
TMS |
D1 |
7 |
TDI |
D0 |
3 |
TDO |
CMD |
4 |
Vt |
VCC |
2. Upgrade jlink firmware to 4.90a in windows.
Earlier versions cannot support cortex-a7, at least this version is supported. In Windows, jlink cannot identify the cortex-a7. This step is to avoid
Upgrade again. Method omitted.
3. Install jlink software of the same version as windows in Ubuntu
In ubuntu (I used 12.04), the corresponding version is 4.90.1, so the same version as windows is installed to avoid upgrading jlink firmware in Linux.
Jlink is damaged.
However, you can enter jlinkexe to display:
Feature (s): RDI, flashdl, flashbp, jflash, gdbfull
Vtarget = 3.280 v
Info: totalirlen = 4, irprint = 0x01
Info: arm AP [0]: 0x64770001, AHB-AP
Info: arm AP [1]: 0x44770002, APB-AP
Info: Found Cortex-A7 (r0p4)
Info: 6 code breakpoints, 4 Data breakpoints
Info: Debug architecture armv7.1
Info: Data endian: Little
Info: Main ID register: 0x0000fc074
Info: L1 (I-Cache): 32kb, 512 sets, linesize 32 bytes, 2-way
Info: L1 (D-Cache): 32 KB, 128 sets, linesize 64 bytes, 4-way
Info: L2 (uniied cache): 256 kb, 512 sets, linesize 64 bytes, 8-way
Info: system control register:
Info: instruction endian: Little
Info: level-1 Instruction Cache disabled
Info: level-1 data cache disabled
Info: MMU disabled
Info: branch prediction Enabled
Found 1 JTAG device, total irlen = 4:
#0 ID: 0x5ba00477, irlen: 04, irprint: 0x1, coresight JTAG-DP (ARM)
Cortex-A7 identified.
Target Interface speed: 100 kHz
Ubuntu uses jlink to debug cubieboard2 (A20, cortex-a7)