about eeprom location in s19 file in cw5.0 for s12xd256

cancel
Showing results for 
Search instead for 
Did you mean: 

about eeprom location in s19 file in cw5.0 for s12xd256

Jump to solution
1,443 Views
Contributor II
i made a project and place some consts in  eeprom, when i use the cw5.0 eval version to build the project, i cant find the consts in the s19 file, is there any configration that i have to do or it is just a limitation
Labels (1)
Tags (1)
0 Kudos
1 Solution
19 Views
Contributor II
i found the message in .sx file, thanks a lot 

View solution in original post

0 Kudos
4 Replies
19 Views
Contributor II

 

in map file, i can see

 

 

  EKI_1   C00 2 2 7 DATATOSAVE  
  EKI_2   C02 2 2 4 DATATOSAVE  
  EKI_3   C04 2 2 3 DATATOSAVE  
  EKI_4   C06 2 2 1 DATATOSAVE  
  EKI_5   C08 2 2 1 DATATOSAVE  
  EKI_6   C0A 14 20 4 DATATOSAVE  
  EKI_7   C1E 20 32 4 DATATOSAVE  
  EKI_8   C3E 2 2 3 DATATOSAVE  

 prm file

 

 
SEGMENTS /* here all RAM/ROM areas of the device are listed. Used in PLACEMENT below. All addresses are 'logical' */
/* Register space */
/* IO_SEG = PAGED 0x0000 TO 0x07FF; intentionally not defined */

/* non-paged EEPROM */
  EEPROM = READ_ONLY 0x0C00 TO 0x0FFB; 

  ...
END

PLACEMENT /* here all predefined and user segments are placed into the SEGMENTS defined above. */

...
  
  DATATOSAVE INTO EEPROM;
   
...
   

END

 

0 Kudos
19 Views
Specialist I

The .map file should show you the memory addresses where DATATOSAVE is located. Are these addresses in EEPROM, or elsewhere? If elsewhere, where are they?

 

---Tom

20 Views
Contributor II
i found the message in .sx file, thanks a lot 

View solution in original post

0 Kudos
19 Views
Specialist I

Where does the .map file say the constants are?

 

You might also post the constant declarations and the prm file so that we have a better idea of what you're trying to do.

 

---Tom

0 Kudos