|
发表于 2014-6-25 16:35:53
|
显示全部楼层
本帖最后由 ln08136207 于 2014-6-25 16:51 编辑
楼主,使用第一种方法发现我的vectors.c中没有4个CONIFG_x配置信息,于是改用你的第二种方法.
但是,在debug时后出现:
Wed Jun 25, 2014 16:35:33: Logging to file: D:\projects\cspycomm.log
Wed Jun 25, 2014 16:35:33: JLINK command: ProjectFile = D:\projects\settings\
GPIO_demo_frdm_FLASH_64KB_PFLASH.jlink, return = 0
Wed Jun 25, 2014 16:35:33: Device "MKE02Z16XXX2" selected (16 KB flash, 2 KB RAM).
Wed Jun 25, 2014 16:35:33: DLL version: V4.74a, compiled Jul 23 2013 08:47:58
Wed Jun 25, 2014 16:35:33: Firmware: J-Link ARM V8 compiled Sep 20 2013 15:09:45
Wed Jun 25, 2014 16:35:33: Selecting SWD as current target interface.
Wed Jun 25, 2014 16:35:33: JTAG speed is initially set to: 32 kHz
Wed Jun 25, 2014 16:35:33: Found SWD-DP with ID 0x0BC11477
Wed Jun 25, 2014 16:35:33: Found SWD-DP with ID 0x0BC11477
Wed Jun 25, 2014 16:35:33: FPUnit: 2 code (BP) slots and 0 literal slots
Wed Jun 25, 2014 16:35:33: Found Cortex-M0 r0p0, Little endian.
Wed Jun 25, 2014 16:35:34: Hardware reset with strategy 0 was performed
Wed Jun 25, 2014 16:35:34: Initial reset was performed
Wed Jun 25, 2014 16:35:35: J-Link: Flash download: Flash programming performed for 1 range (512 bytes)
Wed Jun 25, 2014 16:35:35: J-Link: Flash download: Total time needed: 1.418s (Prepare: 1.280s, Compare: 0.032s, Erase: 0.023s, Program: 0.031s,
Verify: 0.015s, Restore: 0.035s)
Wed Jun 25, 2014 16:35:35: 14696 bytes downloaded and verified (8.50 Kbytes/sec)
Wed Jun 25, 2014 16:35:35: Warning:
Verify error at address 0x0000040E, target byte: 0xFE, byte in file: 0xFF //这里说明我没写进去?
Wed Jun 25, 2014 16:35:37: Warning: There were warnings during download, see Log Window
Wed Jun 25, 2014 16:35:37: Loaded debugee: D:\projects\GPIO_demo_frdm.out
Wed Jun 25, 2014 16:35:37: Hardware reset with strategy 0 was performed
Wed Jun 25, 2014 16:35:37: Target reset
Wed Jun 25, 2014 16:35:38: There was 1 warning during the initialization of the debugging session.
|
|