AnsweredAssumed Answered

KL17 Crashes When Setting Master Mode in Kinetis Studio Debug

Question asked by Ryan Bowen on Jan 3, 2017
Latest reply on Jan 8, 2017 by Kerry Zhou

Using Kinetis Studio 3.2.0.

Using OpenOCD to flash/debug the KL17.


When using a Debug build the following line of code causes unexpected execution and hard faults. 


I2C0->C1 |= I2C_C1_MST_MASK;

When using a Release build this does not occur. 


Any ideas on what the root cause of this.