Welcome 微信登录
编程资源 图片资源库 蚂蚁家优选 PDF转换器

首页 / 操作系统 / Linux / JLink V8初始化Exynos 4412脚本

JLink V8初始化Exynos 4412脚本/**
******************************************************************************* @author    Maoxiao Hu* @version V1.0.1* @date     Dec-2014******************************************************************************* < COPYRIGHT 2014 ISE of SHANDONG UNIVERSITY >*********************************************************************************/上接博客《jLink V8调试exynos 4412 u-boot的几点补充》http://www.linuxidc.com/Linux/2016-03/129585.htm,补充JLink初始化4412时钟管理单元CMU的脚本,防止在调试过程中初始化时钟造成JLink断开与CPU的连接。使用此脚本前,需要将uboot中时钟初始化代码注释掉。
target remote localhost:2331monitor sleep 100monitor haltmonitor sleep 500#######################################SET PLL LOCKTIMEmonitor memU32 0x10044000 = 0x00000960monitor memU32 0x10040008 = 0x00000190monitor memU32 0x1003C010 = 0x00000BB8monitor memU32 0x1003C020 = 0x00000190#######################################SET APLLmonitor memU32 0x10044104 = 0x00803800monitor memU32 0x10044100 = 0x807D0300monitor sleep 100#SET MPLLmonitor memU32 0x1004010C = 0x00803800monitor memU32 0x10040108 = 0x80640300monitor sleep 100#SET EPLLmonitor memU32 0x1003C118 = 0x00000080monitor memU32 0x1003C114 = 0x66010000monitor memU32 0x1003C110 = 0x80400203monitor sleep 100#SET VPLLmonitor memU32 0x1003C128 = 0x00000080monitor memU32 0x1003C124 = 0x66010000monitor memU32 0x1003C120 = 0x80480203monitor sleep 100######################################
#SET CMU_CPU MUXmonitor memU32 0x10044200 = 0x01000001monitor sleep 100#SET CMU_DMC MUXmonitor memU32 0x10040200 = 0x00011000monitor sleep 100#SET CMU_TOP MUXmonitor memU32 0x1003C210 = 0x00000110monitor sleep 100monitor memU32 0x1003C214 = 0x00011000monitor sleep 100#SET CMU_LEFTBUS MUXmonitor memU32 0x10034200 = 0x00000010monitor sleep 100#SET CMU_RIGHTBUS MUXmonitor memU32 0x10038200 = 0x00000010monitor sleep 100#######################################SET LEFTBUS DIVmonitor memU32 0x10034500 = 0x00000013#SET RIGHTBUS DIVmonitor memU32 0x10038500 = 0x00000013#SET CLK_DIV_DMC0/1monitor memU32 0x10040500 = 0x00111113monitor memU32 0x10040504 = 0x01011113#SET CLK_DIV_CPU0/1monitor memU32 0x10044500 = 0x01143730monitor memU32 0x10044504 = 0x00000004#SET CMU_TOP DIVmonitor memU32 0x1003C510 = 0x01205473######################################loadbreak _start感谢:迅为cym本文永久更新链接地址:http://www.linuxidc.com/Linux/2016-03/129584.htm