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.

ソリューションへジャンプ
2,939件の閲覧回数
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 解決策
2,626件の閲覧回数
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 返答(返信)
2,627件の閲覧回数
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,626件の閲覧回数
wangbaode
Contributor IV

Hi pgo,

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

bye

0 件の賞賛
返信