使用Flash Magic给LPC1785下载程序,提示Failed to autobaud -step 1.

2019-03-25 20:06发布

本帖最后由 axlinux 于 2014-6-2 15:17 编辑

使用J-link+keil4.22,对自己做的LPC1785板子在线仿真无法下载。仿真时输出以下信息:
Load "..\obj\nh.AXF"
Load "..\obj\nh.AXF"
Set JLink Project File to "C:UsersdavidDesktop hprojectJLinkSettings.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下载按钮,结果弹出如下对话框:大家遇到过这样的情况吗?如何解决?
isp1.png

此帖出自小平头技术问答
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。