Hi, I use MCUXpresso with mk10dn512xxx10.
In order to avoid bricking my MCU I want to figure out more details about the process of writing my code to the flash by MCUXpresso.
When I download the program to the flash I debug as SEGGER JLink probes, but if my program is burnt to address 0x0--0x080000:
Now, according to the reference manual of the MK10dn512, the security byte is located at the address of 0x40C.
Does MCUXpresso know by default how to handle this area (0x40C) when it writes my code to the flash?
For example, what will happen if I change the Flash parameter of MCUXpresso to be from 0x1000 to 0x80000 as mentioned below?
Will it brick my MCU?
Thanks!
Hi Eyal
The memory map is used by MCUXpresso IDE to drive the “managed linker script” mechanism. Any area outside the memory settings will not be managed by the linker script, including the control registers.
For a better reference look at the memory configurations in Chapter 17 of the MCUXpresso IDE User Guide.
Please let me know if you need any more information.
Regards
Jose