GD32E103CBT6我烧写了gd32f103的程序,可以运行,但SPI操作SD有问题,然后用jlink重新下载时,下载不了,不是一个,是所有几百个产品一样。
Connecting ...
- Connecting via USB to probe/ programmer device 0
- Probe/ Programmer firmware: J-Link V9 compiled May 7 2021 16:26:12
- Device "GD32E103CB" selected.
- Found SW-DP with ID 0x1BA01477
- DPIDR: 0x1BA01477
- Scanning AP map to find all available APs
- AP[1]: Stopped AP scan as end of AP map has been reached
- AP[0]: AHB-AP (IDR: 0x24770011)
- Iterating through AP map to find AHB-AP to use
- AP[0]: Core found
- AP[0]: AHB-AP ROM base: 0xE00FF000
- CPUID register: 0x412FC231. Implementer code: 0x41 (ARM)
- Found Cortex-M3 r2p1, Little endian.
- Identified core does not match configuration. (Found: Cortex-M3, Configured: Cortex-M4)
- FPUnit: 6 code (BP) slots and 2 literal slots
- CoreSight components:
- ROMTbl[0] @ E00FF000
- ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB000 SCS
- ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
- ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
- ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM
- ROMTbl[0][4]: E0040000, CID: B105900D, PID: 003BB923 TPIU-Lite
- Target interface speed: 2000 kHz (Auto)
- VTarget = 3.274V
- Found SW-DP with ID 0x1BA01477
- DPIDR: 0x1BA01477
- AP map detection skipped. Manually configured AP map found.
- AP[0]: AHB-AP (IDR: Not set)
- AP[0]: Core found
- AP[0]: AHB-AP ROM base: 0xE00FF000
- CPUID register: 0x412FC231. Implementer code: 0x41 (ARM)
- Found Cortex-M3 r2p1, Little endian.
- Identified core does not match configuration. (Found: Cortex-M3, Configured: Cortex-M4)
- FPUnit: 6 code (BP) slots and 2 literal slots
- CoreSight components:
- ROMTbl[0] @ E00FF000
- ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB000 SCS
- ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
- ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
- ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM
- ROMTbl[0][4]: E0040000, CID: B105900D, PID: 003BB923 TPIU-Lite
- Executing init sequence ...
- Initialized successfully
- Target interface speed: 2000 kHz (Auto)
- Found 1 JTAG device. Core ID: 0x1BA01477 (None)
- Connected successfully
Auto programming target (62772 bytes, 1 range) ...
- Checking if selected data fits into selected flash sectors.
- Start of preparing flash programming
- ERROR: Failed to download RAMCode.
- ERROR: Failed to prepare for programming.
Failed to download RAMCode!
- End of preparing flash programming
- Start of restoring
- End of restoring
- ERROR: Failed to auto program target
Disconnecting ...
- Disconnected
Auto programming target (62772 bytes, 1 range) ...
- Connecting ...
- ERROR: Failed to connect.
Could not perform custom init sequence.
- ERROR: Could not auto program target, not connected |