Replace sjf2440 with H-JTAG to write 2410 and 2440flash.

Source: Internet
Author: User

Reposted from the rain or shine blog (http://Apollo5520.cublog.cn)

Link: http://blog.chinaunix.net/u3/105764/showart_2093789.html

 

1. Download the H-JTAG software.

Http://www.hjtag.com/chinese/download.html

2. Configure the JTAG interface

Now we are basically using the sjf jtag panel. Open the settings-> lpt jtag setting menu of H-JTAG, as shown in the configuration:

3. Detect CPU chips

After configuring the JTAG, use opertaions-> detect target to detect the CPU. Sometimes an error message may pop up (when the Board enters the qopia interface, an error may occur occasionally ), in this case, you only need to manually reset the Development Board and then re-check it. After detecting the CPU, the software will display the CPU architecture, as shown in:

4. Configure the corresponding CPU and flash Parameters

Use the flasher-> Start H-flasher menu to enable Flash burningProgramFirst, open the load menu, pop up the file selection interface, and go to the hfexamples directory under the H-JTAG installation directory, which contains some common CPU and flash configuration files

For my Development Board, select the S3C2440 + k9f1208. HFCs file:

Select the "programming" menu on the left, reset the Development Board, and click the "check" button on the right. The flash and CPU can be correctly detected, for example:

5. Flash burning

Select the file type to be written, the block location of flash, and the page, and finally select the file to be written. For example, I chose to configure the bootloader to be written to S3C2440, click "program" on the right to start flash writing.

The burning speed is basically 7 K/s, which is much faster than the sjf2440 program. After the burning is complete, a prompt will be displayed.

This method is especially suitable for debugging bootloader, which can save a lot of time. My operating system is Windows 7. I think other Windows platforms should also support it.

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.