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

From Voipac Wiki
Jump to navigation Jump to search
Line 16: Line 16:
 
openocd -f vmx53w.cfg
 
openocd -f vmx53w.cfg
 
</syntaxhighlight>
 
</syntaxhighlight>
[[image:i.MX25_SODIMM_Base_Board-JTAG_debugging.jpg|600px]]
+
[[image:i.MX25_SODIMM_Base_Board-JTAG_debugging.jpg|600px]]<br />
  
Running On-Chip Debugging session:
+
Debugging session is opened and running:
 +
[[image:i.MX53_SODIMM_PC-Development_Kit-OpenOCD_running.jpg|600px]]<br />
 +
 
 +
<syntaxhighlight lang="bash">
 +
</syntaxhighlight>
 +
 
 +
<syntaxhighlight lang="bash">
 +
</syntaxhighlight>
  
== Download ==
 
=== Download CFG files ===
 
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
wget http://downloads.voipac.com/files/iMX6_Rex_Development_kit/tools/jtag/imx6q-2gb-oocd-0.8.0.cfg
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
=== Download BIN files ===
 
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
wget http://downloads.voipac.com/files/iMX6_Rex_Development_kit/tools/jtag/binaries/u-boot-0x27800000_imx6q_20160410.bin
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== Running OpenOCD ==
 
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
/opt/openocd/bin/openocd -f imx6q-2gb-oocd-0.8.0.cfg
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== Loading bootloader ==
 
Enabling Telnet session on the development kit:
 
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
telnet localhost 4444
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Running Telnet session:
 
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
reset halt
 
load_image /srv/tftp/imx6/u-boot-0x27800000_imx6q_20160410.bin 0x27800000
 
step 0x27800000
 
resume
 
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 09:12, 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

Debugging session is opened and running: 600px