It is not stable that to use usbdm debug MK60DN512 in cw10.6.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

It is not stable that to use usbdm debug MK60DN512 in cw10.6.

跳至解决方案
1,267 次查看
wangbaode
Contributor IV

dear pgo,

It is not stable that to use usbdm debug MK60DN512 in cw10.6. The error is in pic1.

but I can program it through arm programmer . in kds ,it alse can work.

bye

标记 (2)
0 项奖励
回复
1 解答
954 次查看
pgo
Senior Contributor V

Hi Wang,

I tested with a TWR-K60N512 which I hope would be similar to the hardware you are using.

The flash project worked OK.

For RAM target you may need to make sure the options are set correctly to avoid it erasing the Flash and trying to program the security.  The flash should already contain a dummy program as well to avoid issues with resetting a blank device.

pastedImage_1.png

Let me know if this doesn't help.

FYI the last part of the log showing successful programming (download):

Starting 3rd party flash programming...

DiMemoryDownload() - DI_DNLD_TERMINATE - Programming memory image...

===========================================================

Programming target

    Device = 'MK60DN512ZM10'

    Trim, F=0, NVA@0000, clock@0000

    Ram[1FFF0000...2000FFFF]

    Erase=EraseNone

    Security=default

    Total bytes=5320

    doRamWrites=T

Erase Time = 0.25 s, Speed = 20.60 kBytes/s, rc = 0

Programming & verifying Time = 0.40 s, Speed = 13.15 kBytes/s, rc = 0

DiMemoryDownload() - DI_DNLD_TERMINATE - Programming complete, rc = 0

DiMemoryDownload() - DI_DNLD_TERMINATE - Resetting target

bye

在原帖中查看解决方案

0 项奖励
回复
2 回复数
955 次查看
pgo
Senior Contributor V

Hi Wang,

I tested with a TWR-K60N512 which I hope would be similar to the hardware you are using.

The flash project worked OK.

For RAM target you may need to make sure the options are set correctly to avoid it erasing the Flash and trying to program the security.  The flash should already contain a dummy program as well to avoid issues with resetting a blank device.

pastedImage_1.png

Let me know if this doesn't help.

FYI the last part of the log showing successful programming (download):

Starting 3rd party flash programming...

DiMemoryDownload() - DI_DNLD_TERMINATE - Programming memory image...

===========================================================

Programming target

    Device = 'MK60DN512ZM10'

    Trim, F=0, NVA@0000, clock@0000

    Ram[1FFF0000...2000FFFF]

    Erase=EraseNone

    Security=default

    Total bytes=5320

    doRamWrites=T

Erase Time = 0.25 s, Speed = 20.60 kBytes/s, rc = 0

Programming & verifying Time = 0.40 s, Speed = 13.15 kBytes/s, rc = 0

DiMemoryDownload() - DI_DNLD_TERMINATE - Programming complete, rc = 0

DiMemoryDownload() - DI_DNLD_TERMINATE - Resetting target

bye

0 项奖励
回复
954 次查看
wangbaode
Contributor IV

Hi pgo,

Thanks for your reply. According to your suggest, It works well .

bye

0 项奖励
回复