Difference between revisions of "Cogniteam/ROSCUBE"

From cogniteam
Jump to: navigation, search
Line 3: Line 3:
 
=== Set ROScube Pico into recovery mode ===
 
=== Set ROScube Pico into recovery mode ===
  
a. Connect power cable to ROScube Pico.
+
<big>a. Connect power cable to ROScube Pico.</big>
 
<gallery widths=600px heights=350px mode="packed-hover margin-right" border=none>
 
<gallery widths=600px heights=350px mode="packed-hover margin-right" border=none>
 
   File:ROS1.png|
 
   File:ROS1.png|
 
   </gallery>
 
   </gallery>
  
b. Short '''Pin 03''' and '''Pin 04''' and '''hold short status'''.
+
<big>b. Short '''Pin 03''' and '''Pin 04''' and '''hold short status'''.</big>
 
<gallery widths=500px heights=350px mode="packed-hover margin-right" border=none>
 
<gallery widths=500px heights=350px mode="packed-hover margin-right" border=none>
 
   File:ROS2.png|
 
   File:ROS2.png|
Line 14: Line 14:
 
   </gallery>
 
   </gallery>
  
c. '''Keep Pin 03 and Pin 04 short status''' and press '''Reset''' button.
+
<big>c. '''Keep Pin 03 and Pin 04 short status''' and press '''Reset''' button.</big>
 
<gallery widths=200px heights=350px mode="packed-hover margin-right" border=none>
 
<gallery widths=200px heights=350px mode="packed-hover margin-right" border=none>
 
   File:ROS4.png|
 
   File:ROS4.png|
 
   </gallery>
 
   </gallery>
  
d. Release '''Short pins''' and '''pull out cable'''.
+
<big>d. Release '''Short pins''' and '''pull out cable'''.</big>
 
<gallery widths=200px heights=350px mode="packed-hover margin-right" border=none>
 
<gallery widths=200px heights=350px mode="packed-hover margin-right" border=none>
 
   File:ROS5.png|
 
   File:ROS5.png|
 
   </gallery>
 
   </gallery>
  
'''Now ROScube Pico is in recovery mode.'''
+
<big>'''Now ROScube Pico is in recovery mode.'''</big>
  
 
=== Connect Host PC and ROScube Pico with micro usb cable ===
 
=== Connect Host PC and ROScube Pico with micro usb cable ===
Line 34: Line 34:
 
=== Prepare released image on Host PC ===
 
=== Prepare released image on Host PC ===
  
Assuming image’s file name is mfi_npn2_nvidia-sample-rootfs-bionic_l4t-32-5-0-kernel-1-0-8.tar.xz. Un-archive this file first.
+
<big>Assuming image’s file name is mfi_npn2_nvidia-sample-rootfs-bionic_l4t-32-5-0-kernel-1-0-8.tar.xz. Un-archive this file first.
 
+
</big>
 
<syntaxhighlight lang="bash" line='line'>
 
<syntaxhighlight lang="bash" line='line'>
 
$> tar xvf mfi_npn2_nvidia-sample-rootfs-bionic_l4t-32-5-0-kernel-1-0-8.tar.xz
 
$> tar xvf mfi_npn2_nvidia-sample-rootfs-bionic_l4t-32-5-0-kernel-1-0-8.tar.xz
Line 44: Line 44:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Then, use BSP internal tool, nvmflash.sh to run the flashing procedure. '''Please make sure your Host PC has attached to ROScube Pico.'''
+
<big>Then, use BSP internal tool, nvmflash.sh to run the flashing procedure. '''Please make sure your Host PC has attached to ROScube Pico.'''
 +
</big>
 
<syntaxhighlight lang="bash" line='line'>
 
<syntaxhighlight lang="bash" line='line'>
 
$> cd mfi_rqp_nx
 
$> cd mfi_rqp_nx

Revision as of 14:14, 10 November 2021

System Level ROScube Pico Flashing Image

Set ROScube Pico into recovery mode

a. Connect power cable to ROScube Pico.

b. Short Pin 03 and Pin 04 and hold short status.

c. Keep Pin 03 and Pin 04 short status and press Reset button.

d. Release Short pins and pull out cable.

Now ROScube Pico is in recovery mode.

Connect Host PC and ROScube Pico with micro usb cable

Prepare released image on Host PC

Assuming image’s file name is mfi_npn2_nvidia-sample-rootfs-bionic_l4t-32-5-0-kernel-1-0-8.tar.xz. Un-archive this file first. <syntaxhighlight lang="bash" line='line'> $> tar xvf mfi_npn2_nvidia-sample-rootfs-bionic_l4t-32-5-0-kernel-1-0-8.tar.xz </syntaxhighlight>

<syntaxhighlight lang="bash" line='line'> $> cd mfi_npn2_nvidia-sample-rootfs-bionic_l4t-32-5-0-kernel-1-0-8 </syntaxhighlight>

Then, use BSP internal tool, nvmflash.sh to run the flashing procedure. Please make sure your Host PC has attached to ROScube Pico. <syntaxhighlight lang="bash" line='line'> $> cd mfi_rqp_nx </syntaxhighlight>

<syntaxhighlight lang="bash" line='line'> $> sudo ./nvmflash.sh </syntaxhighlight>

Note: You may need to input your host PC’s root password when flashing the image.

Note: The flashing procedure might take 8 ~ 10 minutes.