Memory configuration file for MKL26Z32

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

Memory configuration file for MKL26Z32

Jump to solution
1,237 Views
ulivinico1
Contributor II

Is there any available memory configuration file such as MKL26Z32.mem for MKL26Z32 Microcontroller?

I have the file MKL26Z128.mem that has the following settings and I need to modify it for MKL26Z32 Microcontroller. Any help? Thank you.

MKL26Z128.mem   ->

-------------------------------------------------------------------------

// Memory Configuration File
//
// Description:
// A memory configuration file contains commands that define the legally accessible
// areas of memory for your specific board. Useful for example when the debugger
// tries to display the content of a "char *" variable, that has not yet been initialized.
// In this case the debugger may try to read from a bogus address, which could cause a
// bus error.
//
// Board:
// Kinetis KL26Z128M4
//
// Reference:
// -


// All reserved ranges read back 0xBABA...
reservedchar 0xBA

usederivative "MKL26Z4"

// Memory Map:
// ----------------------------------------------------------------------

range 0x00000000 0x0001FFFF 4 ReadWrite // 128KB Code Flash
reserved 0x00020000 0x1FFFEFFF
range 0x1FFFF000 0x20002FFF 4 ReadWrite // 16KB On chip SRAM
reserved 0x20003000 0x3FFFFFFF
reserved 0x60000000 0xDFFFFFFF

 

-------------------------------------------------------------------------

0 Kudos
Reply
1 Solution
1,224 Views
EdwinHz
NXP TechSupport
NXP TechSupport

You can let the IDE to generate one for you by creating a new project and using that as a template, like said on this post:

https://community.nxp.com/t5/CodeWarrior-for-MCU/Memory-configuration-file-error/td-p/154522

 

I hope this helps,

Edwin.

View solution in original post

1 Reply
1,225 Views
EdwinHz
NXP TechSupport
NXP TechSupport

You can let the IDE to generate one for you by creating a new project and using that as a template, like said on this post:

https://community.nxp.com/t5/CodeWarrior-for-MCU/Memory-configuration-file-error/td-p/154522

 

I hope this helps,

Edwin.