I have problems to programming the MKV58F1M0VLQ24 (Cortex-M7) microcontroller with J-Link.
I did the various tests by selecting the device: MKV58F1M0xxx24 or MKV58F1M0xxx24 (allow security) but the result is always the same.
If I use J-Flash Lite, press ERASE button, after a few seconds I get the following:
[img]https://i.imgur.com/dVvCefV.png[/img]
If I use J-Link Commander, I can connect to the MKV58 without errors:
[img]https://i.imgur.com/IYVGUg0.png[/img]
But if I try to reset the microcontroller, I get an error:
[img]https://i.imgur.com/BiwkutI.png[/img]
I have also tried to select other reset modes (RSetType) but the result is always the same.
The HALT and GO commands work fine, in fact, the CPU stops and then restarts without errors:
[img]https://i.imgur.com/5jD8J94.png[/img]
The ERASE command (from J-Link Commander), work fine and after the memory is erased:
[img]https://i.imgur.com/cNVolXy.png[/img]
If I send my file ".bin" to the CPU with the "loadfile" command I get this warning:
[img]https://i.imgur.com/3Rnct9c.png[/img]
but in fact nothing has been loaded inside the CPU, in fact my program does not work.
Perhaps this problem can be caused by the protection to flash writing / reading?
So I use the "unLock Kinetis" command to unlock my cpu, and everything is done correctly:
[img]https://i.imgur.com/eYsIHU2.png[/img]
If I send my file ".bin" to the CPU with the "loadfile" now the messages are:
[img]https://i.imgur.com/YBkvKl2.png[/img]
Obviously the program has not been loaded into CPU memory, in fact it does not work.
I tried to program my CPU with other Debug Probe and everything worked fine so I do not think the problem is in my card.
If anyone has had experience of using J-Link with this kind of microprocessor and can give me some advice I'm grateful to.
Best regards
Andrea
I did the various tests by selecting the device: MKV58F1M0xxx24 or MKV58F1M0xxx24 (allow security) but the result is always the same.
If I use J-Flash Lite, press ERASE button, after a few seconds I get the following:
[img]https://i.imgur.com/dVvCefV.png[/img]
If I use J-Link Commander, I can connect to the MKV58 without errors:
[img]https://i.imgur.com/IYVGUg0.png[/img]
But if I try to reset the microcontroller, I get an error:
[img]https://i.imgur.com/BiwkutI.png[/img]
I have also tried to select other reset modes (RSetType) but the result is always the same.
The HALT and GO commands work fine, in fact, the CPU stops and then restarts without errors:
[img]https://i.imgur.com/5jD8J94.png[/img]
The ERASE command (from J-Link Commander), work fine and after the memory is erased:
[img]https://i.imgur.com/cNVolXy.png[/img]
If I send my file ".bin" to the CPU with the "loadfile" command I get this warning:
[img]https://i.imgur.com/3Rnct9c.png[/img]
but in fact nothing has been loaded inside the CPU, in fact my program does not work.
Perhaps this problem can be caused by the protection to flash writing / reading?
So I use the "unLock Kinetis" command to unlock my cpu, and everything is done correctly:
[img]https://i.imgur.com/eYsIHU2.png[/img]
If I send my file ".bin" to the CPU with the "loadfile" now the messages are:
[img]https://i.imgur.com/YBkvKl2.png[/img]
Obviously the program has not been loaded into CPU memory, in fact it does not work.
I tried to program my CPU with other Debug Probe and everything worked fine so I do not think the problem is in my card.
If anyone has had experience of using J-Link with this kind of microprocessor and can give me some advice I'm grateful to.
Best regards
Andrea