Modem problem after upgrade by spk

Hello. After i have problem after update firmware

swi-mdm9x28-wp login: [ 27.341079] usb 1-1: device descriptor read/64, error -110
[ 27.609785] bq27xxx-battery 7-0055: invalid battery:voltage-min-design-microvolt 310000
[ 27.669923] rtc-pcf85063 8-0051: hctosys: unable to read the hardware clock
tzoneset: Changing timezone to [Etc/GMT-3]…
tzoneset: Changing timezone to [Etc/GMT-3]…
[ 37.058059] Fatal error on the modem.
[ 37.060712] modem subsystem failure reason: lte_ml1_schdlr2_obj.c:1312:Assert 0 failed: .
[ 37.069148] M-Notify: General: 8
[ 37.181006] Kernel panic - not syncing: subsys-restart: Resetting the SoC - modem crashed.
[ 37.188307] CPU: 0 PID: 1013 Comm: kworker/0:34 Tainted: G O 3.18.140 #1
[ 37.195986] Workqueue: events device_restart_work_hdlr
[ 37.201120] [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[ 37.208832] [] (show_stack) from [] (panic+0x90/0x1f4)
[ 37.215686] [] (panic) from [] (device_restart_work_hdlr+0x38/0x3c)
[ 37.223672] [] (device_restart_work_hdlr) from [] (process_one_work+0x1bc/0x2e0)
[ 37.232788] [] (process_one_work) from [] (worker_thread+0x2dc/0x3b8)
[ 37.240947] [] (worker_thread) from [] (kthread+0xc8/0xd4)
[ 37.248153] [] (kthread) from [] (ret_from_fork+0x14/0x3c)
[ 37.255357] cpr_panic_callback: apc_corner: [corner:2, fuse_corner:2] = 1087500 uV
[ 37.263074] Rebooting in 5 seconds…
[ 42.287095] Going down for restart now

Are you downloading correct fw?
Is it caused by not enough current?

yes another boards work good.
the battery is connected. i try make restore firmware via swiflash. The board rebooted, and modem crashed

Will there be any reset if you flash the previous working fw?

Also are you using mangoh board?
If yes, you can switch the two modules to isolate if this is board issue

so I wanted to ask how to change the firmware, so that it completely rewrites everything, does a full reset?

because when I install the spk it feels like it does not always wipe everything, and the user partion should be cleaned by swiflash -r (and this also does not always help)

I used one click exe to update fw in windows platform.

The userapp partition will not erased by swiflash tool in the new FW.
You need to downgrade to some old fw and use swiflash tool to erase userapp partition .
E.g. wp76 → downgrade to r12 or before

Wp77 → downgrade to r11 or before

so if i have r14 on mango yellow. i should downgrade to previous fw( r13), use swiflash and then install r14. or r11 every time?

If you need to erase userapp partition, then yes.

But the question is do you need to erase userapp partition everytime?
This seems not to be a use case.

I need the right mechanism how it works. so from r12 removed the functionality of cleaning user partion?

but installing spk which contains linux image, legato and fw for modem, is it all updated?

this is security hole, it is fixed in newer FW like R12 for WP77: