2015-07-17 02:48 AM
to be migrated, sourceId: 55562:697285D7-A9CA-445D-B16C-F23BF0E3B1A3
2015-07-17 04:52 AM
So the index [i] probably exceeds the bounds of the array.
Suggest you sanity check that i <Temperature_Channel
Print out diagnostic information to the console if that helps understand what's happening in your code. Use a proper Hard Fault handle that can display the registers and faulting address, and then look at a disassembly view of the failing code in that context.