Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:appnote:an024 [2017/05/08 15:59] – [3. Aggiornamento tramite Firmwaredownloader] qem103en:appnote:an024 [2019/08/29 17:01] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== AN024 - Firmware update procedure on A1-HMI-QC104 ======
  
 +|{{:varie:logo_qem_documentazione.png?direct&200|}}||||
 +^Document:| **AN024**|||
 +^Description:|Firmware update procedure on A1-HMI-QC104|||
 +^Editor:| Riccardo Furlato|||
 +^Approver| Gabriele Bazzi |||
 +^Link:|http://www.qem.eu/doku/doku.php/appnote/an024|||
 +^Language:|English|||
 +| ||||
 +^ Document Release ^ Description ^ Note ^ Date ^
 +|  01  | New manual |Valid from hardware release 03, and from firmware release QC104-xx.5.1|  10/02/2015  |
 +
 +===== - Introduction =====
 +
 +The firmware update can be performed without affecting the operation of the application software. It is good rule, however, to have the application software and the machine data saved in a file available so that you can restore the operation
 +
 +The operation can be done in three ways:
 +  * [[#Update via TeraTerm|Through the TeraTerm program]]
 +  * [[#Update via Firmwaredownloader|Using the Qem application, named Firmwaredownloader]]
 +  * [[#Update via MMC/SD|Through MMC/SD]]
 +
 +<html><pagebreak /></html>
 +
 +===== - Update via TeraTerm =====
 +
 +1. Download and install the [[http://www.qemservice.it/download/Prog/Other/ttermp23.zip|TeraTerm]].
 +
 +2. Connect the PC to the prog port of the instrument with the iq009 interface also used for normal programming with Qview.
 +
 +3. Press and hold the BOOT key and simultaneously turn on the terminal.
 +
 +4. Only the YELLOW STOP LED lights up (The CPU is in the BOOT state).
 +
 +5. Start the Tera Term Pro program and set up a serial connection on the initial dialog with the COM number used for communication (the iq009 interface is connected to a USB port on your PC. The PC assigns a COM number to the interface. It is possible to know this number from the "Control Panel" of the PC).
 +
 +6. Set from the "Setup-Serial Port" menu the following settings:
 +|Port:| |Used COM|
 +|Baud rate:| |115200|
 +|Data:| |8 bit|
 +|Parity:| |none|
 +|Stop:| |1 bit|
 +|Flow control:| |Xon/Xoff|
 +|Transmit delay| | |
 +| |0|msec/char|
 +| |0|msec/line|
 +
 +7. Sending a " //*// " character The CPU should respond with " //?*// " and it means that communication is established. If this does not happen you have to check the cable or Check that there are no other programs that are using the same serial communication port.
 +
 +8. Send the " //E*// " string To clear the firmware in the CPU.
 +
 +9. The CPU, after a few seconds, send the " //e*// " answer.
 +
 +10. Send the " //F// " string and select from the "File-Send file..." menu the file <firmware>.a21 (file provided with these instructions). This will start the firmware download.
 +
 +11. At the end of the transfer send the " //*// " character.
 +
 +12. The CPU, after a few seconds, will respond with " //OK firmware stored// ".
 +
 +13. Now you can turn off and turn on the terminal.
 +
 +<html><pagebreak /></html>
 +
 +===== - Update via Firmwaredownloader =====
 +
 +  - Install [[http://www.qem.eu/j/images/icone/download_01.png|QWorkBench]].
 +  - Connect the PC to the terminal via the iq009 interface.
 +  - Start the Firmwaredownloader that is located in QEM - QWorkBench - Utilities - Firmwaredownloader.
 +  - Set the COM in the //COM Port Number//.\\ {{:appnote:an024:fd1.png?nolink&600|}}
 +  - Select the ''**firmware.a21**'' file.
 +  - Press Go Boot.\\ {{:appnote:an024:fd2.png?nolink&600|}}
 +  - Press Start.\\ {{:appnote:an024:fd3.png?nolink&600|}}
 +  - Wait for the transfer to end.\\ {{:appnote:an024:fd4.png?nolink&600|}}
 +
 +<html><pagebreak /></html>
 +
 +===== - Update via MMC/SD =====
 +
 +  - The file containing the new firmware, for example ''qc104-03.5.4.a21'' must be renamed in ''firmware.a21''
 +  - Format the MMC/SD and copy the ''firmware.a21'' file inside
 +  - Turn off the instrument.
 +  - Insert the MMC/SD As shown on the serigraphy in the picture (The MMC/SD remains protruding).\\ {{:connettori:connettore_mmc.png?direct&600}}
 +  - Turn on the instrument with the BOOT key pressed\\ {{strumenti:qpanelplus:qc104:qc104_pulsanti_01.png?direct&500}}
 +  - The **STATE** led lights up and starts blinking, while the display remains off. The **STATE** led flashes until the update is finished (1 minute about).
 +  - Alla fine dell'aggiornamento lo strumento si riavvia automaticamente.
 +  - Turn off the instrument and extract the MMC/SD
 +
 +<html><pagebreak /></html>
 +===== - Check =====
 +
 +  - Turn on the instrument
 +  - Press the **''BOOT''** key {{varie:pulsante_6x6.jpg?40}} for 3 seconds or press both the **''F2''** {{tasti:tasto_f2.png?44}} + **''F4''** {{tasti:f4.png?40}} + **''F6''** {{tasti:f6.png?40}} keys to access the **Setup**.  
 +  - The following Setup page appears:\\ {{strumenti:qpanelplus:qpanel_downp1_01.png?450}}
 +  - Press ''**esc**'' {{:strumenti:qpanelplus:virtualkeyboard_esc_01.png?40}} in the __virtual keyboard__ {{:strumenti:qpanelplus:virtualkeyboard_01.png?250|}} to exit from the ''**DOWNLOAD**'' page\\ {{:strumenti:qpanelplus:qpanelplus_funzioni_sistema_01.png?500}}
 +  - Select ''**Info**'' from the menu using the arrows {{:strumenti:qpanelplus:virtualkeyboard_sx_01.png?direct&40}} {{:strumenti:qpanelplus:virtualkeyboard_dx_01.png?direct&40}} of the __virtual keyboard__, then press the ''**Enter**'' key {{:strumenti:qpanelplus:virtualkeyboard_enter_01.png?40}} to show the selected function.
 +  - The ''**Info**'' page will shown.\\ {{strumenti:qpanelplus:qpanel_infop1_01.png?500}}
 +  - Verify that ''**FW ver.....:**'' Match the firmware version you just loaded.
 +  - Press ''**esc**'' {{:strumenti:qpanelplus:virtualkeyboard_esc_01.png?40}} and using the __virtual keyboard__ Get on the menu in ''**Exit**'' item and press ''**Enter**'' {{:strumenti:qpanelplus:virtualkeyboard_enter_01.png?40}} to exit from the SETUP.