MCUXpresso Memory map

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCUXpresso Memory map

2,312 Views
coheneyal486
Contributor I

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:

Capture.JPG

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?

2.JPG

Will it brick my MCU?

Thanks!

Labels (1)
0 Kudos
1 Reply

2,280 Views
nxf63973
NXP Employee
NXP Employee

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

0 Kudos