I meets two questions through USBDM to debug MKE04Z128VLK4.

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

I meets two questions through USBDM to debug MKE04Z128VLK4.

ソリューションへジャンプ
786件の閲覧回数
wangbaode
Contributor IV

hi pgo,

I meets two questions through USBDM to debug MKE04Z128VLK4.

1,when i use ARM programmer to detect chip,MKE04Z128VLK4 is not a member of the result. result only contains MKE04Z8 and MKE04Z64.

and chip ID is 4280040.

pastedImage_0.png

2,when i use codewarrior to debug MKE04Z128,a error dialog comes out.

pastedImage_1.png

I think it's a new question.

タグ(2)
0 件の賞賛
返信
1 解決策
534件の閲覧回数
pgo
Senior Contributor V

Hi Wang,

there is an error in the arm_device.xml file.  Please find the entry for MKE04Z128M4 and change the 1st two digits of the sdid value to match the one your quoted.

e.g.

<sdid value="0x04000000" />

(only the 1st two digits are used 04 => MKE04xxx)

Let me know if this works for both cases.

bye

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
534件の閲覧回数
pgo
Senior Contributor V

Hi Wang,

Thanks, I'll update the installation file.

I'm a bit puzzled as the PA60 is meant to have an ID of 0x0000.  It looks like there is actually a bug causing it to use the PT60 ID which it is aliased to.

bye

0 件の賞賛
返信
535件の閲覧回数
pgo
Senior Contributor V

Hi Wang,

there is an error in the arm_device.xml file.  Please find the entry for MKE04Z128M4 and change the 1st two digits of the sdid value to match the one your quoted.

e.g.

<sdid value="0x04000000" />

(only the 1st two digits are used 04 => MKE04xxx)

Let me know if this works for both cases.

bye

0 件の賞賛
返信
534件の閲覧回数
wangbaode
Contributor IV

Hi pgo,

according to your suggestion. I change the sdid value as 0x04280040. USBDM works well.ARM programmer can detect MKE04Z128VLK4,and codewarrior can debug the chip through USBDM.

but USBDM still can't debug PA60.can i change sdid like MKE04Z128 to detect PAxx?

thanks.

0 件の賞賛
返信
534件の閲覧回数
wangbaode
Contributor IV

hi pgo,

according to the way of MKE04Z128VLK4,I open hcs08_device.xml and find the entry of PT60.

I find the <sdid value="0x2040" />.but according to detected result,the id of pA60 is 0x4040.so I update the sdid as 0x4040.

I retry to detect MC9S08PA60.It's surprising that USBDM can detect pt60 and codewarrior can debug the chip.

so I think it's a mistake.could you recorrect the errors for a new version.

bye

0 件の賞賛
返信