bean IntEEProm for MC9S08PA16

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

bean IntEEProm for MC9S08PA16

1,002 次查看
edsonabreu
Contributor I


Hi,

 

           I'm trying to use bean IntEEProm for MC9S08PA16 but when I put the address 0x3100 as a start adrress of EEProm the CodeWarrior gives me a error "Memory is already used for the component CPU".

          What's the problem?

          This is my first time I'm using internal EEPROM to write data.

          If there is a better way to do the same, please send me.

 

Thanks a lot

 

Edson

标签 (1)
0 项奖励
回复
1 回复

822 次查看
trytohelp
NXP Employee
NXP Employee

Hi Edson,

Sorry for the delay.

By default when you create a project through the wizard for S08PA16 with Processor Expert (PE), PE will generate the linker parameter file (.prm).

The EEPROM module is already defined for the prm:

pastedImage_0.png

After to added the Bean

      Component: IEE1 of type IntEEPROM

      Description: Internal EEPROM

You must modify the Memory mapping.

So I've disable the Memory Area4.

Now the error disappears and I can generate PE code and build the project without problem.

Attached you will find the project used ...

Hope this will help you.


Have a great day,
Pascal

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复