查看: 4617|回复: 5

[已解决] MK64 烧录不成功

[复制链接]

该用户从未签到

2

主题

5

帖子

0

新手上路

Rank: 1

积分
46
最后登录
2022-9-2
发表于 2018-8-29 11:32:10 | 显示全部楼层 |阅读模式
使用PE Micro烧录,之前一直都是成功的,现在烧录不成功,用之前烧录成功,使用也正常的板子也是不成功,信息如下

P&E GDB Server, Version 5.13.02.00
Copyright 2014, P&E Microcomputer Systems Inc, All rights reserved

Loading library C:\Freescale\KDS_2.0.0\eclipse\plugins\com.pemi
cro.debug.gdbjtag.pne_1.1.7.201410171532\win32\gdi\unit_ngs_arm_internal.dll ... Done.

Command line arguments: -device=K64FX512M12 -startserver -singlesession -serverport=7224 -interface=USBMULTILINK -speed=5000 -resetdelay=200 -port=USB1 -USE_CYCLONEPRO_RELAYS=0 -FORCE_MASS_ERASE=0
Device selected is k64fx512m12
User Specified Hardware Selection : Interface=USBMULTILINK and Port=USB1
Connecting to target.
P&E Interface detected - Flash Version 6.10

Device is K64FX512M12.

Mode is In-Circuit Debug.

'Kinetis' is a registered trademark of Freescale.

(C)opyright 2012, P&E Microcomputer Systems, Inc. (www.pemicro.com)
API version is 101

Server running on 127.0.0.1:7224
Connection from "127.0.0.1" via 127.0.0.1
Copyright 2012 P&E Microcomputer Systems,Inc.
Command Line :C:\Freescale\KDS_2.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_1.1.7.201410171532\win32\pegdbserver_console -device=K64FX512M12 -startserver -singlesession -serverport=7224 -interface=USBMULTILINK -speed=5000 -resetdelay=200 -port=USB


CMD>RE


Initializing.
Target has been RESET and is active.
CMD>CM C:\Freescale\KDS_2.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_1.1.7.201410171532\win32\gdi\P&E\k64fx512m12_pflash_dflash_eeprom_pipeline.arp


Initializing.
Initialized.


;version 1.02, 02/04/2014, Copyright P&E Microcomputer Systems, www.pemicro.com [mk64_512k_x_pflash_dflash_eeprom_pipeline]


;device freescale, k64fx512m12, desc=pflash_dflash_eeprom_pipeline


;begin_cs device=$00000000, length=$14004000, ram=$20000000


Loading programming algorithm ...
Done.
CMD>EM


Erasing.
Module has been erased.


Initializing.
Initialized.


;version 1.02, 02/04/2014, Copyright P&E Microcomputer Systems, www.pemicro.com [mk64_512k_x_pflash_dflash_eeprom_pipeline]


;device freescale, k64fx512m12, desc=pflash_dflash_eeprom_pipeline


;begin_cs device=$00000000, length=$14004000, ram=$20000000


Loading programming algorithm ...
Done.
CMD>PM


Programming.
Processing Object File Data ...

.
Programmed.
CMD>VC
Verifying object file CRC-16 to device ranges ...
   block 00000000-0001A01B ...
Ok.

   Checksum Verification Successful. (Cumulative CRC-16=$1E4A)



CMD>RE


Initializing.
Target has been RESET and is active.
Preset breakpoint encountered.


Disconnected from "127.0.0.1" via 127.0.0.1
Target Disconnected.


最佳答案

乐乐家样样 发表于 2018-8-30 08:55 Warning: the current language does not match this frame. The target endianness is set automatically  ... 你好,你上面信息是编译出现的吗? 还有debug的时候, ...
1535513438(1).png
回复

使用道具 举报

该用户从未签到

723

主题

6382

帖子

0

超级版主

Rank: 8Rank: 8

积分
25444
最后登录
2025-9-4
发表于 2018-8-29 14:35:42 | 显示全部楼层
project那里怎么是空的?
还有你的KDS版本是不是太老了,和我界面有区别。
建议你到官网下载个最新的KDS IDE试试:
www.nxp.com/kds
4.jpg
回复 支持 反对

使用道具 举报

该用户从未签到

2

主题

5

帖子

0

新手上路

Rank: 1

积分
46
最后登录
2022-9-2
 楼主| 发表于 2018-8-29 15:55:02 | 显示全部楼层
这是在没有project的情况下下载ELF文件,所以没有工程,之前下载也成功地
回复 支持 反对

使用道具 举报

该用户从未签到

723

主题

6382

帖子

0

超级版主

Rank: 8Rank: 8

积分
25444
最后登录
2025-9-4
发表于 2018-8-29 16:30:45 | 显示全部楼层
乐乐家样样 发表于 2018-8-29 15:55
这是在没有project的情况下下载ELF文件,所以没有工程,之前下载也成功地

我个人感觉这个下载按钮不是非常好用,建议你直接下载工程,要么生成.hex用烧录器烧。
回复 支持 反对

使用道具 举报

该用户从未签到

2

主题

5

帖子

0

新手上路

Rank: 1

积分
46
最后登录
2022-9-2
 楼主| 发表于 2018-8-30 08:55:22 | 显示全部楼层
本帖最后由 乐乐家样样 于 2018-8-30 11:55 编辑

Warning: the current language does not match this frame.
The target endianness is set automatically (currently little endian)
No source file named I:\\\\EP301_workstation\\\\KDS\\\\KDS_TCP\\\\301_test\\\\Debug/../Sources/ping.c.
continue
Continuing.
Note: automatically using hardware breakpoints for read-only addresses.

Temporary breakpoint 2, main () at ../Sources/echo.c:210
210                userConfig.isChipSelectContinuous = false;


在有工程的情况下烧录的状况如上,烧录也不成功
PING.C文件被改名后重新编译成功了,为什么还会有这样的问题,要怎么处理
回复 支持 反对

使用道具 举报

该用户从未签到

723

主题

6382

帖子

0

超级版主

Rank: 8Rank: 8

积分
25444
最后登录
2025-9-4
发表于 2018-8-30 13:26:42 | 显示全部楼层
乐乐家样样 发表于 2018-8-30 08:55
Warning: the current language does not match this frame.
The target endianness is set automatically  ...

你好,你上面信息是编译出现的吗?
还有debug的时候,把log也发出来看看。
实在不行,你把工程给我看看。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /3 下一条

Archiver|手机版|小黑屋|恩智浦技术社区

GMT+8, 2025-9-6 09:48 , Processed in 0.108186 second(s), 28 queries , MemCache On.

Powered by Discuz! X3.4

Copyright © 2001-2024, Tencent Cloud.

快速回复 返回顶部 返回列表