Difference between revisions of "i.MX53 SODIMM PC Loading bootloader"

From Voipac Wiki
Jump to navigation Jump to search
m (Voipac moved page i.MX53 SODIMM PC JTAG On-Chip Debugging to i.MX53 SODIMM PC Loading bootloader without leaving a redirect)
Line 3: Line 3:
 
<!-- -->
 
<!-- -->
 
<div style="float:right">__TOC__</div>
 
<div style="float:right">__TOC__</div>
This page shown the basic setup and instructions how to initiate On-Chip Debugging on i.MX53 SODIMM PC - Development kit.
+
This page shown the steps how to initiate On-Chip Debugging and load bootloader into i.MX53 SODIMM PC - Development kit.
[[image:iMX6_Rex_Development_kit-JTAG.jpg|400px]]
 
  
== Windows ==
+
== JTAG Debugger and Programmer Installation ==
 
 
=== JTAG Cable Installation ===
 
 
* Connect JTAG Cable to USB port on the computer. JTAG device should be automatically recognized and prepared for usage.
 
* Connect JTAG Cable to USB port on the computer. JTAG device should be automatically recognized and prepared for usage.
 
* Download [http://downloads.voipac.com/files/i.MX53_SODIMM_PC-Development_kit/tools/jtag/binaries/openocd-0.6.0-vmx0.zip OpenOCD v0.6.0 software]
 
* Download [http://downloads.voipac.com/files/i.MX53_SODIMM_PC-Development_kit/tools/jtag/binaries/openocd-0.6.0-vmx0.zip OpenOCD v0.6.0 software]
 
* Unzip the files
 
* Unzip the files
 +
[[image:iMX6_Rex_Development_kit-JTAG.jpg|400px]]
  
=== Running Open On-Chip Debugger ===
+
== Running Open On-Chip Debugger ==
 
Locate the folder where the software has been unpacked. Run OpenOCD utility in command line (by using Total Commander or Windows Command Prompt):
 
Locate the folder where the software has been unpacked. Run OpenOCD utility in command line (by using Total Commander or Windows Command Prompt):
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">

Revision as of 09:10, 3 April 2021

This page shown the steps how to initiate On-Chip Debugging and load bootloader into i.MX53 SODIMM PC - Development kit.

JTAG Debugger and Programmer Installation

  • Connect JTAG Cable to USB port on the computer. JTAG device should be automatically recognized and prepared for usage.
  • Download OpenOCD v0.6.0 software
  • Unzip the files

400px

Running Open On-Chip Debugger

Locate the folder where the software has been unpacked. Run OpenOCD utility in command line (by using Total Commander or Windows Command Prompt):

openocd -f vmx53w.cfg

600px

Running On-Chip Debugging session:

Download

Download CFG files

wget http://downloads.voipac.com/files/iMX6_Rex_Development_kit/tools/jtag/imx6q-2gb-oocd-0.8.0.cfg

Download BIN files

wget http://downloads.voipac.com/files/iMX6_Rex_Development_kit/tools/jtag/binaries/u-boot-0x27800000_imx6q_20160410.bin

Running OpenOCD

/opt/openocd/bin/openocd -f imx6q-2gb-oocd-0.8.0.cfg

Loading bootloader

Enabling Telnet session on the development kit:

telnet localhost 4444

Running Telnet session:

reset halt
load_image /srv/tftp/imx6/u-boot-0x27800000_imx6q_20160410.bin 0x27800000
step 0x27800000
resume