使用环境
<!-- 必须 告知插件运行的环境,帮助开发者定位问题 -->
vscode
版本: 1.102.3
提交: 488a1f239235055e34e673291fb8d8c810886f81
日期: 2025-07-29T03:00:23.339Z
浏览器: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.102.3 Chrome/134.0.6998.205 Electron/35.6.0 Safari/537.36
- 操作系统版本:Windows
- 操作系统平台(x86/x64):x64
- VsCode 版本:1.102.3
- EIDE 插件版本:3.26.4
- C/C++ 插件版本:1.30.5
- 何种编译器(keil_c51/sdcc/armcc5/armgcc/...):armcc5
- 编译器版本(非编译问题可忽略):
描述问题
<!-- 使用简明清晰的语言描述您的问题 -->
烧录器为jlinkv9,swd接口
n32g031c8的烧录ramCODE有问题,不是8kb,使用keil可以正常使用jlink烧录
屏幕截图
<!--使用一些截图能够更好地展现问题 -->
烧录日志
SEGGER J-Link Commander V8.98 (Compiled Jan 7 2026 18:24:08)
DLL version V8.98, compiled Jan 7 2026 18:23:11
J-Link Commander will now exit on Error
J-Link Command File read successfully.
Processing script file...
J-Link>r
J-Link connection not established yet but required for command.
Connecting to J-Link via USB...O.K.
Firmware: J-Link V9 compiled May 7 2021 16:26:12
Hardware version: V9.20
J-Link uptime (since boot): N/A (Not supported by this model)
S/N: -1
License(s): RDI, GDB, FlashDL, FlashBP, JFlash
VTref=3.304V
Target connection not established yet but required for command.
Device "N32G031C8" selected.
Connecting to target via SWD
Found SW-DP with ID 0x0BB11477
DPIDR: 0x0BB11477
CoreSight SoC-400 or earlier
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: 0x04770021, ADDR: 0x00000000)
Iterating through AP map to find AHB-AP to use
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID register: 0x410CC200. Implementer code: 0x41 (ARM)
Found Cortex-M0 r0p0, Little endian.
FPUnit: 4 code (BP) slots and 0 literal slots
CoreSight components:
ROMTbl[0] @ E00FF000
[0][0]: E000E000 CID B105E00D PID 000BB008 SCS
[0][1]: E0001000 CID B105E00D PID 000BB00A DWT
[0][2]: E0002000 CID B105E00D PID 000BB00B FPB
Memory zones:
Zone: "Default" Description: Default access mode
Cortex-M0 identified.
Reset delay: 0 ms
Reset type: NORMAL (https://kb.segger.com/J-Link_Reset_Strategies)
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
J-Link>halt
PC = 080001D0, CycleCnt = 00000000
R0 = FFFFFFFF, R1 = FFFFFFFF, R2 = FFFFFFFF, R3 = FFFFFFFF
R4 = FFFFFFFF, R5 = FFFFFFFF, R6 = FFFFFFFF, R7 = FFFFFFFF
R8 = FFFFFFFF, R9 = FFFFFFFF, R10= FFFFFFFF, R11= FFFFFFFF
R12= FFFFFFFF
SP(R13)= 200012F0, MSP= 200012F0, PSP= FFFFFFFC, R14(LR) = FFFFFFFF
XPSR = C1000000: APSR = NZcvq, EPSR = 01000000, IPSR = 000 (NoException)
CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00
FPU regs: FPU not enabled / not implemented on connected CPU.
J-Link>loadfile "d:\S32DS\workspaceKEIL\WL_RFM_MODULE_FSK_433_radio_spi3\build\RadioSpi3Simple\radio_spi3_simple.hex"
'loadfile': Performing implicit reset & halt of MCU.
Reset type: NORMAL (https://kb.segger.com/J-Link_Reset_Strategies)
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Downloading file [d:\S32DS\workspaceKEIL\WL_RFM_MODULE_FSK_433_radio_spi3\build\RadioSpi3Simple\radio_spi3_simple.hex]...
****** Error: Timeout while preparing target, RAMCode did not respond in time!
Failed to perform RAMCode-sided Prepare()
O.K.
J-Link>r
Reset delay: 0 ms
Reset type: NORMAL (https://kb.segger.com/J-Link_Reset_Strategies)
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
J-Link>go
Memory map 'after startup completion point' is active
J-Link>exit
Script processing completed.
期望现象
<!--您期望应该产生的,但实际上却没有发生的结果-->
应当能正常烧录,现在无法下载