Lauterbach Trace32 Setup Guide_第1頁
Lauterbach Trace32 Setup Guide_第2頁
Lauterbach Trace32 Setup Guide_第3頁
Lauterbach Trace32 Setup Guide_第4頁
Lauterbach Trace32 Setup Guide_第5頁
已閱讀5頁,還剩16頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

1、lauterbach trace32 setup guide zhao xiaoliang & yang fengkaizhao xiaoliang & yang fengkai for p1a&p1bfor p1a&p1b 5/8/2021 confidential2 contents setup preparation trace32 startup tips setup preparation lauterbach software installation install lauterbach software from tddlte09-tools lauterbachsoftwar

2、e follow the following steps to install the lauterbach software 5/8/2021 confidential3 stepinstallation optionrequired option 1destination folderc:t32 2setup typenew installation 3product typeicd 4icd interface typeusb interface 5selection of license keylicense not necessary, reason: valid license i

3、s stored in the dongle 6cpu selectionicd arm7 arm9 arm10 arm11 7screen configuration font typenormal size font 8screen language configurationstandard language 9screen configuration window interfacemultiple document interface (mdi) 10trace32 integrationno integration 11registrationregistrate later se

4、tup 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 c

5、opy t32usb.sys to c:windowssystem32drivers 5/8/2021 confidential4 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

6、=c:docume1dp037locals1temp” to “tmp=c:docume1locals1temp” 5/8/2021 confidential5 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

7、 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”

8、 5/8/2021 confidential6 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

9、 files for mcore can be found in tddlte04-physw05- versions04_p1a_versions02_p1a_r1a056crh1090667crh1090667_p1a014execrh1090 672_mcore_pc_cardrvct-nandsrc for p1b b700 the source files for mcore can be found in tddlte04-physw05- versions08_p1b_versions02_p1b_r2c013crh1090667crh1090667_p1b004execrh10

10、906 72_mcore_pc_cardrvct-nandsrc for p1b p700 the source files for mcore can be found in tddlte04-physw05- versions08_p1b_versions02_p1b_r2c013crh1090667crh1090667_p1b004execrh10906 72_mcore_pc_card_p700rvct-nandsrc 5/8/2021 confidential7 setup preparation load file unified mcore elf file is used fo

11、r p1a b700 you can find the crh1090672_mcore_pc_card_debug.elf for p1a version in “tddlte04-physw05- versions04_p1a_versions02_p1a_r1a056crh1090667crh1090667_p1a014execrh10 90672_mcore_pc_cardrvct-nandexecrh1090672_mcore_pc_card_debug.elf “and it will be released with p1a version release. for p1a b7

12、00 you can find the crh1090672_mcore_pc_card_debug.elf for p1b version in “tddlte04-physw05- versions08_p1b_versions02_p1b_r2c013crh1090667crh1090667_p1b004execrh10 90672_mcore_pc_cardrvct-nandexecrh1090672_mcore_pc_card_debug.elf “ and it will be released with p1b version release. for p1a p700 you

13、can find the crh1090672_mcore_pc_card_debug.elf for p1b version in “tddlte04-physw05- versions08_p1b_versions02_p1b_r2c013crh1090667crh1090667_p1b004execrh10 90672_mcore_pc_card_p700rvct-nandexecrh1090672_mcore_pc_card_debug.elf “ and it will be released with p1b version release. 5/8/2021 confidenti

14、al8 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(lo

15、adlte.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 5/8/2021 confidential9 setup preparation hardware set a jumper to on/off(b) 5/8/2021 confidential10 trace32 startu

16、p 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 5/8/2021 confidential11 trace32 startup step 1: press the debug halt button and hold until step 5 finished t

17、his step is necessary to stop boot-rom code running in a normal way 5/8/2021 confidential12 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 but

18、ton on the right side. 5/8/2021 confidential13 trace32 startup three windows will appear for different cpus 5/8/2021 confidential14 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

19、 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. 5/8/2021 confiden

20、tial15 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 / v

21、m /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

22、“c:t32loadlte_sally.cmm” for p1b. leave other options as their defaults 5/8/2021 confidential16 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” 5/8/2

23、021 confidential17 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 aft

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論