本帖最后由 lbasten 于 2022-4-25 16:54 编辑
在立创GD32E230C8T6开发板基础上改了一下,加上SWD接口、SPI LCD接口,原理图如下:
各个管脚参考GD32E230C-EVAL,想着可以用GD32E230C-EVAL的例程。
用JLINK V9的swd接上,如下图
USB供电,接上仿真器。打开GD32E230C-EVAL的LED例程.在debug中能看到设备
程序下载设置如下图:
程序下载后,提示如下信息,请大牛们帮指导一下:
Firmware: J-Link V9 compiled May 7 2021 16:26:12
Hardware: V9.60
S/N : 69667201
Feature(s) : RDI, GDB, FlashDL, FlashBP, JFlash
* JLink Info: Found SW-DP with ID 0x0BF11477
* JLink Info: Failed to power up DAP
* JLink Info: Found SW-DP with ID 0x0BF11477
* JLink Info: DPIDR: 0x0BF11477
* JLink Info: CoreSight SoC-400 or earlier
* JLink Info: Scanning AP map to find all available APs
* JLink Info: AP[1]: Stopped AP scan as end of AP map has been reached
* JLink Info: AP[0]: AHB-AP (IDR: 0x04770025)
* JLink Info: Iterating through AP map to find AHB-AP to use
* JLink Info: AP[0]: Core found
* JLink Info: AP[0]: AHB-AP ROM base: 0xE00FF000
* JLink Info: CPUID register: 0x411CD200. Implementer code: 0x41 (ARM)
* JLink Info: Feature set: Baseline
* JLink Info: Found Cortex-M23 r1p0, Little endian.
* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
* JLink Info: Security extension: not implemented
* JLink Info: CoreSight components:
* JLink Info: ROMTbl[0] @ E00FF000
* JLink Info: [0][0]: E000E000 CID B105900D PID 000BBD20 DEVARCH 47702A04 DEVTYPE 00 Cortex-M23
* JLink Info: [0][1]: E0001000 CID B105900D PID 000BBD20 DEVARCH 47701A02 DEVTYPE 00 DWT
* JLink Info: [0][2]: E0002000 CID B105900D PID 000BBD20 DEVARCH 47701A03 DEVTYPE 00 FPB
ROMTableAddr = 0xE00FF000
* JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.
* JLink Info: Reset: Reset device via AIRCR.SYSRESETREQ.
Target info:
------------
Device: GD32E230C8
VTarget = 3.353V
State of Pins:
TCK: 0, TDI: 0, TDO: 0, TMS: 1, TRES: 1, TRST: 0
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints: 2
JTAG speed: 4000 kHz
Erase Done.
Programming Done.
Verify OK.
* JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.
* JLink Info: Reset: Reset device via AIRCR.SYSRESETREQ.
Application running ...
Flash Load finished at 16:29:15
这是啥问题?
|