How to use Jlink a button to burn the entire flash Hi3518 a C e Hi3515 Hi3512

Source: Internet
Author: User
Tags jlink

Take Jlink burn 3515 as an example:
1\ Jlink Install folder "C:\Program files\segger\jlinkarm_v426b" Create batch file "HI3515 Burn write. Bat"
2\ "HI3515 Burn write. bat" content such as the following:


Jlink.exe Jlinkbat.txt


3\ Create a "jlinkbat.txt" file under the same folder, such as the following:


R
Speed 3000k
RCE 0 9 1 1
WCE 0 9 1 1 d
Loadbin G:\jj\hisiex-dramer.bin 0
SETPC 0
Go


Loadbin G:\jj\3515.bin 0xc1000000


Loadbin G:\jj\u-boot1.bin 0xc0500000


Setpc 0xc0500000
Go


########################################
The above content stares for example the following:
r# Restart Jlink
Speed 3000k# set Jlink speeds to 3000K, of course, can also be set to 12000K or other, assuming that the signal line is too long, do not set it too high
RCE 0 9 1 1 #
WCE 0 9 1 1 d# Set register
Loadbin G:\jj\hisiex-dramer.bin 0# the chip & memory initializer load into the chip internal RAM, assuming that you do not have this program, to be able to replace this part of the content with commands.

As Hi3518, you can place the command in log here instead of the program.
SETPC 0# setting up PC registers
Go#run


Loadbin G:\jj\3515.bin 0xc1000000# This is the file that needs to be burned into the flash, put into the 0xc1000000 memory


Loadbin G:\jj\u-boot1.bin 0xc0500000# put uboot into 0xc0500000 memory


SETPC 0xc0500000# setting up PC registers
go#, run.
########################################


4\ Save the above file, double-click "HI3515 Burn Write. Bat" (You can also build a shortcut on the desktop) assuming the hardware setup is OK. The serial port should be able to see the serial port run up information. This is to burn the files put in 0xc1000000 memory, this part of the memory content burned to flash can be. Of course, if you need a real one-click Burn, you need to change the uboot. Give Uboot the command to burn by default startup.


Burner Purchase Link:

http://item.taobao.com/item.htm?spm=686.1000925.1000774.13.R43kFb&id=38550248114

HiSilicon Hi3507, Hi3512, Hi3515, Hi3518, hi3516c use Jlink burn will be slightly different.

Reprint please indicate the source, thank you.



How to use Jlink a button to burn the entire flash Hi3518 a C e Hi3515 Hi3512

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.