Memory configuration file for MKL26Z32

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Memory configuration file for MKL26Z32

跳至解决方案
1,137 次查看
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 项奖励
回复
1 解答
1,124 次查看
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.

在原帖中查看解决方案

1 回复
1,125 次查看
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.