Omron CK3E Firmware User guide

Type
User guide
1
Technical Note
CK3E Firmware Update
Procedure Prior to 2.4.x.x
SV067-E-01
2
This document explains how to:
Successfully upgrade a user’s CK3E Device with firmware versions prior to 2.4.x.x or earlier.
Author: Jonathan Beltran
Editor: Dulce Varela
Date Updated: March 2020
Table of Contents:
1. Introduction: ........................................................................................................................ 3
2. Before Beginning:............................................................................................................... 3
3. Upgrading Procedure: ........................................................................................................ 4
4. Serial Port Session: ............................................................................................................ 8
5. Validation: ......................................................................................................................... 13
3
1. Introduction:
Upgrading is contingent for all CK3E’s currently operating with Linux Operating System versions prior to 2.4.x.x or
earlier. Users must download the most recent Linux Operating System Ver. 2.5.1.7 as of April 2019. This can be
achieved by uploading a new disk image into the CK3E. It is required to download the Ck3eUpdate.zip package
followed by extracting the contents within it. This procedure is completed with the use of a serial port console
program (Example: Putty).
Tools needed for upgrade:
- CK3E
- CK3E Power Supply
- Paper clip or material related
- Ck3eUpdate.zip package
- Serial port console program (Putty)
- Micro USB cable
- Ethernet Cable
- Motor (optional for validation)
2. Before Beginning:
Before upgrading, it is imperative to record the MAC address of the CK3E. This requires connecting the CK3E via
EtherCAT to the Power PMAC IDE. Once the CK3E is properly communicating to the IDE, prompt the following
command in the terminal window:
system ifconfig | grep HW
Example of response will show:
Eth0 Link encap:Ethernet HWaddr 00:50:c2:00:00:01
(Image 1: Command and Response)
4
Note: The response in the terminal will show “HWaddr” followed by the actual MAC address with values
XX:XX:XX:XX:XX:XX. As shown in the image above (1), it is important to record the full address, failure to
do so will lead to further issues.
3. Upgrading Procedure:
When beginning the upgrade, it is crucial to make sure that neither power nor EtherCat is applied to the device.
Next, connect a micro USB cable from desktop/laptop and connect the other end to the CK3E. To validate that there
is a proper connection; a green LED will be displayed on the CK3E that is located to the right of the USB 3.0
connection. The green LED will validate that there is power being received to the CK3E. (2)
(IMAGE 2: Led Validation)
Once there is validation of the green LED being displayed, take a paperclip and press the switch internal on the
CK3E. (3) The purpose of pressing this button is to change the USB Diag mode from serial to mass storage. To
validate the CK3E’s USB Diag mode is in mass storage, users should see the green LED display change to orange.
(4)
5
(Image 3: Diag Mode SwitchGreen LED)
(IMAGE 4: Mass Storage Orange LED)
6
Proceed to extract the contents within Ck3eUpdate.zip package. Open the program PMACDiskImage.exe that was
extracted from that file (5)
(Image 5: PPMACDiskImage.exe)
Once PPMACDiskImage.exe is opened, select the CK3E for the “Targets followed by clicking the “Restore Disk
Image” button as shown below (6):
(Image 6: Disk Imaging)
Next, use the Open Image File Dialog to navigate for the “ck3e25update.vhd” image file, from the extracted
ck3e25update files folder. (7)
(Image 7: ck3e25update.vhd file selection)
7
Lastly, click the “Restore Disk Image” button back on the Power PMAC Disk Image Utility window. (8) This will
prompt a progress bar indicating the update is in progress. (9)
(Image 8: initiating CK3E Update)
(Image 9: Update in Progress)
When imaging completes successfully, the DiskImage Utlility will issue a successful window. (10) It is imperative
that during imaging neither the CK3E nor power interference occurs. If power is lost, users will have to reissue
imaging starting from Image 6: (Disk Imaging), while also verifying that the LED is still in Mass Storage mode (4).
8
(Image 10: Successful Imaging Prompted Message)
With a successful imaging, it is now rendered safe for users to return to serial from mass storage via Diag Mode,
switching the LED from orange to green. Use the paper clip or related material to push the switch internal button
and verify the LED is green, see image 2.
4. Serial Port Session:
Begin by opening up a serial port session (Ex: Putty), assure through Device Manager that the correct COM is
being used. (11) Next, apply power to the CK3E. Users will see putty populating with firmware update, it is
advised to not disrupt the session.
(Image 11: Putty Serial Port Session)
9
Note: If the window states “DO NOT Power cycle until Kernel Update has been installed”, do not do so or the
operating system will not boot and users will need to follow the Emergency Kernel Recover Procedure. Once kernel
is updated and displays (100%), the risk of damaging the board on the CK3E is done. (12)
(Image 12: Kernel Update Successful)
There will be indication to know when the CK3E upgrade is completed and ready for users to begin using. This
validation will display “rtpmac” in the serial port console program (Putty). (13)
(Image 13: CK3E Upgrade Complete)
10
Troubleshooting: Environment Recovery:
Environment variables can sometimes fail to install. This can be caused by an older Linux kernel that is not
supporting the flash that contains the environment variables. Environmental variables help programs to know
which directory to store files in. To verify that this issue has occurred, users will be prompted with “=>in the U-Boot
process of the serial port console program (Putty). (14)
(Image 14: Upgrade Unsuccessful)
Solution:
Note: Users will need to locate the hardware’s (CK3E) MAC address in order for a successful procedure.
Copy the following lines into the serial port console program (Putty) (15):
setenv bootcmd 'usb reset;setenv bootargs root=PARTUUID=FA87AAAB-1AC6-4CBE-8BA4-A62CBD5ED70A ro
rootwait panic=8 isolcpus=1 fastboot console=ttyS0,115200 coherent_pool=1M;bootm 0x60200000 - 0x60020000'
setenv bootdelay 1
setenv ethaddr 00:50:C2:00:00:01 (INPUT YOUR DEVICES MAC ADDRESS)
saveenv
11
(Image 15: Solution in Putty)
NOTE:
IF USER DID NOT RECORD MAC ADDRESS, PLEASE CONTACT ODT SUPPORT FOR FURTHER
ASSITANCE.
ODT TECHNICAL SUPPORT: 818 717-5656
If Kernel failed to install, this may be due to one of two things:
1. Issue with the old version of Linux Kernel
2. User has powered off the CK3E before loading is complete.
12
Below will display the occurrence of powering off the CK3E before upgrade is completed (16):
(Image 16: Powering off message)
If this procedure was successful, the following solutions are not necessary. If an error occurred, please follow
towards solution.
Solution: (Manual Kernel Recovery)
The solution proceeding further is to manually recover kernel using a FAT32 formatted USB memory stick (NTFS
formatted USB stick will not work).
Preparation before proceeding:
1. Acquire the FAT32 memory stick and place two files on to the USB stick.
A. s1021atwr-ck3e.dtb
B. uImage.arm.4.1.18
2. Once files are loaded into the USB stick, plug the USB into the CK3E.
3. Connect a micro USB cable from your PC to the CK3E (a green LED will display showing that the
procedure was done correctly and that communication from the CK3E and serial port are engaged).
4. Open a serial port terminal such as Putty or ZOC.
5. Set baudrate for communication between serial port and CK3E to 115200 (image 17, DO NOT
enable).
13
(Image 17: Putty COM Setup)
5. Validation:
With a successful CK3E update, there are two options in which users may take in order to validate that the device
is ready for use. Regarding Putty, users with login credentials into their device may login and command the
following commands:
- Gpascii
- Vers
The commands will issue a response from Putty with the current Linux Operating System of their CK3E. (18)
Likewise, users have the option of using the PMAC IDE as well to issue the following commands in the terminal:
- Vers
- Ecat Reset
The same response will occur from the terminal and users will be able to read the current version as well as the
current registered software licenses. (19) These results are all contingent on users following the appropriate steps
and or troubleshooting for a successful Linux Operating System update.
14
(Image 18: Putty Validation)
(Image 19: Terminal Validation)
5. Conclusion:
Within the Ck3eUpdate.zip there is further information regarding the benefits in which Linux Operating System
upgrade provides for users and the updates that may further progress applications and maximize the CK3E
usages.
OMRON CANADA, INC. • HEAD OFFICE
Toronto, ON, Canada • 416.286.6465 • 866.986.6766 • automation.omron.com
OMRON ELECTRONICS DE MEXICO • HEAD OFFICE
Ciudad de México • 52.55.5901.4300
• 01.800.386.6766 • [email protected]
OMRON ELECTRONICS DE MEXICO • SALES OFFICE
San Pedro Garza García, N.L. • 81.12.53.7392 • 01.800.386.6766 • [email protected]om
OMRON ELECTRONICS DE MEXICO • SALES OFFICE
Eugenio Garza Sada,León, Gto • 01.800.386.6766 • [email protected]
OMRON ELETRÔNICA DO BRASIL LTDA • HEAD OFFICE
São Paulo, SP, Brasil • 55 11 5171-8920 • automation.omron.com
OMRON ARGENTINA • SALES OFFICE
Buenos Aires, Argentina
• +54.11.4521.8630
• +54.11.4523.8483
OTHER OMRON LATIN AMERICA SALES
+54.11.4521.8630 • +54.11.4523.8483 • [email protected]
Authorized Distributor:
SV067-E-01
Note: Specifications are subject to change. © 2020 Omron. All Rights Reserved. Printed in U.S.A.
Printed on recycled paper.
OMRON AUTOMATION AMERICAS HEADQUARTERS • Chicago, IL USA847.843.7900800.556.6766automation.omron.com
Controllers & I/O
• Machine Automation Controllers (MAC) • Motion Controllers
• Programmable Logic Controllers (PLC) • Temperature Controllers • Remote I/O
Robotics
• Industrial Robots • Mobile Robots
Operator Interfaces
• Human Machine Interface (HMI)
Motion & Drives
• Machine Automation Controllers (MAC) • Motion Controllers • Servo Systems
• Frequency Inverters
Vision, Measurement & Identification
Vision Sensors & Systems • Measurement Sensors • Auto Identification Systems
Sensing
• Photoelectric Sensors • Fiber-Optic Sensors • Proximity Sensors
• Rotary Encoders • Ultrasonic Sensors
Safety
• Safety Light Curtains • Safety Laser Scanners • Programmable Safety Systems
• Safety Mats and Edges • Safety Door Switches • Emergency Stop Devices
• Safety Switches & Operator Controls • Safety Monitoring/Force-guided Relays
Control Components
• Power Supplies • Timers • Counters • Programmable Relays
• Digital Panel Meters • Monitoring Products
Switches & Relays
• Limit Switches • Pushbutton Switches • Electromechanical Relays
• Solid State Relays
Software
• Programming & Configuration • Runtime
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15

Omron CK3E Firmware User guide

Type
User guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI