FRDM-KL25Z - Cant load precompiled examples

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

FRDM-KL25Z - Cant load precompiled examples

跳至解决方案
2,615 次查看
stephenhewitson
Contributor III

Hi,

The title might be completely wrong, but I'm going to explain what I can and cant do and hopefully it will make sense.

I plug the board in using the SDA usb port. A virtual com port enumerates as a "OpenSDA - CDC Serial Port" (v1.1.2600.1). I also have v11.1.0.0 of Jungo installed. I dont have the PEMicro OpenSDA Debug Driver installed. A flash drive ("FRDM-KL25Z") appears with a couple of HTML files, some driver info, and a LASTSTAT.txt.

No software seems to be running on the Freescale ARM - no LEDs are flashing.

If I cycle the power holding the reset button, then the green LED flashes, and a flash drive "BOOTLOADER" appears. I copy "DEBUG-APP_Pemicro_v102" into the drive and cycle the power again. I dont get any prompts for the PEMicro OpenSDA Debug Driver.

Going back into BOOTLOADER, I load the "MSD-FRDM-KL25Z_Pemicro_v105" back into the device. Next I go into BOOTLOADER and try copying the *.srec files.

But nothing I do gets the tricoloured LED back up and flashing, or installs the OpenSDA debug drivers.

Am I doing something drastically wrong, and how can I get it back to the world of the living?

I've installed CodeWarrior 10.3 Beta and would desperately like to start some development.

Regards,

Stephen

标签 (1)
0 项奖励
回复
1 解答
1,900 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

do you use any windows explorer extensions? I have seen cases where such extensions affect the file copied. Can you try to copy the file using the command/DOS prompt?

Hope this helps,

Erich

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,901 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

do you use any windows explorer extensions? I have seen cases where such extensions affect the file copied. Can you try to copy the file using the command/DOS prompt?

Hope this helps,

Erich

0 项奖励
回复
1,900 次查看
stephenhewitson
Contributor III

Erich,

You have no idea how mad that was driving me. Is this just because I was using TeraCopy?

Thanks again for your quick response.

Stephen

0 项奖励
回复
1,900 次查看
BlackNight
NXP Employee
NXP Employee

Hi Stephen,

do you say it is working now (with the DOS/cmd prompt)?

So yes, it seems using 'special' utilities like TeraCopy or other File extensions have an impact how the data is transmitted. And it seems like the OpenSDA bootloader has issues with it.

Erich

0 项奖励
回复
1,900 次查看
stephenhewitson
Contributor III

Erich,

Using the command prompt worked for me. Presumably the issue on the k20 can't be fixed without new code and a jtag programmer. Just thinking out loud, would it be possible to use a second freedom board to reprogram the opensda debugger on the k20

Sent from Samsung Mobile

0 项奖励
回复
1,900 次查看
BlackNight
NXP Employee
NXP Employee

Hi Stephen,

no, the K20 cannot be re-programmed, as it is secured with mass erase disabled. See

Use removed MK20 part from freedom board

Erich

0 项奖励
回复