Difference between revisions of "iMX6 Rex USB Booting"

From Voipac Wiki
Jump to navigation Jump to search
(Created page with "Category:iMX6 Rex Development kit Category:iMX6 Rex Recovery <!-- --> These steps guides through loading a bootloader via USB OTG interface. This can be useful during...")
 
Line 16: Line 16:
  
 
== Procedure ==
 
== Procedure ==
Resolder resistors R0 on position R63 to R62 and R67 to R65 on the base board (Near battery holder J32):
+
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:
+
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 />
 
Execute Manufacturing toolkit at host PC. Open an appropriate BAT file:
 
 
 
Connect USB cable to USB port on your computer and Development Kit USB OTG port.<br /><br />
 
 
Short BOOT_MODE jumper on iMX6 TinyRex Base Board and power on the board:<br />
 
[[image:iMX6_TinyRex_Development_kit-Boot_mode_USB.jpg|300px]]<br /><br />
 
  
 
Open an appropriate BAT file:<br />
 
Open an appropriate BAT file:<br />
[[image:iMX6_TinyRex_Development_kit-Boot-file-selection.jpg|600px]]<br /><br />
+
[[image:iMX6_Rex_Development_kit-Boot-file-selection.jpg|300px]]<br /><br />
  
 
Execute Manufacturing toolkit at host PC:<br />
 
Execute Manufacturing toolkit at host PC:<br />
[[image:iMX6_TinyRex_Development_kit-MfgTool_start.jpg|600px]]<br /><br />
+
[[image:iMX6_Rex_Development_kit-MfgTool_start.jpg|600px]]<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_TinyRex_Development_kit-MfgTool_progress.jpg|400px]]<br /><br />
+
[[image:iMX6_Rex_Development_kit-MfgTool_progress.jpg|400px]]<br /><br />
  
 
Wait until firmware transfer is finished:<br />
 
Wait until firmware transfer is finished:<br />
[[image:iMX6_TinyRex_Development_kit-MfgTool_finished.jpg|400px]]<br /><br />
+
[[image:iMX6_Rex_Development_kit-MfgTool_finished.jpg|400px]]<br /><br />
  
 
The board boots using the firmware loaded over USB:<br />
 
The board boots using the firmware loaded over USB:<br />
[[image:iMX6_TinyRex_Development_kit-Serial_output.jpg|600px]]
+
[[image:iMX6_Rex_Development_kit-Serial_output.jpg|600px]]

Revision as of 01:09, 20 March 2021


These steps guides 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):
450px

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:
300px

Open an appropriate BAT file:
300px

Execute Manufacturing toolkit at host PC:
600px

Press Start button (CPU will boot firmware loaded over USB):
400px

Wait until firmware transfer is finished:
400px

The board boots using the firmware loaded over USB:
600px