Collapse AllExpand All

2.7. Loadability of the FPGA on the STMI4/NCUI4 board Previous topic Parent topic Child topic Next topic

It is possible to load the FPGA code on the gateway boards STMI4 and NCUI4.
Usually the FPGA code is supplied with a LW hotfix (or via fix release, minor release, hotfix). There are three files:
  • the SENTA file,
  • COMGA file for STMI4 and
  • COMGA file for NCUI4.
IMPORTANT:
The update of the SENTA/COMGA firmware (FPGA code) cannot be done from remote!

Figure 15. FPGA - Hardware components involved

fpga_overview-2.jpg

Prerequisite:

The loadware for SENTA /COMGA must be saved via PCHI tool / ftp transfer (binary) on the PC. Before the update can be executed, the loadware must be transferred to a PC in the customer’s network and which has access to the WBM of the board (WBM client).

Update:

The update of SENTA loadware and COMGA loadware is done via WBM. In the section Maintenance > Config and Update > Software Update you have two possibilities:
  • Load COMGA-Firmware via HTTP or
  • Load SENTA-Firmware via HTTP.
Load_COMGA-2.PNG
IMPORTANT:
The following description of the firmware update is done for SENTA loadware. For COMGA firmware the instructions are the same but choose Load COMGA-Firmware via HTTP from the menu.
  1. Choose Load SENTA-Firmware via HTTP from the menu.
  2. Select the new file of the SENTA loadware from your local PC by pressing the Browse button.
    Load_SENTA-2.PNG
  3. Press the Load button for staring the loadware transfer to the flash memory of the board.
  4. Upload process has finished when the following screen appears.
    Confirm with OK.
  5. Activate the new SENTA firmware by pressing the Activate now button.
    IMPORTANT:
    After completion of the activation process the gateway will be rebooted automatically!
  6. Confirm the activation process by clicking OK.
    The new SENTA firmware will be updated, activated and the gateway will be rebooted.

Trace:

The whole process can be monitored with switched on trace SWCONF, level 9.
The phase of downloading of the SENTA firmware
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:43.688177" cswconfigsvc03.cpp 175)
Creating Job! Type=0x1f001b, ID=3
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:43.701594" cswconfigsvc03.cpp 377)
Created Job 3
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:43.702931" cswconfjob02.cpp 3357)
Firmware type: SENTA
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:43.759732" cswconfjob02.cpp 3419)
First block. Retrieving image header.
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:43.760800" cswconfjob02.cpp 3429)
 offset |  0  1  2  3  4  5  6  7  8   9  a  b  c  d  e  f |
--------+--------------------------------------------------+-----------------
00000000| B2 00 00 00 04 30 37 2F  31 30 2F 30 38 31 33 3A | .....07/10/0813:
00000010| 30 36 3A 35 34 17 45 4C  46 3E 49 33 38 36 50 5A | 06:54.ELF>I386PZ
00000020| 4B 53 45 4E 30 31 2E 4F  31 2E 30 31 32 00 00 00 | KSEN01.O1.012...
00000030| 00 00 30 00 99 78 70 7A  6B 73 65 6E 30 31 00 00 | ..0..xpzksen01..
00000040| 00 00 00 00 00 00 00 00  00 00 00 00 68 00 00 00 | ............h...
00000050| 00 00 00 00 50 D9 10 00  00 00 00 00 00 00 00 00 | ....P...........
00000060| 00 00 00 00 00 00 00 00                          | ........        
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:43.761791" cswconfjob02.cpp 3652)
Transfer status for job 3 is 1% (11540/1092718)
(SWCONF tBackupTask 0x30622e8 "08/25/2008 15:43:43.774272" cswconfigsvc01.cpp 43
9)
Execute Job in Queue:
    ID = 3, Action=0x1f001b
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:44.120524" cswconfjob02.cpp 3652)
Transfer status for job 3 is 47% (515348/1092718)
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:44.497264" cswconfjob02.cpp 3652)
Transfer status for job 3 is 93% (1019156/1092718)
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:44.590766" cswconfjob02.cpp 3522)
Writing block of 1104096 bytes, remaining 1 bytes
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:50.465757" cswconfjob02.cpp 3532)
Writing block finished OK.
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:50.467342" cswconfjob02.cpp 3652)
Transfer status for job 3 is 101% (1104209/1092718)
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:50.474411" cswconfjob02.cpp 3543)
Got last part of the buffer
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:50.474737" cswconfjob02.cpp 3552)
Writing remaining buffer: 0 bytes
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:50.480742" cswconfjob02.cpp 3614)
 offset |  0  1  2  3  4  5  6  7  8   9  a  b  c  d  e  f |
