Hi, is there any way that i can add device for MK22F in USBDM arm devices?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Hi, is there any way that i can add device for MK22F in USBDM arm devices?

ソリューションへジャンプ
1,555件の閲覧回数
abdulaziz
Contributor I

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.

1 解決策
1,242件の閲覧回数
pgo
Senior Contributor V

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

元の投稿で解決策を見る

2 返答(返信)
1,243件の閲覧回数
pgo
Senior Contributor V

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

1,242件の閲覧回数
abdulaziz
Contributor I

the ID is (1315)
and below is the screenshot.. thanks a lot..:smileyhappy:

Capture.PNG.png

0 件の賞賛
返信