完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
用JTAG V8 + STM32F103RB 调试,IDE-Version:礦ision3 V3.80 RealView MDK-ARM Version: 3.50
用FLASH调试正常,但是按照网上方法设置在RAM调试不成功,显示: //-------------------------------- JLink Speed: 500 kHzVTarget = 3.300V DLL version V4.03r, compiled Mar 9 2009 18:04:21 Firmware: J-Link ARM V8 compiled Dec 1 2009 11:42:48 Hardware: V8.00 TotalIRLen = 9, IRPrint = 0x0011 Found Cortex-M3 r1p1, Little endian. TPIU fitted. FPUnit: 6 code (BP) slots and 2 literal slots Hardware-Breakpoints: 6 Software-Breakpoints: 2048 Watchpoints: 0 S/N : 20100214 Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFull VTarget = 3.300V TotalIRLen = 9, IRPrint = 0x0011 Found Cortex-M3 r1p1, Little endian. TPIU fitted. FPUnit: 6 code (BP) slots and 2 literal slots TotalIRLen = 9, IRPrint = 0x0011 Found Cortex-M3 r1p1, Little endian. TPIU fitted. FPUnit: 6 code (BP) slots and 2 literal slots Found Cortex-M3 r1p1, Little endian. TPIU fitted. FPUnit: 6 code (BP) slots and 2 literal slots TotalIRLen = 9, IRPrint = 0x0011 Found Cortex-M3 r1p1, Little endian. TPIU fitted. FPUnit: 6 code (BP) slots and 2 literal slots Include "C:\Documents and Settings\Administrator\桌面\SD+UART\RAM.ini" /******************************************************************************/ /* RAM.INI: RAM Initialization File */ /******************************************************************************/ // <<< Use Configuration Wizard in Context Menu >>> // /******************************************************************************/ /* This file is part of the uVision/ARM development tools. */ /* Copyright (c) 2005-2007 Keil Software. All rights reserved. */ /* This software may only be used under the terms of a valid, current, */ /* end user licence from KEIL for a compatible version of KEIL software */ /* development tools. Nothing else gives you the right to use this software. */ /******************************************************************************/ FUNC void Setup (void) { SP = _RDWORD(0x20000000); // Setup Stack Pointer PC = _RDWORD(0x20000004); // Setup Program Counter // _WDWORD(0xE000ED08, 0x20000000); // Setup Vector Table Offset Register } LOAD Test.axf INCREMENTAL // Download Setup(); // Setup for Running g, main ***JLink Error: Could not write CPU register R13: Written: 0x00000501, Read 0x00000500 *** error 121: AGDI: cannot access target while executing //-------------------------------- 出错现象为,有程序下载过程(不确定下载到flash还是ram),下载完后马上自动退出调试。 请原子指点:谢谢! |
|
相关推荐
1个回答
|
|
参考本论坛一个网友发的帖子就可以了.
|
|
|
|
只有小组成员才能发言,加入小组>>
调试STM32H750的FMC总线读写PSRAM遇到的问题求解?
899 浏览 1 评论
X-NUCLEO-IHM08M1板文档中输出电流为15Arms,15Arms是怎么得出来的呢?
729 浏览 1 评论
424 浏览 2 评论
STM32F030F4 HSI时钟温度测试过不去是怎么回事?
336 浏览 2 评论
ST25R3916能否对ISO15693的标签芯片进行分区域写密码?
758 浏览 2 评论
1484浏览 9评论
STM32仿真器是选择ST-LINK还是选择J-LINK?各有什么优势啊?
157浏览 4评论
STM32F0_TIM2输出pwm2后OLED变暗或者系统重启是怎么回事?
198浏览 3评论
171浏览 3评论
stm32cubemx生成mdk-arm v4项目文件无法打开是什么原因导致的?
173浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-7-6 18:28 , Processed in 0.768316 second(s), Total 76, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191