Other Parts Discussed in Thread: UNIFLASH
Tool/software:
Hello everyone,
we have a problem flashing the final firmware with SLImageCreator in our production.
We use the CC3220SF Wifi MCU and flash via USB. Uniflash version is 8.8.1.
The error has the following symptom:
Image Programming: 98% (1572864/1593024)
Image Programming: 98% (1576960/1593024)
Image Programming: 99% (1581056/1593024)
Image Programming: 99% (1585152/1593024)
Image Programming: 99% (1589248/1593024)Traceback (most recent call last):
File "SLImageCreator.py", line 5740, in <module>
File "SLImageCreator.py", line 5735, in main
File "SLImageCreator.py", line 5704, in cmdline
File "SLImageCreator.py", line 4439, in command_project_program
File "SLImageCreator.py", line 3010, in program_image_from_project
File "SLImageCreator.py", line 3221, in program_image
File "slbootloader\slbootloader.py", line 802, in fs_programming
File "slbootloader\slbootloader.py", line 741, in _fs_programming_chunk
File "slbootloader\slbootloader.py", line 320, in _expect_ack
File "slbootloader\slbootloader.py", line 352, in _read_data
slbootloader.slbootloader.BootLoaderError:
Error: SLImageCreator.exe: BootLoaderError, Timeout reading data
[9388] Failed to execute script 'SLImageCreator' due to unhandled exception!
These errors only occur sporadically on certain devices. Other devices do not have this error.
And if this error occurs on devices some of them are able to boot afterwards and some are not.
Before we install the final firmware, we also flash test software that can be flashed without any problems.
We performed the flashing process with two different firmwares to rule out faulty firmware. What is
noticeable is that the flash process always stops at the same point with a certain firmware.
For example, the process stops at 1589248 bytes with firmware V35, while V32 stops at 1527808 (s. tabel). It all
depends on how large the firmware is. For me, this shows that it is probably not a problem with the cable
or the baud rate.
In general, the flash process takes a long time for the last bytes. I don't know what the flash tool is doing
there. Verify? Encrypting the image, perhaps? Something is going wrong with the last process.
The wifi mcu image is encrypted. All the other files in the firmware are not.
Firmware |
Test run Number |
Sensor Name |
Details log |
V35 |
1,2,3 |
A |
99% (1589248/1593024) |
v35 |
1 |
B |
99% (1589248/1593024) |
v35 |
1,2,3 |
C |
99% (1589248/1593024) |
|
|
|
|
v32 |
1,2,3 |
A |
99% (1527808/1529712) |
v32 |
1,2,3 |
B |
99% (1527808/1529712) |
v32 |
1,2,3 |
C |
99% (1527808/1529712) |
We have also tested with the out_of_the_box demo firmware and all the devices succeeded ! So it looks like something related to
the firmware fails.
Is there any way to get more details about that error? Like a more detailed trace file created while flashing?
Thanks in advanced!
Sebastian