--------+--------------------------------------------------+-----------------
00000000| 70 7A 6B 73 65 6E 30 31  17 45 4C 46 3E 49 33 38 | pzksen01.ELF>I38
00000010| 36 50 5A 4B 53 45 4E 30  31 2E 4F 31 2E 30 31 32 | 6PZKSEN01.O1.012
00000020| 00 00 00 00 00 30 00 00  00 99 78 30 37 2F 31 30 | .....0....x07/10
00000030| 2F 30 38 20 20 31 33 3A  30 36 3A 35 34          | /08  13:06:54   
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:50.481125" cswconfjob02.cpp 3641)
Writing loadware ID finished OK.
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:50.481718" cswconfjob02.cpp 3652)
Transfer status for job 3 is 101% (1104209/1092718)
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:50.492219" cswconfigsvc02.cpp 1010)
Progress Response:
    Transferred File Size=1104209
    Complete File Size=1092718
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:51.596658" cswconfigsvc02.cpp 1010)
Progress Response:
    Transferred File Size=1104209
    Complete File Size=1092718
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:55.651796" cswconfigsvc02.cpp 845)
Progress Response:
    Transferred File Size=1104209
    Complete File Size=1092718
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:43:57.721041" cswconfigsvc02.cpp 845)
Progress Response:
    Transferred File Size=1104209
    Complete File Size=1092718
The second phase of the process:
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:44:22.147227" cswconfjob07.cpp 422)
File info: compressed size: 1104096, uncompressed size: 12491489
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:44:23.146807" cswconfjob07.cpp 446)
Uncompression successful
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:44:23.147303" util.c 4765)
... writing SENTA FPGA code to SENTA flash
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:44:33.140242" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:44:43.140240" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:44:53.140241" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:45:03.140241" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:45:13.140241" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:45:23.140242" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:45:33.140478" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:45:43.140469" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:45:53.140444" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:46:03.140352" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:46:13.140249" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:46:23.140241" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:46:33.140242" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:46:43.140244" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:46:53.140248" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:47:03.140247" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:47:13.140245" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:47:23.140242" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:47:33.140246" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:47:43.140245" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:47:53.140244" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:48:03.140245" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:48:13.140245" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:48:23.140245" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:48:33.140242" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:48:43.140240" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:48:53.140243" util.c 4769)
writing SENTA FPGA code to SENTA flash is still running
(SWCONF tEmWeb 0x353c4c0 "08/25/2008 15:48:53.140552" util.c 4771)
programming SENTA flash finished
.....
(SWCONF tEmWeb 0x440e168 "08/29/2008 10:43:37.050407" util.c 3928)
active SENTA version on revision 1: 12
(SWCONF tEmWeb 0x440e168 "08/29/2008 10:43:37.056302" cswconfjob07.cpp 539)
!!! Initializing reboot !!!
(EVTLOG tEvtLogTask 0x36de430 "08/29/2008 10:43:37.058440" cevtlogsvc01.cpp 942)
EventLogEntry from SYSTEM (tEmWeb "08/29/2008 10:43:37.056510" cswconfjob07.cpp 
544):
  EventType: Information
  EventCode: MSG_ADMIN_REBOOT
  EventText: Reboot initiated by Admin (Firmware Activation)
Executing Shutdown and Reboot for EvtCode 100 (MSG_ADMIN_REBOOT)
Exiting Security Task*** Shutdown.
Failure:
In the case of failure, a popup window appears in the WBM with an error code.
(SWCONF tFPGAWrite 0x4e39e88 "08/28/2008 15:06:53.579613" util.c 3666)
call of xsvfExecute returned error:2
The activation of the loadware and the reboot of the gateway is not performed.