USBDM device detection of KV46

cancel
Showing results for 
Search instead for 
Did you mean: 

USBDM device detection of KV46

779 Views
jirictibor
Contributor I

Hi pgo‌,

this discussion is determined to you as a USBDM developer. First of all, thank you for all, that you find some time for this project. What's going on...

I would like to debug my project with Kinetis KV46 MCU and I found some problem with connecting USBDM to the device. While using USBDM_JS16_SWD, it wrote that target device does not match with the selected device. Hopefully, my selection in the project is correct. When I tried to detect it via ARM Flash programmer you provided, it is detected as MK20 as you can see in the following picture:

pastedImage_3.png

I already read some discussions here, that times to times there was a similar problem with device detection. Is it possible to repair it? I've tried to find in your firmware some definitions for detection of devices but actually, I did not find anything.

The version I am using is: 4.12.1.170

If you need more information please write me.

Thank you very much,

Best regards.

Tags (2)
0 Kudos
3 Replies

519 Views
jirictibor
Contributor I

Hi,

Ok i will try it thx.

0 Kudos

519 Views
pgo
Senior Contributor V

Hi Jiri,

Please try the current version - 4.12.1.180.

bye

0 Kudos

519 Views
pgo
Senior Contributor V

Hi Jiri,

I do not have a KV46 for testing so the SDID being used for the device is based on the information in the device manual which I have read incorrectly.

If you check the C:\Program Files (x86)\pgo\USBDM 4.12.1.170\DeviceData files for the ARM devices you should be able to locate the entry and correct it.

Look for:

 

 <device name="MKV44F64M16" family="CortexM4F" subfamily="MKV44F16">
      <memoryRef ref="kinetis16K_16K_Ram" />
      <memoryRef ref="FTFA_PFlash0_SEC_64K_2KS" />
      <memoryRef ref="kinetisIO_MK" />
      <sdid value="0x44601145" mask="0xFFF00F80" />
      <tclScriptRef ref="Kinetis-MKxx-Scripts" />
      <flashProgramRef ref="Kinetis-FTFA-MK-flash-program" />
      <registerDescriptionRef ref="CortexM4F-register-description" />
      <note>KV4XP100M150RM</note>
   </device>x

or similar and correct the <sdid..../> line

bye

0 Kudos