Hello,
I am using Keil IDE to develop application on Freescale Kinetis K60N512 micro-controller. The Kientis K60N512 has 512 KB of flash memory which consists of
[1] 256 KB block from 0x0000 0000 to 0x0003 FFFF and [2] 256 KB block from 0x0004 0000 to 0x0007 FFFF
The this two memory blocks can be swapped using a configuration register.
Should both block be part of IROM1: start = 0x0000 0000 and size = 0x80000 (This configuration does not give error)
or
configured as IROM1: start = 0x0000 0000 and size = 0x40000 IROM1: start = 0x0004 0000 and size = 0x40000 This configuration generated Hardware fault when built code is debug.
What is the right method to configure two flash memory block in target options?
Thanks & Regards, Dhaval Shah