9 karma · joined Dec 27, 2019 (6y ago) · 3 submissions
comment 6y ago · link · parent
comment 6y ago · link · parent
Even if I did drill holes in the casing and probe components, I have no way of knowing if what I'm seeing is expected or not without a schematic.
comment 6y ago · link · parent
Let me say it again: you're taking an ADC reading (in the range of 0-1023) and accessing it as if it's a memory address.
To make things worse, addresses 0 through 1023 on the Kinetis you're using are the vector table. Take a look at that part of your firmware: it's extremely predictable, and only contains a small number of possible values.