bean IntEEProm for MC9S08PA16

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

bean IntEEProm for MC9S08PA16

520 Views
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

Labels (1)
0 Kudos
1 Reply

340 Views
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 Kudos