Difference between revisions of "iMX6 Rex USB Booting"

From Voipac Wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
== Procedure ==
 
== Procedure ==
 
Resolder resistors R0 on position R63 to R62 and R67 to R65 on the base board (Near battery holder J32):<br />
 
Resolder resistors R0 on position R63 to R62 and R67 to R65 on the base board (Near battery holder J32):<br />
[[image:iMX6_Rex_Development_kit-USB_OTG_selection.jpg|450px]]<br /><br />
+
[[image:iMX6_Rex_Development_Kit-USB_OTG_selection.jpg|450px]]<br /><br />
  
 
Short BOOT_MODE jumper JP2 on iMX6 Rex Base Board. Connect PC and USB OTG port with a USB cable and power on the base board:<br />
 
Short BOOT_MODE jumper JP2 on iMX6 Rex Base Board. Connect PC and USB OTG port with a USB cable and power on the base board:<br />
[[image:iMX6_Rex_Development_kit-USB_OTG_jumper.jpg|300px]]<br /><br />
+
[[image:iMX6_Rex_Development_Kit-USB_OTG_jumper.jpg|300px]]<br /><br />
  
 
Open an appropriate BAT file:<br />
 
Open an appropriate BAT file:<br />
[[image:iMX6_Rex_Development_kit-Boot-file-selection.png|580px]]<br /><br />
+
[[image:iMX6_Rex_Development_Kit-Boot_file_selection.png|580px]]<br /><br />
  
 
Execute Manufacturing toolkit at host PC:<br />
 
Execute Manufacturing toolkit at host PC:<br />
[[image:iMX6_Rex_Development_kit-MfgTool_start.png|580px]]<br /><br />
+
[[image:iMX6_Rex_Development_Kit-MfgTool_start.png|580px]]<br /><br />
  
 
Press Start button (CPU will boot firmware loaded over USB):<br />
 
Press Start button (CPU will boot firmware loaded over USB):<br />
[[image:iMX6_Rex_Development_kit-MfgTool_progress.png|430px]]<br /><br />
+
[[image:iMX6_Rex_Development_Kit-MfgTool_progress.png|430px]]<br /><br />
  
 
Wait until firmware transfer is finished:<br />
 
Wait until firmware transfer is finished:<br />
[[image:iMX6_Rex_Development_kit-MfgTool_finished.png|430px]]<br /><br />
+
[[image:iMX6_Rex_Development_Kit-MfgTool_finished.png|430px]]<br /><br />
  
 
The board boots using the firmware loaded over USB:<br />
 
The board boots using the firmware loaded over USB:<br />
[[image:iMX6_Rex_Development_kit-Serial_output.png|580px]]
+
[[image:iMX6_Rex_Development_Kit-Serial_output.png|580px]]

Revision as of 22:21, 26 October 2021


These steps guide through loading a bootloader via USB OTG interface. This can be useful during recovery or bootloader update.

Recommended HW:

  • PC with USB port
  • Voipac iMX6 Rex Development Kit
  • USB to Micro-USB cable
  • Soldering station

Recommended SW:

  • MfgTool feature
  • Serial line terminal

Procedure

Resolder resistors R0 on position R63 to R62 and R67 to R65 on the base board (Near battery holder J32):
iMX6 Rex Development Kit-USB OTG selection.jpg

Short BOOT_MODE jumper JP2 on iMX6 Rex Base Board. Connect PC and USB OTG port with a USB cable and power on the base board:
iMX6 Rex Development Kit-USB OTG jumper.jpg

Open an appropriate BAT file:
iMX6 Rex Development Kit-Boot file selection.png

Execute Manufacturing toolkit at host PC:
iMX6 Rex Development Kit-MfgTool start.png

Press Start button (CPU will boot firmware loaded over USB):
iMX6 Rex Development Kit-MfgTool progress.png

Wait until firmware transfer is finished:
iMX6 Rex Development Kit-MfgTool finished.png

The board boots using the firmware loaded over USB:
iMX6 Rex Development Kit-Serial output.png