Ubuntu uses jlink to debug cubieboard2 (A20, cortex-a7)

Source: Internet
Author: User
Tags jlink
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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.