Difference between revisions of "RK Platform Upgrage Firmware USB CAN"

From ESS-WIKI
Jump to: navigation, search
Line 4: Line 4:
 
For Upgrade firmware, A tool named <code>usb-flash</code> and a new firmware are needed.
 
For Upgrade firmware, A tool named <code>usb-flash</code> and a new firmware are needed.
  
Ask PM to get the latest firmware.
+
== New Firmware ==
 +
Ask PM for help to get the latest firmware like <code>SLCAN-FD0V0102.bin</code>.
 +
 
 +
== Tools ==
  
 
<code>usb-flash</code> is integrated by default in version 20250408 or later.  
 
<code>usb-flash</code> is integrated by default in version 20250408 or later.  
Line 16: Line 19:
  
 
And unzip <code>usb-flash</code> to <code>/usr/local/bin/</code>
 
And unzip <code>usb-flash</code> to <code>/usr/local/bin/</code>
 +
 +
== Firmware in DUT ==
 +
Check firmware version in DUT:
 +
<pre style="background:#eeeeee;border:2px solid #cccccc;padding:5px 10px;"># Command
 +
# /tools/test/adv/can/can_get_firmware_version.sh can0
 +
[  OK  ]: can0 Firmware Version : 0102
 +
</pre>
 +
 +
<div style="background:#FFF8E6;border:2px solid #cccccc;padding:5px 10px;">
 +
<span style="font-size:x-large;">'''CAUTION'''</span>
 +
 +
Firmware upgrades are only supported in V0102 or later versions
 +
 +
</div>
  
 
= '''Enter Upgrade Mode''' =
 
= '''Enter Upgrade Mode''' =

Revision as of 08:32, 8 April 2025

Prepare

For Upgrade firmware, A tool named usb-flash and a new firmware are needed.

New Firmware

Ask PM for help to get the latest firmware like SLCAN-FD0V0102.bin.

Tools

usb-flash is integrated by default in version 20250408 or later.

Check usb-flash :

# usb-flash -v
Advantech HID IAP Console v0.1

For early versions, download the tool from here : usb-flash

And unzip usb-flash to /usr/local/bin/

Firmware in DUT

Check firmware version in DUT:

# Command
# /tools/test/adv/can/can_get_firmware_version.sh can0
[   OK   ]: can0 Firmware Version : 0102

CAUTION

Firmware upgrades are only supported in V0102 or later versions

Enter Upgrade Mode

Upgrade Firmware

Check Firmware