Nordic 51822 烧录bootloader 后,需要OTA一次,才能启动App解决办法

在Nordic 51822设备上,烧录bootloader后,直接通过JLink编程器无法启动App,因为需要设置BOOTLOADER_SETTINGS_ADDRESS处的bank_0标志位。解决方案包括:直接用编程器写入0x01到指定地址,修改bootloader固件以设置标志位,或组合hex文件以包含该设置。此外,CRC字段也需要根据需求设置为0x00以禁用CRC检查。
摘要由CSDN通过智能技术生成

Nordic 51822 烧录bootloader 后,需要OTA一次,才能启动App解决办法

使用nrfjprog烧写寄存器标志位

nrfjprog  --memwr 0x3FC00 --val 0x01

官网解释说明如下:

E. How do I program the original application via programmer (JLINK), not by DFU ?

After you flash your bootloader, the next step is to program the application via the bootloader DFU mode.

However, doing DFU usually take more time (and hassle) than programming via Jlink programmer, both when developing the firmware and when in mass production. DFU is more for bugs fix and firm

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值