打印

GD32E103CBT6我烧写了gd32f103的程序

[复制链接]
4022|5
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
szled|  楼主 | 2021-7-31 00:11 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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

使用特权

评论回复
沙发
勤劳的我| | 2021-8-1 16:03 | 只看该作者
直接烧录的是之前F103CB的源码?内核不同,您可能需要将启动文件换成是E103的,另外在内部flash的操作上,两型号是有差异性的

使用特权

评论回复
板凳
chenjun89| | 2021-8-3 07:44 | 只看该作者
两个不一样的

使用特权

评论回复
地板
单片小菜| | 2021-8-3 12:20 | 只看该作者
两个略有不同的,需要修改的。

使用特权

评论回复
5
koala889| | 2021-8-4 17:49 | 只看该作者
尾缀呢?

使用特权

评论回复
6
szled|  楼主 | 2022-3-28 09:26 | 只看该作者
gde103c8t6没有spi不能读sd卡吗

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

6

主题

19

帖子

0

粉丝