Problem Overview
The Siemens SIMATIC TP177A 6" touch panel (order number 6AV6 642-0AA11-0AXA) is delivered from the factory with a runtime image that, in some early production lots, prevents a clean project transfer from WinCC flexible Compact 2005 SP1 / V1.1. The engineering tool reports "A timeout error occurred while receiving the files." while the panel itself freezes on "File 2 of 2." The transfer appears to start cleanly ("File 1 of 2" arrives in approximately 1 second) and then hangs during the second compressed runtime file (*_conv.srt).
This is not a cable, baud rate, or COM port failure. The root cause is a corrupt / mismatched factory image on the panel, and the documented fix is an OS / image update (bootstrapping) using the same RS-232 point-to-point link that is used for project transfer.
Affected Hardware and Software Identification
| Item | Value | Source |
|---|---|---|
| Panel | SIMATIC TP 177A 6" mono | Device label |
| Order number (MLFB) | 6AV6 642-0AA11-0AXA | Rating plate |
| Production code | S C TDL 43261 | Rating plate |
| Bootloader | 1.6 (2005-05-04) | Control Panel → OP properties → Device |
| Flash size | 4 MB | Control Panel → OP properties → Device |
| RAM | 16 MB | Control Panel → OP properties → Device |
| Bad factory image | 01.00.00.01_52.52 | Control Panel → OP properties → Image |
| Required image | 01.00.00.02_05.58 | Siemens support image package |
| Engineering tool | SIMATIC WinCC flexible Compact 2005, V1.1 | Help → About |
| Floating license | Present, valid | License key audit |
| PC OS | Windows XP Professional SP2, IE 6.0 | System Properties |
| PC COM ports | 2 × RS-232 + USB | Device Manager |
| PC RAM / disk | 1 GB / 60 GB (20 GB free) | System Properties |
| Transfer cable | 6ES7 901-3CB30-0XA0 (RS-485 ↔ RS-232 PC adapter) | Siemens catalog |
| Target controller | SIMATIC S7-300, CPU 314 | Hardware config |
| ProSave version tested | V7.2 | Help → About |
Reference: TP 177A / TP 177B / OP 177B (WinCC flexible) Operating Instructions, Release 07/2005, manual number 6AV6691-1DG01-0AB1, chapter 7.3 covers operating system restore / bootstrapping.
Symptom Matrix and Error Message Reference
| Stage | Panel display | WinCC Output window message | Interpretation |
|---|---|---|---|
| Boot | Siemens splash → loader | — | Panel bootloader functional, hardware OK |
| Transfer start | "Connecting with host ..." | Synchronizing with the device... |
Channel handshake, expected |
| Compile / convert | transfer window |
Modify the byte sequence in file ... Device_1.ORIE.cnkModify the orientation of bitmaps and fonts ...Write the output file ... Device_1_conv.srt
|
Engineering PC builds the two runtime files (ORIE and SRT) |
| File 1 of 2 | "File 1 of 2" + progress bar (OK) | File 1 of 2 is being transferred ... Device_1.ORIE_conv.cnk |
Transfer is in flight, ~1 s |
| File 2 of 2 | "File 2 of 2" + stalled progress bar | File 2 of 2 is being transferred ... Device_1_conv.srt |
ACIA handshake lost on the second file → panel never ACKs the SRT payload |
| Timeout | panel frozen on "File 2 of 2" | A timeout error occurred while receiving the files. |
Default transfer watchdog (25 s) elapsed |
Root Cause Analysis
Each TP177A ships with a Windows CE-based runtime image stored in flash. The image version is exposed in Control Panel → OP → Device → Image and the bootloader version is exposed one row above as Bootl. Rel.Date. A production run of the 6AV6 642-0AA11-0AXA was shipped with image 01.00.00.01_52.52 on top of bootloader 1.6 (2005-05-04). The header / descriptor block of that image rejects the runtime files generated by WinCC flexible Compact 2005 SP1 when the second (_conv.srt) payload is offered.
The panel still accepts the first ORIE_conv.cnk file (which carries the orientation descriptor and a small set of fonts), but stops acknowledging the larger compressed screen database. Because the protocol is master-slave with the engineering PC as master, the PC waits one transfer watchdog cycle (25 s in WinCC flexible Compact 2005) and then aborts with the timeout error.
Siemens' own resolution path is a full image update that replaces 01.00.00.01_52.52 with 01.00.00.02_05.58, which carries the corrected runtime header and acceptance logic for the SRT payload produced by WinCC flexible Compact 2005 SP1.
Pre-Update Verification Checklist
- Confirm the panel boots and shows the Transfer dialog after a power-cycle — if not, the panel is hard-defective, not image-defective.
- Read the image version: Control Panel → OP → Device → Image. If it already reads
01.00.00.02_05.58or higher, the image is not the cause; investigate the cable, the COM port, or the COM port driver. - Read the bootloader version. The image
01.00.00.02_05.58requires bootloader 1.6 or higher. If the bootloader is older than 1.6, run a two-stage update (bootloader first, then image). - Validate the cable on a known-good panel (TP 177 micro, TP 170B color) using ProSave V7.2 — successful backup/restore on a different panel proves the cable, COM port, and PC are not the fault.
- Validate the cable order number:
6ES7 901-3CB30-0XA0(RS-485 ↔ RS-232 PC adapter) is the only cable documented for serial transfer to the TP177A in the 07/2005 manual. - Try a fresh WinCC flexible project with a single screen and a single button. The error reproduces even on a 24 KB project, which proves the failure is independent of project size.
- Try MPI transfer if available. MPI will not bypass the image mismatch, but it eliminates the cable / baud-rate axis from the diagnostic matrix.
Step-by-Step Image Update (Bootstrapping)
- Download the TP177A image package for bootloader 1.6 from the Siemens support entry 21084461. The package contains a
.imgfile and a matching.bindescriptor. - Power-cycle the panel. During the boot phase, watch for the Loader screen. Touch Control Panel → Transfer and verify that Channel 1 Serial is enabled and that the password protection is disabled (or note the password — the loader does not ask for it, but ProSave does on later transfers).
- Close the loader back to the Transfer dialog. The panel is now waiting for an incoming project / image.
- On the PC, start ProSave V7.2 (Start → SIMATIC → ProSave → ProSave). Configure the connection: Device type = TP177A, Connection = Serial, COM port = COM1 or COM2, Baud rate = 115 200 (use the lowest rate that the cable supports if 115 200 is unreliable).
- In ProSave, choose OS → Update OS (German: Betriebssystem aktualisieren). Browse to the
.imgdownloaded in step 1. ProSave will prompt to confirm the panel type and the current image version. - ProSave powers the panel into the bootloader (it does not require a manual power-cycle), erases the flash, and writes the new image. The panel screen goes blank except for a status line; the Output window in ProSave shows progress in 5% steps.
- When the update completes, the panel reboots automatically into the loader. Open Control Panel → OP → Device and verify the Image field now reads
01.00.00.02_05.58and the Bootloader is still1.6. - Reboot the panel once more to be sure. The TP177A must come back to the Transfer dialog with no errors.
Post-Update Verification
- Re-open WinCC flexible Compact 2005. Load the test project with a single screen and a single button. Confirm in Output that the build succeeds with
0 error(s), 0 warning(s). - Start the transfer with the same Transfer Settings that previously failed: Serial, COM1 or COM2, 115 200 baud. Watch the Output window:
File 1 of 2should be followed in well under 25 s by a successfulFile 2 of 2completion line and an Transfer finished message. - Watch the panel: it should advance from File 1 of 2 to File 2 of 2, show the progress bar moving, and then either restart the runtime automatically or display the start screen of the project.
- Confirm the runtime project is actually executing: a tag toggle from the connected S7-300 CPU 314 should change a value on the HMI screen within the configured polling cycle (default 1 s).
- Run ProSave V7.2 → Backup to capture the working image. Save the backup to a dated folder — this is the recovery point for any future fault.
Compiler Output Decoded
The Output window in WinCC flexible during the failing transfer is a useful diagnostic. The two *_conv files are the deliverable payload: Device_1.ORIE_conv.cnk (orientation / header) and Device_1_conv.srt (compressed screen database). The byte-sequence and reference rewrites that the compiler performs are normal and are visible in the Output window between 18:01:42.26 and 18:01:42.32.
The fault pattern to recognize is:
- Time from
File 1 of 2 is being transferred ...toFile 2 of 2 is being transferred ...< 2 s → successful flow into SRT transfer. - Time from
File 2 of 2 is being transferred ...toA timeout error occurred ...≈ 25 s → transfer watchdog fires while the panel holds the SRT payload unacknowledged. - Total used memory of
24864 bytes(incl. 11 326 bytes for fonts) on a524160byte flash → project is not near the flash size limit, so the failure is not a flash-overflow issue.
Troubleshooting Matrix
| Symptom | Likely cause | Fix |
|---|---|---|
Stalls on File 2 of 2; image is 01.00.00.01_52.52
|
Bad factory image | Image update to 01.00.00.02_05.58
|
| Stalls on File 2 of 2; image already current | Cable, COM port, or PC driver | Swap cable 6ES7 901-3CB30-0XA0, test on another COM port, lower baud to 19 200 |
| Stalls on File 1 of 2 | Header / ORIE mismatch or flash write-protect | Rebuild all in WinCC flexible; verify DIP switch setting on the panel back |
| "No connection to device" before any transfer | Wrong COM port, wrong baud, cable pin-out, or panel in run mode instead of Transfer | Set panel to Transfer mode; verify baud matches; verify cable order number |
| Transfer succeeds but runtime shows communication error to CPU 314 | MPI / PROFIBUS address mismatch or bus terminator missing | Check MPI address in panel Control Panel → S7 → Connection; check bus terminator at the last node |
| ProSave reports Bootloader too old during image update | Bootloader < 1.6 | Two-stage update — update bootloader first, then image |
| Transfer OK on TP 177 micro but fails on TP 177A with same cable / PC | TP 177A-specific image issue | TP 177A image update — this is the documented resolution |
Field Notes and Preventive Measures
- Always check the panel Image string on a brand-new panel before the first project transfer. A 10-second read of Control Panel → OP → Device saves an hour of cable / baud / project debugging.
- Document the working image version on the panel rating-plate label with a permanent marker. Panels that survive a board swap often come back with the original bad image.
- Back up the panel image with ProSave V7.2 immediately after a successful image update. The backup is a single file and recovers a bricked panel in under five minutes.
- For a fleet rollout, image-update every panel at receiving inspection. Do not assume that a panel that comes in the same shipping carton as the cable and CD is fit for use.
- The manual reference chapter for the OS restore is 7.3 of the 6AV6691-1DG01-0AB1 Operating Instructions, Release 07/2005. The same chapter covers the bootloader update.
Related Configuration Parameters
| Parameter | Location on panel | Recommended value |
|---|---|---|
| Channel 1 mode | Control Panel → Transfer → Channel 1 | Serial, enabled |
| Transfer password | Control Panel → Password | Disabled (for first commissioning) |
| MPI / PROFIBUS address | Control Panel → S7 → Connection | Match PLC address; default 1 / 2 |
| Baud rate on panel | Control Panel → Transfer → Baud | 115 200 (or lowest reliable rate) |
| Date / time | Control Panel → Date/Time | Set after first boot |
FAQ
What does the WinCC flexible error "A timeout error occurred while receiving the files" mean on a TP177A?
It means the engineering PC sent both compressed runtime files (*_conv.cnk and *_conv.srt) but the panel stopped acknowledging during the second file. The 25-second transfer watchdog then aborts the transfer. On a TP177A, this is most often caused by a corrupt factory image — check the image version in Control Panel → OP → Device and update to 01.00.00.02_05.58 if it reads 01.00.00.01_52.52.
How do I know whether the panel or the cable is causing the timeout?
Test the same cable, the same COM port, and the same WinCC flexible installation against a known-good panel such as a TP 177 micro or TP 170B color. If the transfer succeeds on the second panel, the PC and cable are not at fault. Reproduce the failure on the TP177A with a minimal one-button test project — if it still fails with a 24 KB project, the project size is not the cause.
Which image version should a TP177A 6" (6AV6 642-0AA11-0AXA) carry for WinCC flexible Compact 2005?
Image 01.00.00.02_05.58 on bootloader 1.6 (2005-05-04). Panels delivered with image 01.00.00.01_52.52 must be updated before they can reliably receive a project from WinCC flexible Compact 2005 SP1 / V1.1.
Can I fix the timeout by lowering the baud rate or switching from RS-232 to MPI?
No. The fault is on the panel's image, not on the link layer. The transfer will still stall on File 2 of 2 at any baud rate (19 200, 38 400, 57 600, 115 200) and on MPI, because the panel rejects the SRT payload header before the link-layer retransmit logic can help. The only correct fix is the panel image update.
How do I update the TP177A image from the field?
Use ProSave V7.2 with the serial cable 6ES7 901-3CB30-0XA0, choose OS → Update OS, and flash the image file from Siemens support entry 21084461. ProSave erases the flash, writes the new image, and reboots the panel. After the reboot, confirm the image string in Control Panel → OP → Device before attempting a project transfer.