Free Essay

Jtag Testing Guide for Imx6 Processor

In:

Submitted By BIPINBHATT
Words 293
Pages 2
Lauterbach Guide

1. Installation of Trac32 software and update.

a. Install Trace32 software. It will install C:\Trace32\

b. Untare _icdcortex_win.zip.

c. Copy _icdcortex_win\ to C:\Trace32\ without ” bin” folder.

d. Copy _icdcortex_win\bin\windows\t32marm.exe C:\Trace32\.

e. Copy _icdcortex_win\bin\windows\t32start.exe C:\Trace32\.

f. Now trace32 is updated.

g. Please configure licenance for your tool.

h. Start Trace32 software from Start(Trace32ICD ARM. Check it must showing IMX6Solo in CPU ( System Configuration in Trace32.

i. [pic]

2. Run Trac32 with IMX6SOLO.

a. Connect Lauterbach to your board and don’t give power to board.

b. Connect Lauterbach Debug interface to you PC and give power to it. Wait till it install USB driver for Lauterbach Interface.

c. [pic]

d. Start Trace32 software from Start-(Trace32ICD ARM.

e. [pic]

f. Give Power supply to board It wil show System Down.

g. [pic]

h. Now go to CPU(System Settings and configure it as below snap.

i. [pic]

j. Now select Attach.

k. [pic]

l. It will show “Running”.

m. Now select File( RunBatchFile and Give your IMX6Q.cmm file.

n. It has configured your CPU clock.

o. Now you can check IRAM data with Data dump.

3. Configuration of IMX6Q.cmm file is below.

; Start-up script for the Freescale i.MX6Q board

; PEG, 23-02-2011

; Memory MAP:

; 0x00000000-0x0001FFFF On-Chip SRAM

; 0x40000000-0x7FFFFFFF External Memory

; 0xC0000000-0xFFFFFFFF On-Chip ROM

WCLEAR

SYStem.RESet

SYStem.CPU IMX6Solo

SYStem.Option ResBreak OFF

SYStem.Option WaitReset 100ms

SYStem.Up

GOSUB InitClock_1

ENDDO

InitClock_1:

Data.Set 0x020C4068 %Long 0x00C0003F

Data.Set 0x020C406C %Long 0x0030FC00

Data.Set 0x020C4070 %Long 0x0FFFC000

Data.Set 0x020C4074 %Long 0x3FF00000

Data.Set 0x020C4078 %Long 0x00FFF300

Data.Set 0x020C407C %Long 0x0F0000C3

Data.Set 0x020C4080 %Long 0x000003FC

RETURN

Similar Documents