i.MX6UL supported JTAG Debugger

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

i.MX6UL supported JTAG Debugger

4,797 Views
dhvanil_patel1
Senior Contributor I

Hi All,

I am using iMX6UL board in our one of the project and we are using NAND interface to bootup the board with linux os. For this we have to write  u-boot, kernel and fs into NAND data partition and we can write these data via JTAG debugger. ( We have already tried to flash data on NAND via USB serial bootloader , but it is not working. The device is not able to boot from NAND on power cycle)

Can you please provide the list of support JTAG debugger (with part number and supported software links) for i.MX6UL?

-

Dhvanil Patel

Labels (4)
10 Replies

3,395 Views
JadakMike
Contributor I

Ditto for IMX6UL_DDR3L_1GB_16bit_default.ds

Where does this file live?

0 Kudos
Reply

3,395 Views
Yuri
NXP Employee
NXP Employee

Hello,

   Please create request to get the Aid tool, producing memory

initialization scripts in .ds format.

How to submit a new question for NXP Support | NXP Community  

Also You may use attachments in the following Community document

How-To use NAND boot on i.MX6UL EVK board 

It contains initialization script in similar .inc format. 

https://community.nxp.com/servlet/JiveServlet/download/236994-2-368233/MX6UL_MMDC_DDR3_register_prog... 

Regards,

Yuri.

0 Kudos
Reply

3,395 Views
jimmyhsu1126
Contributor I

Hi,

I also want to have these two files for debug by JTAG.

Do someone can help?

1. IMX6UL_DDR3L_1GB_16bit_default.ds    [ddr initialization to debug a bare-metal app]

2. 0001-For-DS-5-debug-and-uart-console-work-normally.patch   [kernel patch]

3,395 Views
adeelarshad
Contributor III

Hi,

This app_note AN5229.pdf, specifies two files that I am unable to find out yet,

1. IMX6UL_DDR3L_1GB_16bit_default.ds    [ddr initialization to debug a bare-metal app]

2. 0001-For-DS-5-debug-and-uart-console-work-normally.patch   [kernel patch]

From where are we supposed to get these files ?

3,395 Views
winy2014
Contributor II

We also have a i.MX6UL development board, and it is with 8G eMMC but not Nand Flash.

JTAG is supported by the CPU, but it's not pinned out to base board.

imx6ul.jpg

I think you can refer to the CPU chipset manual.

0 Kudos
Reply

3,395 Views
dhvanil_patel1
Senior Contributor I

Hi Igor,

Thanks for update.

Is there any documentation available to use NAND flash and write image on nand flash on EVK board via JTAG (DStream or Lauterbach ) ?

As per my knowledge, i.MX6UL support both DStream or Lauterbach JTAG debugger ?

-

Dhvanil Patel

0 Kudos
Reply

3,397 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dhvanil

regarding documentation for jtag usage only AN5229

is available and recommendations in Hardware Development Guide

for the i.MX 6UltraLite Applications Processor

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

I am not aware of usage jtag for nand programming.

Programming nand boot image is performed by kobs-ng tool in linux,

you can look at its sources and try to implement its algorithm in jtag script.

Index of /buildsources/i/imx-kobs

Best regards

igor

0 Kudos
Reply

3,397 Views
dhvanil_patel1
Senior Contributor I

Hi Igor,

Thanks for updates.

Can you please provide well defined documentation to load u-boot, kernel and fs to NAND flash via JTAG ? Is there any vbs script available ?

-

Dhvanil Patel

0 Kudos
Reply

3,397 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dhvanil

unforutnately this is not supported

Best regards

igor

0 Kudos
Reply

3,397 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dhvanil

some tools are described in AN5229

ARMDS-5 Development Studio Debug i.MX6UL -EVK

http://cache.nxp.com/files/32bit/doc/app_note/AN5229.pdf

In general any jtag debugger supporting Cortex-A7 will suit.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply