WP7702: MCU Protocol Command 0xC1 failed

Hi there,

I’m running into an issue with the WP7702 on a mangOH Yellow. I’m going into ultra low power mode and waking up when the ADC reading is above a threshold. A few times, I have been able to get the modem into a state where the internal MCU seems to stop responding. The I2C bus still seems fine because it’s still taking to other chips on the I2C bus fine, but the internal I2C communications to the MCU fail:

[   36.793392] MCU Protocol Command 0xC1 failed, retry=1
[   36.804479] MCU Protocol Command 0xC1 failed, retry=2
[   37.322292] MCU Protocol Command 0xC1 failed, retry=3
[   37.844914] MCU Protocol Command 0xC1 failed, retry=4
[   38.365039] MCU Protocol Command 0xC1 failed, retry=5
[   38.884934] MCU Protocol Command 0xC1 failed, retry=6
[   39.402401] MCU Protocol Command 0xC1 failed, retry=7
[   39.924921] MCU Protocol Command 0xC1 failed, retry=8
[   40.445489] MCU Protocol Command 0xC1 failed, retry=9
[   40.964935] MCU Protocol Command 0xC1 failed, retry=10
[   41.484742] MCU Protocol Command 0xC1 failed, retry=11

Rebooting doesn’t fix it, so the modem gets stuck in this state with no possible way of recovering. Here is info about my versions:

root@swi-mdm9x28-wp:~# cm info
Device:                        WP7702
IMEI:                          352653090203043
IMEISV:                        4
FSN:                           4L935170120410
Firmware Version:              SWI9X06Y_02.32.02.00 c2e98c jenkins 2019/08/30 07:28:21
Bootloader Version:            SWI9X06Y_02.32.02.00 c2e98c jenkins 2019/08/30 07:28:21
MCU Version:                   002.013
PRI Part Number (PN):          9909138
PRI Revision:                  001.001 
Carrier PRI Name:              SIERRA
Carrier PRI Revision:          001.027_000
SKU:                           1104405
Last Reset Cause:              Power Down
Resets Count:                  Expected: 152    Unexpected: 1

I’ve also seen other commands fail, like 0xCA. Sometimes it ends in the module constantly rebooting over and over again, and sometimes it ends in the module being stuck in ULPM with no way to wake it up.

Has anyone else ever seen this problem? This is a showstopper for our product, and I’m surprised that I couldn’t find any other references to this error message on Google.

Hi doug,

Please use swiflash to re-flash your FW and check again. In case you still face this issue, please report it to your distributor.

You can install swiflash by following this page:
https://source.sierrawireless.com/resources/airprime/software/swiflash/#sthash.68ANVYL4.dpbs

Thanks,

Hi @cherokee,

I have already tried that – swiflash flashes the new firmware successfully, but the problem is that without a power cycle, the MCU protocol commands continue to fail. I’ve tried reflashing both the rootfs and the modem firmware. I’m concerned that this will happen in the field with no way to recover:

[   99.077234] swimcu_pm_wusrc_config: check statep->gpio_pin_mask 0x0 
[   99.111846] swimcu_pm_wusrc_config: statep->adc_pin_mask=0x20000
[   99.123806] pm_set_mcu_ulpm_enable: wakeup source setup mask=0x6
[   99.162060] MCU Protocol Command 0xC1 failed, retry=1
[   99.174374] MCU Protocol Command 0xC1 failed, retry=2
[   99.695294] MCU Protocol Command 0xC1 failed, retry=3
[  100.214990] MCU Protocol Command 0xC1 failed, retry=4
[  100.734887] MCU Protocol Command 0xC1 failed, retry=5
[  101.255244] MCU Protocol Command 0xC1 failed, retry=6
[  101.775291] MCU Protocol Command 0xC1 failed, retry=7
[  102.295331] MCU Protocol Command 0xC1 failed, retry=8
[  102.814908] MCU Protocol Command 0xC1 failed, retry=9
[  103.334414] MCU Protocol Command 0xC1 failed, retry=10
[  103.853363] MCU Protocol Command 0xC1 failed, retry=11
[  103.857474] pm_ulpm_config: pm enable fail -2
[  103.862208] pm_set_mcu_ulpm_enable: pm enable fail -5
[  103.915211] swimcu_psm_enable_attr_store: Failed to enable mode 6: -5 
[  108.700882] swimcu_pm_wusrc_config: check statep->gpio_pin_mask 0x0 
[  108.714144] swimcu_pm_wusrc_config: statep->adc_pin_mask=0x20000
[  108.728956] pm_set_mcu_ulpm_enable: wakeup source setup mask=0x6
[  108.781764] MCU Protocol Command 0xC1 failed, retry=1
[  108.795131] MCU Protocol Command 0xC1 failed, retry=2
[  109.308211] MCU Protocol Command 0xC1 failed, retry=3
[  109.841488] MCU Protocol Command 0xC1 failed, retry=4
[  110.365324] MCU Protocol Command 0xC1 failed, retry=5
[  110.885236] MCU Protocol Command 0xC1 failed, retry=6
[  111.405242] MCU Protocol Command 0xC1 failed, retry=7
[  111.923827] MCU Protocol Command 0xC1 failed, retry=8
[  112.445244] MCU Protocol Command 0xC1 failed, retry=9
[  112.961343] MCU Protocol Command 0xC1 failed, retry=10
[  113.485773] MCU Protocol Command 0xC1 failed, retry=11
[  113.489884] pm_ulpm_config: pm enable fail -2
[  113.494610] pm_set_mcu_ulpm_enable: pm enable fail -5
[  113.546432] swimcu_psm_enable_attr_store: Failed to enable mode 6: -5 

The only fix I’ve found so far is to press the reset button on the mangOH Yellow. It seems strange that flashing new firmware wouldn’t make the problem go away, but it’s true.

I actually reported this to my distributor earlier and they instructed me to post on the mangOH forum for visibility. I also posted it here.

@cherokee what am I supposed to do if my distributor told me to post on the forum?