Difference between revisions of "i.MX53 SODIMM PC Loading bootloader"
Line 21: | Line 21: | ||
[[image:i.MX53_SODIMM_PC-Development_Kit-OpenOCD_running.jpg|600px]]<br /> | [[image:i.MX53_SODIMM_PC-Development_Kit-OpenOCD_running.jpg|600px]]<br /> | ||
+ | == Connecting to Open On-Chip Debugger session == | ||
+ | === Using Windows Telnet Client === | ||
+ | Click on Start/Run (or press Windows key + R), and open the Telnet session using 4444 port: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
+ | telnet localhost 4444 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | Telnet session is active and ready for use:<br /> | ||
+ | [[image:i.MX25_SODIMM_Base_Board-Telnet_ready.jpg|600px]]<br /> | ||
+ | |||
+ | === Using terminal emulator === | ||
+ | To open Telnet service using TeraTerm program, click on File/New Connection, check TCP/IP and type 4444 into TCP port# field. IP adrress to connect to is localhost (127.0.0.1):<br /> | ||
+ | [[image:i.MX25_SODIMM_Base_Board-Telnet_session.jpg|600px]]<br /><br /> | ||
+ | |||
+ | TeraTerm session is active and ready for use:<br /> | ||
+ | [[image:i.MX25_SODIMM_Base_Board-Telnet_ready_TeraTerm.jpg|600px]]<br /> | ||
+ | |||
+ | == Establishing serial connection == | ||
+ | Open TeraTerm program, click on File/New Connection, check Serial and choose the port which was assigned to the JTAG device:<br /> | ||
+ | [[image:i.MX25_SODIMM_Base_Board-Serial_connection.jpg|600px]]<br /><br /> | ||
+ | |||
+ | A successful connection is established only if the following settings are applied (115200, 8n1):<br /> | ||
+ | [[image:i.MX25_SODIMM_Base_Board-Serial_console_settings.jpg|600px]]<br /><br /> | ||
+ | |||
+ | == Loading bootloader == | ||
+ | In order to disable the default direct boot, H902 jumper (BOOTMODE) must be placed between pins 1 and 2. This enables the '''serial boot''' and loading files over Telnet service.<br /><br /> | ||
+ | |||
+ | '''Direct Boot''' (Boot from E-Fuses) is selected again when BOOTMODE jumper pins 2 and 3 are shortened. | ||
+ | |||
+ | {|style="text-align:center;" | ||
+ | | style="width: 50%;" |Serial Boot | ||
+ | | style="width: 50%;" |Direct Boot (Boot from E-Fuses) | ||
+ | |- | ||
+ | |<br />[[image:i.MX25_SODIMM_Base_Board-Serial_boot.jpg|396px]] | ||
+ | |<br />[[image:i.MX25_SODIMM_Base_Board-Serial_boot.jpg|396px]] | ||
+ | |} | ||
+ | |||
+ | {|style="text-align:center;" | ||
+ | | style="width: 47%;" |Vertical polarization | ||
+ | | style="width: 6%;" |<br /> | ||
+ | | style="width: 47%;" |Horizontal polarization | ||
+ | |- | ||
+ | |<br />[[image:iMX6_Rex_Development_kit-EMC_results-Linux_only_vertical.jpg|396px]] | ||
+ | |<br /> | ||
+ | |<br />[[image:iMX6_Rex_Development_kit-EMC_results-Linux_only_horizontal.jpg|396px]] | ||
+ | |} | ||
+ | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> |
Revision as of 09:52, 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
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
Debugging session is opened and running:
600px
Connecting to Open On-Chip Debugger session
Using Windows Telnet Client
Click on Start/Run (or press Windows key + R), and open the Telnet session using 4444 port:
telnet localhost 4444
Telnet session is active and ready for use:
600px
Using terminal emulator
To open Telnet service using TeraTerm program, click on File/New Connection, check TCP/IP and type 4444 into TCP port# field. IP adrress to connect to is localhost (127.0.0.1):
600px
TeraTerm session is active and ready for use:
600px
Establishing serial connection
Open TeraTerm program, click on File/New Connection, check Serial and choose the port which was assigned to the JTAG device:
600px
A successful connection is established only if the following settings are applied (115200, 8n1):
600px
Loading bootloader
In order to disable the default direct boot, H902 jumper (BOOTMODE) must be placed between pins 1 and 2. This enables the serial boot and loading files over Telnet service.
Direct Boot (Boot from E-Fuses) is selected again when BOOTMODE jumper pins 2 and 3 are shortened.
Serial Boot | Direct Boot (Boot from E-Fuses) |
Vertical polarization | Horizontal polarization | |
396px |
396px |