USBDM can't program MKL25Zxx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USBDM can't program MKL25Zxx

Jump to solution
669 Views
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

Tags (2)
0 Kudos
1 Solution
479 Views
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

View solution in original post

0 Kudos
4 Replies
480 Views
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 Kudos
479 Views
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 Kudos
479 Views
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 Kudos
479 Views
wangbaode
Contributor IV

Thank you

0 Kudos