KW45更新无线固件方法

KW45更新固件方法

安装SPSDK

  • 选择在一个文件夹中打开cmd命令行
C:\nxp\spsdk> python -m venv venv 
C:\nxp\spsdk> venv\Scripts\activate 
C:\nxp\spsdk> python -m pip install --upgrade pip 
C:\nxp\spsdk> pip install spsdk C:\nxp\spsdk> spsdk --help


  • 在MCUXpresso IDE中找到 Installed SDKs界面,在 SDK_2.x_KW45B41Z-EVK上右键 Open Location,找到SDK的目录并解压,并找到kw45b41_nbu_ble_1_9_12_3.sb3文件
    D:\nxp\MCUXpressoIDE_11.9.1_2170\ide\plugins\com.nxp.mcuxpresso.sdk.sdk_2.x_kw45b41z-evk_2.12.7.201911251446\sdks\middleware\wireless\ble_controller\bin\kw45b41_nbu_ble_1_9_12_3.sb3

  • 插入跳线帽 JP25–>按下SW4按键–>插入调试接口线–>松开SW4:进入boot升级模式

  • 在SPSDK环境下输入:nxpdevscan
    (venv) L:\KW45-EVK\SPSDK>nxpdevscan
    -------- Connected NXP USB Devices --------

    MCU-LINK on-board (r0C3) CMSIS-DAP V2.250 - NXP Semiconductors
    Vendor ID: 0x1fc9
    Product ID: 0x0143
    Path: HID\VID_1FC9&PID_0143&MI_00\A&393A5ABF&0&0000
    Path Hash: cf257366
    Name: mcxw71xx | kw45xx | k32w1xx
    Serial number: IYIEDC5JOUIUL

    MCU-LINK NXP TRACE/POWER - NXP Semiconductors
    Vendor ID: 0x1fc9
    Product ID: 0x0143
    Path: HID\VID_1FC9&PID_0143&MI_01\A&2BB8D371&0&0000
    Path Hash: 7307ec12
    Name: mcxw71xx | kw45xx | k32w1xx
    Serial number: IYIEDC5JOUIUL

    -------- Connected NXP UART Devices --------

    Port: COM6
    Type: mboot device

    -------- Connected NXP SIO Devices -------


  • 输入以下指令进行刷入固件:
    blhost -p COM6 receive-sb-file D:\nxp\MCUXpressoIDE_11.9.1_2170\ide\plugins\com.nxp.mcuxpresso.sdk.sdk_2.x_kw45b41z-evk_2.12.7.201911251446\sdks\middleware\wireless\ble_controller\bin\kw45b41_nbu_ble_1_9_12_3.sb3

输出以下内容表示成功
Sending SB file [####################################] 100%
Response status = 0 (0x0) Success

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值