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
Solved! Go to Solution.
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
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
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
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