How to configure Real View ICE and RealView debugger to work with i.MX6 SoloX

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to configure Real View ICE and RealView debugger to work with i.MX6 SoloX

How to configure Real View ICE and RealView debugger to work with i.MX6 SoloX

  “Hardware Development Guide for i.MX 6SoloX …” does not provide any recommendations
regarding configuring JTAG tools, assuming ARM DSTREAM  / DS-5 using. Nevertheless, it is
possible to apply ARM RealView tools with i.MX6 SoloX. Chapter 7 (Configuring JTAG Tools)
of  “Hardware Development Guide for i.MX 6Quad, 6Dual, 6DualLite, 6Solo Families…”
contains base considerations, that may be used for i.MX6 SoloX too.

http://cache.freescale.com/files/32bit/doc/user_guide/IMX6DQ6SDLHDG.pdf

Some addition details  are provided below.  
Both A9 core and M4 core have their own DAP, all the resources in its platform
will be accessed through its own DAP.

JTAG Chain Configuration:
− SJC, IR Length = 5, same as i.MX 6Solo;
− SDMA, IR Length = 5, same as i.MX 6Solo;
− DAP for A9, IR Length = 4, same as i.MX 6Solo;
− DAP for M4, IR Length = 4, new in i.MX 6SoloX.

pastedImage_1.png

It is needed to use the recent RVICE firmware, which may be found in ARM DS5 Community Edition.

http://ds.arm.com/ds-5-community-edition/

After installation, please run “Debug Hardware Update” option of the DS5 and select
the firmware file for “Install Firware Update” menu. In my case :

c:\Program Files\DS-5 v5.21.0\sw\debughw\firmware\ARM-RVI-4.23.0-35-base.rvi

  Finally, RealView configuration looks as below.

pastedImage_2.png

Coresight base address Cortex-A9_0 is 0x82150000.

The Cortex-A9 always boots as the primary core and is responsible for launching the Cortex-M4.

Comments

Hello Yuri,

Great document, I would like to add something to test, like an Example Code from the SDK ,  that shows how to download and debug the code.

Please refer to
MX6 SoloX bare metal startup 

Useful information how to work with the RVDS may be found in

Chapter 7 (Configuring JTAG Tools) of “Hardware Development
Guide for i.MX 6…”

http://cache.freescale.com/files/32bit/doc/user_guide/IMX6DQ6SDLHDG.pdf

No ratings
Version history
Last update:
‎07-09-2015 02:30 AM
Updated by: