Arin Kudlacek - 2022-08-11

I am running into an issue programming a NXP MKV42F64VLH16 with the USBDM flash programmer application. I modified arm_kinetis_devices.xml with the following:

<device name="MKV42F64VLH16" family="CortexM4F" subfamily="MKV42F64">
<memoryref ref="kinetis_M4_16K_16K_Ram">
<memoryref ref="FTFA_PFlash0_SEC_64K_2KS">
<memoryref ref="kinetisIO_MK">
<sdid value="0x41601145" mask="0xFFF00F80">
<tclscriptref ref="Kinetis-MKxx-Scripts">
<flashprogramref ref="Kinetis-FTFA-MK-flash-program">
<registerdescriptionref ref="CortexM4F-register-description">
<note>KV4XP100M150RM</note>
</registerdescriptionref></flashprogramref></tclscriptref></sdid></memoryref></memoryref></memoryref></device>

It appears that I can erase fine but I cannot program. It's gives some kind of error about not being able to communicate with the target.

Any help appreciated.

Thank you,


Arin