码迷,mamicode.com
首页 > 其他好文 > 详细

STM32 Jtag被锁,无法下载问题

时间:2015-05-27 15:39:35      阅读:690      评论:0      收藏:0      [点我收藏+]

标签:

今天不小心掉用了#define GPIO_Remap_SWJ_Disable      ((uint32_t)0x00300400)  /*!< Full SWJ Disabled (JTAG-DP + SW-DP) */

这个函数导致无法用Jlink下载程序

解决办法:

将stm32的REST脚一直接地,即复位,用keil下载,运行到

JLink info:
------------
DLL: V4.46f, compiled May 10 2012 08:30:05
Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
Hardware: V8.00
S/N : 1631096674
Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFULL

* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: Found Cortex-M3 r1p1, Little endian.
ROMTableAddr = 0xE00FF003
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: Found SWD-DP with ID 0x1BA01477
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: Found Cortex-M3 r1p1, Little endian.

松开复位键,继续下载,解决问题。

STM32 Jtag被锁,无法下载问题

标签:

原文地址:http://www.cnblogs.com/duguqiuying/p/4533469.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!