USBDM can't program MKL25Zxx

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

USBDM can't program MKL25Zxx

跳至解决方案
753 次查看
wangbaode
Contributor IV

Hi pgo,

I meet a question when i use usbdm Programmer to program MKL25Zxx.

I use advance options for program.and value is FFFFFFFFFFFFFFFFFFFFFFFFFEF0FFFF.

I program my application and program is downloaded into the chip.

when i program the chip again,It failed and chip ID can't be detected.

so I think it's a bug,do you have method to resolve the question?

bye

标记 (2)
0 项奖励
回复
1 解答
563 次查看
pgo
Senior Contributor V

Hi Wang,

I tried programming a test file to a MKL25 with the security setting you have and I was still able to re-program the chip when using MASS-ERASE option.

It failed to program using EraseAll but this isn't surprising since it may have problems with the RESET pin disabled with the settings you used.

Can you try with MASS-ERASE and advise if there is still a problem.

Alternatively can you provide the file you are programming for further testing.

bye

在原帖中查看解决方案

0 项奖励
回复
4 回复数
564 次查看
pgo
Senior Contributor V

Hi Wang,

I tried programming a test file to a MKL25 with the security setting you have and I was still able to re-program the chip when using MASS-ERASE option.

It failed to program using EraseAll but this isn't surprising since it may have problems with the RESET pin disabled with the settings you used.

Can you try with MASS-ERASE and advise if there is still a problem.

Alternatively can you provide the file you are programming for further testing.

bye

0 项奖励
回复
563 次查看
wangbaode
Contributor IV

Hi pgo,

according to your advice,I try MASS-Erase and I was able to re-program the chip.

thank you!

bye

0 项奖励
回复
563 次查看
galadragos
Contributor III

Other problems that I have encountered with similar effects are hardware related. A too long programming cable can capture noise and screw things up.

You can pull SWD_CLK and SWD_DATA to chip VCC using 1k resistors. This will make the connection more reliable.

0 项奖励
回复
563 次查看
wangbaode
Contributor IV

Thank you

0 项奖励
回复