Bean for IEE1(Processor Expert)memory map conflict

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

Bean for IEE1(Processor Expert)memory map conflict

3,197 Views
Shirley
Contributor I
Hi:

The bean for IEE1 that generated by Processor Expert is confilct with the bean for CPU.
I'm using MC9S12B128. There is 1k build in EEPROM and it is enabled in bean CPU. Address is 0x2800
Also I enabled bean IEE1 to generate the code for this 1K EEPROM. In the inspector I set the same address.
Both bean have the same info for one memory area
But the error says "Memory is already used by another device".
How do I get the code for IEE1?

Any suggestion?
Thanks for the help

Shirley
Labels (1)
Tags (1)
0 Kudos
6 Replies

663 Views
ProcessorExpert
Senior Contributor III

Hi,

What versions of CodeWarrior and Processor Expert plug-in do you use?

Best Regards, Processor Expert Support

0 Kudos

663 Views
Shirley
Contributor I
I have CodeWarrior IDE v5.7.0
ProcessorExpert v2.96

I disabled the EEPROM_2800 in build option of the CPU bean and then the conflict went away. I don't know if it is right.

Thanks

Shirley
0 Kudos

663 Views
ProcessorExpert
Senior Contributor III
The "Internal EEPROM mapping" property determines an address into internal address area, it means an address of whole eeprom area. The "EEPROM start address" property from IntEEPROM bean defines start address of area used by IntEEPROM bean only. And then the EEPROM memory area address from build options page determines rest of EEPROM memory that will be generated as section to .PRM file to next using. If you use whole EEPROM for IntEEPROM bean, the memory area in built option should be disabled.
 
Example:
- Internal EEPROM mapping ... $2800 in cpu bean in properties page
- EEPROM start address ... 2800 in IntEEPROM bean
- Used size ....0x100 in IntEEPROM bean (this area will be controlled by bean)
- then in built option address should be set as 2900 and size 0x2F0 (rest of EEPROM).
 
Best Regards,
Jan Pospisilik
Processor Expert Support
 
 
0 Kudos

663 Views
admin
Specialist II

please i need help about eeprom :

 

i'm working on a project with MC9S12XDG128 microcontroler,

i would like tu upgrade it to MS9S12XDT512 but i don't know how to do correct setting for internal eeprom.

 

it's strange because by default processor expert set the eeprom to disabled.

 

so plese i need to know how to port my old internal eeprom of the 128 processor to the new 512 processor,

even with the datasheet i'm not able to understand where i have to to modication and what adress sike i have to parameter .

 

i'm not sure if i must modify the cpu bean or the intEEP bean too

plese someane can give me the good parameter ??

 

FABRICE

0 Kudos

663 Views
jiri_rezler
NXP Employee
NXP Employee

A setting of the memory section on CPU component (build option) is only for generating linker file. For upgrade your project to the MS9S12XDT512 microcontroller you would set the IntEEPROM component. For the MS9S12XDT512 microcontroller is start EEPROM memory address 0x13F000, this value must be set to the IntEEPROM component (“Start address” property).

 

Best Regards,

Jiri Rezler

0 Kudos

663 Views
admin
Specialist II

perfect, it works very nice !!

 

finally between all memories RAM  FLASH  EEPROM

THE eeprom is the only memory where it's necessary to modify in two bean : CPU BEAN   and intEEP BEAN

 

thank you for your very necessary help

 

fabrice

0 Kudos