I have a MK64FN1M0VLL12 project where I can read, erase, and write flash sectors between 0x0000_0000 – 0x0007_FFFF, but when attempting to read or write above 0x0007_FFFF I get a hard fault.
When debugging the application using Kinetis Design Studio and attempting to view memory contents at 0x0008_0000 and above, I get "????????", which leads me to believe I’ve a project configuration issue that is limiting the project to 512K[0x0000_0000-0x0007_FFFF] access.
What register[s] should I look to, to enable reading and writing above address 0x0007_FFFF?
Project .FlashConfig section is configured as follows -
/* Flash Configuration */
.section .FlashConfig, "a"
.long 0xFFFFFFFF
.long 0xFFFFFFFF
.long 0xFFFFFFFF
.long 0xFFFFFFFE