MC9S12XHz512 memory problem

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

MC9S12XHz512 memory problem

跳至解决方案
3,438 次查看
SARY
Contributor III

hello everyone

   I m using controller as mentiond above.I m facing some memory problem wd dat though code size is not too large.How Can I do its memory mapping as per my requirement .where sould I make changes for dat.

SARY

标签 (1)
0 项奖励
回复
1 解答
1,642 次查看
kef
Specialist I

You don't have to remember license no, but you should have license.dat file. If you lost it, then I guess you should

submit service request here:

https://www.freescale.com/webapp/servicerequest.create_SR.framework

在原帖中查看解决方案

0 项奖励
回复
8 回复数
1,642 次查看
isionous
Contributor III
What exactly is your memory problem?  You are running out of RAM?  EEPROM?  Flash?  What is your code size?  Does the linker give you a particular error message?
0 项奖励
回复
1,642 次查看
SARY
Contributor III

hi

   sorry for the late reply.Actually,When I am trying to add some more  files to the code .It shows some link error.But when I remove these files ,it disappears.

 

I just wanna know how do we make the RAM ,ROM,flash memory register setting for MC9S12XHZ512 controller.

Anyhelp ,would be appreciable.

 

SARY

0 项奖励
回复
1,642 次查看
isionous
Contributor III

SARY wrote: When I am trying to add some more  files to the code .It shows some link error.But when I remove these files ,it disappears.

 

You need to provide more details.  What is the linker error?

 

SARY wrote: I just wanna know how do we make the RAM ,ROM,flash memory register setting for MC9S12XHZ512 controller.

 

I don't understand that sentence.  Are you talking about the RPAGE, EPAGE, and PPAGE registers that allow you to access paged RAM/EEPROM/FLASH?  Are you wondering how to place certain code/data in certain places?

0 项奖励
回复
1,642 次查看
SARY
Contributor III

 

Hi

I am facing problem with code size of the memory.Right now we are able to use code size upto 32KB. beyond that ,it gives error.Now I want to extend the code size of the controller.As the memory of controler is 512 KB. I m using  only 32 KB code and 6KB data.How can I use rest of the memory?

Is there anyway to increase code memory of controller?

Is there any register setting for initializing code memory  location and where?

 

waiting for reply.

SARY 

0 项奖励
回复
1,642 次查看
kef
Specialist I

Sounds like Codewarrior license issue. Are you are running free special edition with 32k code size limit? If not then probably something is wrong with your license.

0 项奖励
回复
1,642 次查看
SARY
Contributor III

hi Kef

  Thanks for ur help.

   I think you got it right.It has some liecnse problem because it gives error like"Code size limited edition upto 32 K".

But we have got original CD's ,we dont remember its license no.Can we know the license number by sending part no. of code warrior along with Version No.

Can you please tell me  the procedure for that?

 

SARY

0 项奖励
回复
1,643 次查看
kef
Specialist I

You don't have to remember license no, but you should have license.dat file. If you lost it, then I guess you should

submit service request here:

https://www.freescale.com/webapp/servicerequest.create_SR.framework

0 项奖励
回复
1,642 次查看
SARY
Contributor III

hi kef

   Thanks for your support.

my problem has been  resolved.it was due to license key only.

 

SARY

0 项奖励
回复