Opening Project made by another gives me errors on My codewarrior

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

Opening Project made by another gives me errors on My codewarrior

Jump to solution
1,163 Views
sebikoo
Contributor I
Hello. I am really new to codewarrior and freescale.
I just get some source code from somebody for study.
 
CPU model is S12XDP512, and Project was made by IDE V 4.5
Now I am using IDE V 4.7.1
 
When I open that project file(*.mcp), I just get two errors from errow window.
First error massege is below..
-------------------------------------------------------------------------------------------------------------
CPU
 |_!ERROR: ERROR int the bean setting. More details provided by Bean inspector
                    for this bean.
   
 So, I double-click it, then go to bean inspector for CPU below.
 
 
 MEMORY MODEL                             BANKED
 !GENERATE PRM FILE                     yes
  STACK specification                         SIZE
    STACK SIZE                                   0080
  !Memory segments
    Set default memory segments        Click to set default
   !ROM/RAM segments                      34 +-
     !Segment0                                     Enabled  EEPROM
       Name                                           EEPROM   Value(unique identifier)is duplicated
                                                                              with another module in project
       Qualifier                                       NO_INIT     Warning: This segment is not used
                                                                               by default. It is necessary to
                                                                               specify user placement manually.
---------------------------------------------------------------------------------------------------------------

 
----------------------------------------------------------------------------------------------------------------
Second one is below
 
 ! EEPROM
   |_ERROR: Erro in the bean settin. More details........
  
    So, I double-click it, the go to Bean Inspector EEprom:IntEEPROM
   
  Bean name                      EEprom
  EEPROM                         intEEPROM    IntEEPROM
  Interrup service/event      Disabled
 !Address range
   !Start address                 0      There is I/O Space from 0x0000 to 0x07FF, but
                                                   required memory is internal EEPROM.
   !Used size                       0      Set correct size of the EEPROM array. The bean
                                                   inspector expected non-zero size of the used array.
    Used exclusively            yes
   !Page size                       400  Maximum value available in actual bean setting
                                                   is only 0 Bytes.
--------------------------------------------------------------------------------------------------------------
 
Something is wrong on banked memory setting on CPU bean, and intEEPROM bean.
I could not find out. Please some one help me out to complie and debug it on my
Codewarrior.
 
Regards..
Labels (1)
Tags (1)
0 Kudos
1 Solution
326 Views
ProcessorExpert
Senior Contributor III
This problem is due to conversion process from CW 4.5 to CW 4.7.

It is not possible to define a EEPROM device from two places (IntEEPROM bean and CPU bean in Build options tab) therefore you should disable the Segment0 (EEPROM) in the CPU bean and specify it in the IntEEPROM bean. The error should disappear.

best regards
Vojtech Filip
Processor Expert Support Team
UNIS

View solution in original post

0 Kudos
1 Reply
327 Views
ProcessorExpert
Senior Contributor III
This problem is due to conversion process from CW 4.5 to CW 4.7.

It is not possible to define a EEPROM device from two places (IntEEPROM bean and CPU bean in Build options tab) therefore you should disable the Segment0 (EEPROM) in the CPU bean and specify it in the IntEEPROM bean. The error should disappear.

best regards
Vojtech Filip
Processor Expert Support Team
UNIS
0 Kudos