使用J-link+keil4.22,对自己做的LPC1785板子在线仿真无法下载。仿真时输出以下信息:
Load "..\\obj\\nh.AXF"
Load "..\\obj\\nh.AXF"
Set JLink Project File to "C:\Users\david\Desktop\nh\project\JLinkSettings.ini"
JLink info:
------------
DLL: V4.28 , compiled Jun 16 2011 17:41:05
Firmware: J-Link ARM V8 compiled Jan 31 2018 18:34:52
Hardware: V8.00
S/N : 20080643
Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFull
* JLink Info: TotalIRLen = 4, IRPrint = 0x01
* JLink Info: Found Cortex-M3 r2p0, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
ROMTableAddr = 0xE00FF003
* JLink Info: TotalIRLen = 4, IRPrint = 0x01
* JLink Info: Found Cortex-M3 r2p0, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: TotalIRLen = 4, IRPrint = 0x01
* JLink Info: Found Cortex-M3 r2p0, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
Target info:
------------
Device: LPC1785
VTarget = 3.332V
State of Pins:
TCK: 1, TDI: 0, TDO: 1, TMS: 0, TRES: 1, TRST: 1
Hardware-Breakpoints: 6
Software-Breakpoints: 8192
Watchpoints: 4
JTAG speed: 50 kHz
Full Chip Erase Failed!
板子没有预留ISP下载端口,通过飞线引出P0_2,P0_3和P2_10,我使用的是笔记本,所以使用了一个usb转ttl模块(使用的PL-2303芯片),连接了TXD、RXD、GND和5V(用来给开发板供电),上电之前我将P2_10接地,然后给开发板上电,接着点击FlashMagic下载按钮,结果弹出如下对话框:大家遇到过这样的情况吗?如何解决?
|