USBDM can't program MKL25Zxx

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USBDM can't program MKL25Zxx

ソリューションへジャンプ
932件の閲覧回数
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 解決策
742件の閲覧回数
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 返答(返信)
743件の閲覧回数
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 件の賞賛
返信
742件の閲覧回数
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 件の賞賛
返信
742件の閲覧回数
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 件の賞賛
返信
742件の閲覧回数
wangbaode
Contributor IV

Thank you

0 件の賞賛
返信