"fwupdate download FILE" does not work with WP7607 module

I´m trying to install a system with a .CWE file in a WP7607 module using “fwupdate download”, apparently is doing the procedure succesfully, but it does nothing at all.

In the meanwhile, I´m doing the exact procedure with a WP8548 module and works perfectly.

The legato.cwe file has been builded for each module with their legato version

WP7607 - Legato 19.11.2
WP8548 - Legato 18.6.4

There is a chance that the cwe filesize is too big for your module.
You can capture the debug message in UART2 console port and confirm.

hello @jyijyi, my workmate tells me that he can´t capture debug messages right now.

But we have found out that our legato.cwe file for WP7607 is larger than 8 MB, is about 9MB. legato.cwe for WP85 is about 7MB

We have seen something about the size of legato partition

it is too big, legato partition size is just 8MB.

root@swi-mdm9x28-wp:~# more /proc/mtd
dev:    size   erasesize  name
mtd0: 00280000 00040000 "sbl"
mtd1: 00280000 00040000 "mibib"
mtd2: 00680000 00040000 "backup"
mtd3: 00100000 00040000 "security"
mtd4: 00200000 00040000 "persist"
mtd5: 01180000 00040000 "efs2"
mtd6: 05040000 00040000 "swifota"
mtd7: 00100000 00040000 "tz"
mtd8: 00080000 00040000 "rpm"
mtd9: 02080000 00040000 "modem"
mtd10: 00100000 00040000 "aboot"
mtd11: 00f00000 00040000 "boot"
mtd12: 01e00000 00040000 "system"
mtd13: 008c0000 00040000 "lefwkro"
mtd14: 01900000 00040000 "swirw"
mtd15: 08300000 00040000 "userapp"
mtd16: 03680000 00040000 "reserved"
mtd17: 02180000 00040000 "slot_2"
mtd18: 02180000 00040000 "slot_1"
mtd19: 02180000 00040000 "slot_0"

root@swi-mdm9x28-wp:~# cm info
Device:                        WP7609
IMEI:                          359782080100399
IMEISV:                        6
FSN:                          [   87.386910] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv_addr:0x3a MSTR_STS:0x0c1300c8 OPER:0x00000090
 WA803370010610
Firmware Version:              SWI9X07Y_02.28.0[   87.406358] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv_addr:0x3a MSTR_STS:0x0c1300c8 OPER:0x00000090
3.03 000000 jenkins 2019/05/21 03:33:04
Bootloader Version:            SWI9X07Y_02.28.03.03 000000 jenkins 2019/05/21 03:33:04
MCU Version:                   002.011
PRI Part Number (PN):          9908102
PRI Revision:                  001.000
Carrier PRI Name:              GENERIC
Carrier PRI Revision:          002.068_000
SKU:                           1103843
Last Reset Cause:              Power Down
Resets Count:                  Expected: 126    Unexpected: 242

Is there anything we can do ?

reduce the size of your image by deleting some application that is not used.

Another way is you use the default legato image, but install your application by .update file instead of building the application to the image

thank you @jyijyi but I think we have already done all that

Can We resize Legato partion?

not sure if you can use the AT!PARTITION command, you can give a try:

BTW, why don’t you use .update file? .update is not using legato partition area.

because if we use updates, it will appear something else after a roll back

then probably you need to try AT!PARTITION or delete more unused application

OK, we will try AT!PARTITION or we will install a CWE with a simple app that let us recover the device remotely. Thanks!! @jyijyi