Hi Rhys Drummond,
Would you please tell us the MaskSet and PartNumber of the two versions K21 chip?

When create an MCU project based on Processor Expert, I can only find the difference between Device(MK21FX512 and MK21FX512A).

It will include difference headfiles(base on different Reference Manual K22P121M120SF5RM and K22P121M120SF5V2RM).

Please refer Debugging Hard Faults on ARM Cortex-M find out what is causing the problem.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------