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
Solved! Go to Solution.
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
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
Hi pgo,
according to your advice,I try MASS-Erase and I was able to re-program the chip.
thank you!
bye
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.
Thank you