




免费预览已结束,剩余16页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
lauterbach trace32 setup guide,zhao xiaoliang & yang fengkai for p1a&p1b,2/5/2019,confidential,2,contents,setup preparation trace32 startup tips,setup preparation,lauterbach software installation install lauterbach software from tddlte09-tools lauterbachsoftware follow the following steps to install the lauterbach software,2/5/2019,confidential,3,setup preparation,patch copy and replace three patches of the following folder to the c:t32 directory tddlte09-toolslauterbachpatch20090921 drivers if usb driver is not available when plugging usb, choose driver from the following folder tddlte09-toolslauterbachsoftwarebin windowsdrivers or manually copy t32usb.sys to c:windowssystem32drivers,2/5/2019,confidential,4,setup preparation,license and configuration copy the license file(license.t32) and the configuration file (config.t32) from the following path to “ c:t32“ tddlte09-toolslauterbach open the configuration file (config.t32), and change “tmp=c:docume1dp037locals1temp” to “tmp=c:docume1locals1temp”,2/5/2019,confidential,5,setup preparation,scripts copy the scripts from the following folder to “c:t32script“ tddlte09-toolslauterbachscript for p1a find t32_usb.ts2 from the following folder with an editor c:t32scriptp1a_scriptsu7xxpcsally make a shortcut of t32_usb.ts2 to you desktop, and change the name of shortcut to “pc-sally t32_usb.ts2” for p1b find t32_usb.ts2 from the following folder with an editor c:t32scriptp1a_scriptsu7xxsally make a shortcut of t32_usb.ts2 to you desktop, and change the name of shortcut to “sally t32_usb.ts2”,2/5/2019,confidential,6,setup preparation,source files collection source files for phy sw you can find the source files in “c:sdecccrh1090667_lte_phycrh1090667_main_lte_phy_lm_debugrvctsrc” or “c:sdecccrh1090667_lte_phycrh1090667_main_lte_phy_lmrvctsrc” source files for mcore for p1a b700 the source files for mcore can be found in tddlte04-physw05-versions04_p1a_versions02_p1a_r1a056crh1090667crh1090667_p1a014execrh1090672_mcore_pc_cardrvct-nandsrc for p1b b700 the source files for mcore can be found in tddlte04-physw05-versions08_p1b_versions02_p1b_r2c013crh1090667crh1090667_p1b004execrh1090672_mcore_pc_cardrvct-nandsrc for p1b p700 the source files for mcore can be found in tddlte04-physw05-versions08_p1b_versions02_p1b_r2c013crh1090667crh1090667_p1b004execrh1090672_mcore_pc_card_p700rvct-nandsrc,2/5/2019,confidential,7,setup preparation,load file unified mcore elf file is used for p1a b700 you can find the crh1090672_mcore_pc_card_debug.elf for p1a version in “tddlte04-physw05-versions04_p1a_versions02_p1a_r1a056crh1090667crh1090667_p1a014execrh1090672_mcore_pc_cardrvct-nandexecrh1090672_mcore_pc_card_debug.elf “and it will be released with p1a version release. for p1a b700 you can find the crh1090672_mcore_pc_card_debug.elf for p1b version in “tddlte04-physw05-versions08_p1b_versions02_p1b_r2c013crh1090667crh1090667_p1b004execrh1090672_mcore_pc_cardrvct-nandexecrh1090672_mcore_pc_card_debug.elf “ and it will be released with p1b version release. for p1a p700 you can find the crh1090672_mcore_pc_card_debug.elf for p1b version in “tddlte04-physw05-versions08_p1b_versions02_p1b_r2c013crh1090667crh1090667_p1b004execrh1090672_mcore_pc_card_p700rvct-nandexecrh1090672_mcore_pc_card_debug.elf “ and it will be released with p1b version release.,2/5/2019,confidential,8,setup preparation,user cmm file after start t32, you should here you can load a private cmm file which may contain other loadmodule elf files and their source path or add some breakpoints be sure that the loadmodule which will be loaded is a debug version for p1a you can find the example file(loadlte.cmm) in tddlte09-toolslauterbach put loadlte.cmm into c:t32 for p1b you can find the example file(loadlte_sally.cmm) in tddlte09-toolslauterbach put loadlte_sally.cmm into c:t32,2/5/2019,confidential,9,setup preparation,hardware set a jumper to on/off(b),2/5/2019,confidential,10,trace32 startup,powering order connect the lauterbach while the b700/p700 board powered off to the jtag/etm connector switch on the lauterbach switch on the b700/p700 board switch off is in the other order,2/5/2019,confidential,11,trace32 startup,step 1: press the debug halt button and hold until step 5 finished this step is necessary to stop boot-rom code running in a normal way,2/5/2019,confidential,12,trace32 startup,step 2: power on the b700/p700 board step 3: double click the sally t32_usb.ts2 or pc-sally t32_usb.ts2 shortcut on the desktop for p1b or p1a, the following dialog will popup, press start button on the right side.,2/5/2019,confidential,13,trace32 startup,three windows will appear for different cpus,2/5/2019,confidential,14,trace32 startup,for dat cpu dialog, there are five buttons with different colors: green button : used for setup yellow button : used for loading the software itself red button : used for resetting (currently this button does not work) purple button : used for synchronization of the 3 cores in case of a breakpoint teal button : used for etm setup - which side to be traced for the dialog of lte cpu and acc cpu, only first three button above exists.,2/5/2019,confidential,15,trace32 startup,step 4: set the “target setup dialog” this dialog can be called by pressing the green button pc sally flash setup flashed by pa in advance use the following setting data cpu: nand /nocode /vm /strippart 0 access cpu: nand - /nocode / vm /strippart 0 lte cpu: nand - /nocode / vm /strippart 0 kernel/ main load file load the crh1090672 debug elf files as follows: all three cpu: crh1090672_mcore_pc_card_debug.elf source path: choose the directory src for mcore as page 6 said use custom cmm file choose a cmm file only in dat cpu, and the path is “c:t32loadlte.cmm” for p1a or “c:t32loadlte_sally.cmm” for p1b. leave other options as their defaults,2/5/2019,confidential,16,trace32 startup,step 5: press the yellow load button in dat window to load the elf files. after all loaded, the state of dat window is “system ready” and the state of lte and acc window is “running”,2/5/2019,confidential,17,trace32 startup,step 6: set breakpoint for example, if we want to debug lte cpu precondition: crh1090667_main_lte_phy_lm_debug.elf is loaded by cmm file and source path is spicified method i: menu: break-set to set a breakpoint note: you could not see the code because the state is running, but the debug unit is available method ii: step 7 after usb cable connected (debug
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025辽宁辽河石油职业技术学院校园招聘教职员20人考前自测高频考点模拟试题及答案详解(典优)
- 2025广东广州市白云区人民武装部招聘民兵专职教练员1人考试参考试题及答案解析
- 2025辽宁阜新能源控股集团所属阜矿集团招聘90人考前自测高频考点模拟试题及答案详解(名校卷)
- 2025年浙江杭州市萧山区第三人民医院招聘编外人员1人考前自测高频考点模拟试题及答案详解(名校卷)
- 2025贵州第十三届贵州人才博览会黔东南州事业单位人才引进213人考前自测高频考点模拟试题及参考答案详解一套
- 2025广西玉林容县自然资源局公开招聘劳务派遣人员8人考试模拟试题及答案解析
- 2025贵州岑巩县医共体总医院招聘乡村医生模拟试卷及答案详解(名校卷)
- 2025湖南邵阳市洞口县黄桥镇中心卫生院面向社会公开招聘编外合同制影像(医师)技师模拟试卷及完整答案详解
- 2025年西安建筑科技大学医院招聘模拟试卷及答案详解(名校卷)
- 2025江西格润新材料有限公司招聘会计主管岗位考前自测高频考点模拟试题及参考答案详解1套
- 2025年贵州省贵阳市警(协警)招聘考试题库及答案
- 2025-2030中国啤酒企业海外并购案例及跨文化整合经验总结
- 2025成人高考政治真题及答案
- 2.2运动与相互作用(第2课时二力平衡)学案-八年级科学浙教版上册
- 2025年纪检监察业务知识试题库及参考答案
- 国开2025年《行政领导学》形考作业1-4答案
- 盆底(肌)康复理论及技术规范考核考核试题及答案
- 2025年甘肃省辅警考试真题及答案
- 2024-2025年广东省广州市番禺中学附属学校八年级上学期数学期中考试卷(含答案)
- (2025秋新版)人教版二年级数学上册全册教案(教学设计)
- 百万医疗险基础知识培训课件
评论
0/150
提交评论