JLink V8 initializes the exynos4412 script and jlinkexynos4412

Source: Internet
Author: User
Tags jlink

JLink V8 initializes the exynos4412 script and jlinkexynos4412
/*************************************** **************************************** ** @ Author Maoxiao Hu * @ version V1.0.0 * @ date Dec-2014 ************************** **************************************** * *********** <COPYRIGHT 2014 ISE of shandong university> ******************* **************************************** * *******************/add to the blog "jLink V8 debugging exynos 4412 u-boot", supplement JLink to initialize the 4412 clock Management Unit CMU script to prevent the JLink from disconnecting from the CPU due to clock initialization during debugging. Note out the clock initialization code in uboot before using this script.

Target remote localhost: 2331

Monitor sleep 10

Monitor halt

Monitor sleep 500

 

# CMU_CPU MUX/DIV

 

Monitor memU32 0x10044200 = 0x00000000

Monitor sleep 100

Monitor memU32 0x10040500 = 0x13111113

Monitor memU32 0x10040504 = 0x01010100

 

# CMU_TOP MUX/DIV

Monitor memU32 0x1003C210 = 0x00000000

Monitor sleep 100

Monitor memU32 0x1003C214 = 0x00000000

Monitor sleep 100

Monitor memU32 0x1003C510 = 0x00005473

 

# CMU_LEFTBUS MUX/DIV

Monitor memU32 0x10034200 = 0x00000010

Monitor sleep 100

Monitor memU32 0x10034500 = 0x00000013

 

# CMU_RIGHTBUS MUX/DIV

Monitor memU32 0x10038200 = 0x00000010

Monitor sleep 100

Monitor memU32 0x10038500 = 0x00000013

 

# SET PLL LOCKTIME

Monitor memU32 0x10044000 = 0x000002F1

Monitor memU32 0x10040008 = 0x000002F1

Monitor memU32 0x1004C010 = 0x00002321

Monitor memU32 0x1004C020 = 0x00002321

Monitor memU32 0x10044500 = 0x01143730

Monitor memU32 0x10044504 = 0x00000004

 

# SET APLL

Monitor memU32 0x10044104 = 0x00803800

Monitor memU32 0x10044100 = 0x807D0300

Monitor sleep 100

 

# SET MPLL

Monitor memU32 0x1004010C = 0x00803800

Monitor memU32 0x10040108 = 0x80640300

Monitor sleep 100

 

# SET EPLL

Monitor memU32 0x1003C118 = 0x00000080

Monitor memU32 0x1003C114 = 0x66010000

Monitor memU32 0x1003C110 = 0x80400203

Monitor sleep 100

 

# SET VPLL

Monitor memU32 0x1003C128 = 0x00000080

Monitor memU32 0x1003C124 = 0x66010000

Monitor memU32 0x1003C120 = 0x80480203

Monitor sleep 100

Monitor memU32 0x10044200 = 0x01000001

Monitor sleep 100

Monitor memU32 0x10040200 = 0x00011000

Monitor sleep 100

Monitor memU32 0x1003C210 = 0x00000110

Monitor sleep 100

Monitor memU32 0x1003C214 = 0x00011000

Monitor sleep 100

 

Load

Break _ start

 

Thanks: cym


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.