Problem accessing MKL27Z256M4 using USBDM

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

Problem accessing MKL27Z256M4 using USBDM

ソリューションへジャンプ
1,603件の閲覧回数
uribendelac
Contributor III

Hi pgo,

I have a board populated with either a MKL25Z128M4 or MKL27Z256M4 (they are pin compatible, the later basically with twice the flash and ram memory). I have no problem flashing and debugging the MKL25Z128M4 based board, but when I try to access the MKL27Z256M4, the debugger fails with error that the "Target device does not agree with selected". Using the stand alone ARM programmer, when I press the "Detect Chip" button, it will say it is unidentified, with Chip ID 23161d82. It will allow me to erase the chip, but not program it, reporting the same error about the Chip ID not being correct. According to the Reference Manual of this chip, document KL27P64M48SF6RM, the value 23161d82 for the SIM_SDID is indeed correct (the second 1 is the revision number and may change in the future, but all other fields are correct). It seems as if the software assumes an incorrect Chip ID? Is there a way around that?

Thanks,

Uri

0 件の賞賛
返信
1 解決策
1,380件の閲覧回数
uribendelac
Contributor III

OK, I have found the XML file where those SDID values are defined (arm_devices.xml), and indeed it had an incorrect value: 27160d80, which should be fixed to 23160d80.

I can now use the flash programmer and the debugger normally.

Uri

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,381件の閲覧回数
uribendelac
Contributor III

OK, I have found the XML file where those SDID values are defined (arm_devices.xml), and indeed it had an incorrect value: 27160d80, which should be fixed to 23160d80.

I can now use the flash programmer and the debugger normally.

Uri

0 件の賞賛
返信
1,380件の閲覧回数
pgo
Senior Contributor V

Hi Uri,

I will correct this in the next version.

It would appear that the KL27 in that size is actually a KL23 family?

bye

0 件の賞賛
返信
1,380件の閲覧回数
uribendelac
Contributor III

Hi pgo,

I believe the MKL27Z128 and MKL27Z256 are identical to the corresponding MKL43Z components, except their LCD related functionality has been disabled. I also seem to recall reading somewhere that the MKL27Z64 and MKL27Z32 are a slightly different core, which would explain why they have a separate Reference Manual.

Regards,

Uri

0 件の賞賛
返信