低功耗调试

PWR_EnterSTOPMode(PWR_Regulator_ON, wfi or wfe   

  回复后都是 接着debug 下去,因为 jtage 能用

    PWR_EnterSTOPMode(PWR_Regulator_LowPower, PWR_STOPEntry_WFE);WFI

 回复后 jlink  jtag 就不能 跟踪 下去了  因为  没电了,,jlink  就断了。


如果是 stm32 低功耗,jlink 就无法擦除 flash。可按如下步骤:

To reload the Flash memory after launching the low-power example, the boot pin
configuration must be changed from BOOT FLASH to BOOT RAM, and the reset button
must be pressed. This is because the debugger cannot take the hand when the
STM32F10xxx is in low-power mode.
Once this has been done, the boot pin must be configured back to BOOT FLASH.
Measurement is then started by disconnecting and reconnecting the power supply.
The power off/ power on reset sequence is necessary to avoid internal debug module
overconsumption.

  1)加电

2)跳线 ram 启动

3)reset

4)跳线 flash

  5)connect jlink

6)擦除。


以上 过程是不能断电的

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值