Errors During axd jlink Simulation

Source: Internet
Author: User
Tags jlink

Many people use ads according to the jlink manual, but none of them can run successfully on the S3C2440.
The following settings run successfully. For your reference.
ADS project attribute settings:
-Ro-base = 0x30000000
Entry 0x30000000
Init section: 2440init. O init
In axd, an SDRAM initialization file needs to be loaded.
Under axd --> Option-> config interface-> session file-> RUN configuration script.
Select an initialization file with the following content:
Setmem 0x53000000 0x00000000 32
Setmem 0x4a000008 0 xffffffff 32
Setmem 0x4a00001c 0x000007ff 32
Setmem 0x53000000 0x00000000 32
Setmem 0x56000050 0x000055aa 32
Setmem 0x4c000014 0x00000007 32
Setmem 0x4c000000 0x00ffffff 32
Setmem 0x4c000004 0x00061012 32
Setmem 0x4c000008 0x00040042 32
Setmem 0x48000000 0x22111120 32
Setmem 0x48000004 0x00002f50 32
Setmem 0x48000008 0x00000700 32
Setmem 0x4800000c 0x00000700 32
Setmem 0x48000010 0x00000700 32
Setmem 0x48000014 0x00000700 32
Setmem 0x48000018 0x0007fffc 32
Setmem 0x481_1c 0x00018005 32
Setmem 0x48000020 0x00018005 32
Setmem 0x48000024 0x008e0459 32
Setmem 0x48000028 0x00000032 32
Setmem 0x481_2c 0x00000030 32

Setmem 0x48000030 0x00000030 32

I tried ads + axd debugging in the evening and encountered some problems. It is estimated that many users will encounter problems by referring to the tq2440_axd setting tutorial.
I found the solution on the Internet and shared it with you. In particular, the question of entry 2 and load session:

1, notebook no serial port, with USB to serial port, burn a good U-BOOT, serial port, Super Terminal no reaction.

Solution: Right click my computer-management-Device Manager-port, you can see the port used by the USB-TO-SERIAL, I use com6, double click to set the port.

2. When ads1.2 is used, "the session file cocould not be loaded" is returned when you enter the axd debugging environment"

Solution: 1. Place the project file in a directory that does not contain a Chinese path. 2. Set the SAVE and load default session option in general in the axd-> confing interface to remove it.

My project path is in English. The reason for this error is that the session file-run configuration script in configure interface selects a Chinese path and runs normally after modification.

3. When ads is used for single-step debugging, axd does not respond when F10 or f8.

Solution: You can first use release for simulation and then switch back to debugrel for simulation.

You can also use software simulation, armul.

4. Press F5 or (CTL + F5) in ads1.2 to enter the axd. Instead of the C source program or assembler file, the pop-up window is disassembly. After that, you do not know how to proceed to the source code window.

Solution: Edit/debugrel setting/ARM linker/layout/place at beginnig of Image
In the object/Symbol box, enter the entry address (image entr point) set in options)

5. The program is correct, but there is no response to external interruptions.

Solution: Start with nand, RO address 0x40000000

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.