Bug #112523

【BSP】【EVT2】【MCU固件】【必现】Userdebug版本的MCU固件升级,提示升级成功,但未成功升级

Added by CDTS_TEST 刘勇 over 2 years ago. Updated over 2 years ago.

Status:CLOSEDStart date:2022-10-12
Priority:NormalDue date:
Assignee:CDTS_TEST 刘勇% Done:

100%

Category:BSP
Target version:VX1_MCE_FSE_V2.0_update_20221012
Need_Info:-- Found Version:FlatBuild_VX1_MCE_xx.xx_FSE.D.userdebug.0.0.0.20221012.alpha
Resolution:FIXED Degrated:No
Severity:Major Verified Version:FlatBuild_VX1_MCE_xx.xx_FSE.R.userdebug.0.0.0.20221014.alpha_0036
Reproducibility:Every time Fixed Version:2022-10-14
Test Type:IT Root cause:由于升级后,MCU串口未初始化。导致读取数据异常。

Description

【前提条件】
1.烧录user版本

【测试步骤】
1.打开USB调试
2.push mcu_a.bin 和mcu_b.bin文件到 sdcard/Download/下
3.使用命令查看当前slot并记录
adb shell " getprop | grep slot"
4.点击McuUpgrade 程序,依次点击"绑定UART" ->"发送升级服务请求“ 。等待平板重启
5.使用命令查看slot
adb shell " getprop | grep slot"
【预期结果】
3.
[ro.boot.slot_suffix]: [_a]
[ro.telephony.sim_slots.count]: [2]
4.提示升级成功,5s后重启
5.[ro.boot.slot_suffix]: [_b]
[ro.telephony.sim_slots.count]: [3]

【实际结果】
3.
[ro.boot.slot_suffix]: [_a]
[ro.telephony.sim_slots.count]: [2]
4.提示升级成功,5s后重启
5.
[ro.boot.slot_suffix]: [_a]
[ro.telephony.sim_slots.count]: [2]
【复现率】
必现

mcu_a.bin (30.7 KB) CDTS_TEST 刘勇, 2022-10-12 16:02

mcu_b.bin (30.7 KB) CDTS_TEST 刘勇, 2022-10-12 16:02

notUpgrade.txt Magnifier - 串口LOG (523 KB) CDTS_TEST 刘勇, 2022-10-12 16:19

History

#1 Updated by CDTS_TEST 刘勇 over 2 years ago

#2 Updated by CD BSP-杜磊 over 2 years ago

  • Assignee changed from CD BSP-杜磊 to CD BSP-陈杰

#3 Updated by CDTS_TEST 王成 over 2 years ago

  • Target version changed from VC1_FSE_B sample_20221015 to VX1_MCE_FSE_V2.0_update_20221012

#4 Updated by CD BSP-陈杰 over 2 years ago

  • Status changed from New to RESOLVED
  • Assignee changed from CD BSP-陈杰 to CDTS_TEST 刘勇
  • % Done changed from 0 to 100
  • Resolution changed from -- to FIXED
  • Degrated changed from -- to No
  • Fixed Version set to 2022-10-14
  • Root cause set to 由于升级后,MCU串口未初始化。导致读取数据异常。

目前bug已经解决,走关闭流程

#5 Updated by CDTS_TEST 刘勇 over 2 years ago

  • Status changed from RESOLVED to VERIFIED

【前提条件】
1.烧录user版本

【测试步骤】
1.打开USB调试
2.push mcu_a.bin 和mcu_b.bin文件到 sdcard/Download/下
3.使用命令查看当前slot并记录
adb shell " getprop | grep slot"
4.点击McuUpgrade 程序,依次点击"绑定UART" ->"发送升级服务请求“ 。等待平板重启
5.在APK中查看MCU版本信息

【实际结果】
4.提示升级成功,5s后重启
5.在MCUupgrade中可以查看MCU版本

【测试结果】PASS,验证通过
【验证次数】5次

#6 Updated by CDTS_TEST 刘勇 over 2 years ago

  • Status changed from VERIFIED to CLOSED
  • Verified Version set to FlatBuild_VX1_MCE_xx.xx_FSE.R.userdebug.0.0.0.20221014.alpha_0036

#7 Updated by CD FW-王伟 over 2 years ago

Gerrit Merge Information
ID Project Branch Uploader
155131 Pre_figure/mcu Pre_figure_turbox-c2130c-la1.1-vendor-dev
BSP: MCU: Fixed the problem in the MCU upgrade[1/2]
After the MCU is upgraded normally, the serial port cannot receive data,
resulting in abnormal communication. The investigation found that the
initialization position of the serial port is caused, the normal
upgrade,the device restarts, the MCU will not go to the normal boot
sequence,so the serial port will not be initialized.
TC-RID: 1201-0102704
IssueID: TS-R-BUG-112523
Change-Id: Id513bce5079f27c32a9ecae84d167797997bbc73

#8 Updated by CD FW-王伟 over 2 years ago

Gerrit Merge Information
ID Project Branch Uploader
155181 general/vendor/tc/mcu Pre_figure_turbox-c2130c-la1.1-vendor-dev
BSP: MCU: Fixed the problem in the MCU upgrade[2/2]
After the MCU is upgraded normally, the serial port cannot receive data,
resulting in abnormal communication. The investigation found that the
initialization position of the serial port is caused, the normal
upgrade,the device restarts, the MCU will not go to the normal boot
sequence,so the serial port will not be initialized.
TC-RID: 1201-0102704
IssueID: TS-R-BUG-112523
Change-Id: I7dfdfed356382b8fd0f4e6a2ad7a3458ac975585

#9 Updated by CD FW-王伟 over 2 years ago

Gerrit Merge Information
ID Project Branch Uploader
155330 general/vendor/tc/mcu Pre_figure_turbox-c2130c-la1.1-vendor-ftm
BSP: MCU: Fixed the problem in the MCU upgrade[2/2]
After the MCU is upgraded normally, the serial port cannot receive data,
resulting in abnormal communication. The investigation found that the
initialization position of the serial port is caused, the normal
upgrade,the device restarts, the MCU will not go to the normal boot
sequence,so the serial port will not be initialized.
TC-RID: 1201-0102704
IssueID: TS-R-BUG-112523
Change-Id: I7dfdfed356382b8fd0f4e6a2ad7a3458ac975585
(cherry picked from commit 59b53eee634cad064cdce4c12b05f726ddac97ab)

Also available in: Atom PDF