Difference between revisions of "Cogniteam/ROSCUBE"

From cogniteam
Jump to: navigation, search
Line 1: Line 1:
 
== System Level ROScube Pico Flashing Image ==
 
== System Level ROScube Pico Flashing Image ==
  
==1. Set ROScube Pico into recovery mode==
+
=== Set ROScube Pico into recovery mode ===
  
 
a. Connect power cable to ROScube Pico.
 
a. Connect power cable to ROScube Pico.
 
+
<gallery widths=600px heights=350px mode="packed-hover margin-right" border=none>
 
+
  File:ROS1.png|
 +
  </gallery>
  
 
b. Short '''Pin 03''' and '''Pin 04''' and '''hold short status'''.
 
b. Short '''Pin 03''' and '''Pin 04''' and '''hold short status'''.
 
+
<gallery widths=500px heights=350px mode="packed-hover margin-right" border=none>
 
+
  File:ROS2.png|
 +
  File:ROS3.png|
 +
  </gallery>
  
 
c. '''Keep Pin 03 and Pin 04 short status''' and press '''Reset''' button.
 
c. '''Keep Pin 03 and Pin 04 short status''' and press '''Reset''' button.
 
+
<gallery widths=200px heights=350px mode="packed-hover margin-right" border=none>
 
+
  File:ROS4.png|
 +
  </gallery>
  
 
d. Release '''Short pins''' and '''pull out cable'''.
 
d. Release '''Short pins''' and '''pull out cable'''.
 +
<gallery widths=200px heights=350px mode="packed-hover margin-right" border=none>
 +
  File:ROS5.png|
 +
  </gallery>
  
 +
'''Now ROScube Pico is in recovery mode.'''
  
 +
=== Connect Host PC and ROScube Pico with micro usb cable ===
 +
<gallery widths=300px heights=350px mode="packed-hover margin-right" border=none>
 +
  File:ROS6.png|
 +
  File:ROS7.png|
 +
  </gallery>
  
Now ROScube Pico is in recovery mode.
+
=== Prepare released image on Host PC ===
 
 
==2. Connect Host PC and ROScube Pico with micro usb cable==
 
 
 
==3. 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.
 
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.

Revision as of 14:04, 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.