I tried to program on MK22FN1 using USBDM but failed, when i take a look on it, it appear that it doesn't have device for MK22F series..
is there any way that I can add that device?
I tried to add the device by myself but failed.
Solved! Go to Solution.
Hi Abdul,
you can try adding the following entry to the arm_devices.xml file (before the MK30 entries):
<!-- MK22-M12-->
<device name="MK22FX512M12" family="CortexM4F" subfamily="MK22D12">
<memoryRef ref="kinetis128K_Ram" />
<memoryRef ref="FTFE_PFlash0_SEC_256K_4KS" />
<memoryRef ref="FTFE_PFlash1_256K_4KS" />
<memoryRef ref="FTFE_DFlash0_512K_4KS" />
<memoryRef ref="kinetisIO_MK" />
<sdid value="0x00000310" />
<flashProgramRef ref="Kinetis-FTFE-flash-program" />
<gnuInfoListRef ref="gnuSettings.cortex.m4" />
<registerDescriptionRef ref="CortexM4F-register-description" />
<fileListRef ref="Kinetis-MK-file-list" />
</device>
<device name="MK22FN1M0M12" family="CortexM4F" subfamily="MK22D12">
<memoryRef ref="kinetis128K_Ram" />
<memoryRef ref="FTFE_PFlash0_SEC_256K_4KS" />
<memoryRef ref="FTFE_PFlash1_256K_4KS" />
<memoryRef ref="FTFE_PFlash2_256K_4KS" />
<memoryRef ref="FTFE_PFlash3_256K_4KS" />
<memoryRef ref="kinetisIO_MK" />
<sdid value="0x00000310" />
<flashProgramRef ref="Kinetis-FTFE-flash-program" />
<gnuInfoListRef ref="gnuSettings.cortex.m4" />
<registerDescriptionRef ref="CortexM4F-register-description" />
<fileListRef ref="Kinetis-MK-F-file-list" />
</device>
You may need to adjust the SDID value to that reported by the programmer.
Please let me know if this works (along with the reported SDID).
thanks
Hi Abdul,
you can try adding the following entry to the arm_devices.xml file (before the MK30 entries):
<!-- MK22-M12-->
<device name="MK22FX512M12" family="CortexM4F" subfamily="MK22D12">
<memoryRef ref="kinetis128K_Ram" />
<memoryRef ref="FTFE_PFlash0_SEC_256K_4KS" />
<memoryRef ref="FTFE_PFlash1_256K_4KS" />
<memoryRef ref="FTFE_DFlash0_512K_4KS" />
<memoryRef ref="kinetisIO_MK" />
<sdid value="0x00000310" />
<flashProgramRef ref="Kinetis-FTFE-flash-program" />
<gnuInfoListRef ref="gnuSettings.cortex.m4" />
<registerDescriptionRef ref="CortexM4F-register-description" />
<fileListRef ref="Kinetis-MK-file-list" />
</device>
<device name="MK22FN1M0M12" family="CortexM4F" subfamily="MK22D12">
<memoryRef ref="kinetis128K_Ram" />
<memoryRef ref="FTFE_PFlash0_SEC_256K_4KS" />
<memoryRef ref="FTFE_PFlash1_256K_4KS" />
<memoryRef ref="FTFE_PFlash2_256K_4KS" />
<memoryRef ref="FTFE_PFlash3_256K_4KS" />
<memoryRef ref="kinetisIO_MK" />
<sdid value="0x00000310" />
<flashProgramRef ref="Kinetis-FTFE-flash-program" />
<gnuInfoListRef ref="gnuSettings.cortex.m4" />
<registerDescriptionRef ref="CortexM4F-register-description" />
<fileListRef ref="Kinetis-MK-F-file-list" />
</device>
You may need to adjust the SDID value to that reported by the programmer.
Please let me know if this works (along with the reported SDID).
thanks
the ID is (1315)
and below is the screenshot.. thanks a lot..:smileyhappy: