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

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

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

跳至解决方案
2,654 次查看
zourun
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
标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,230 次查看
zourun
Contributor II
i found the message in .sx file, thanks a lot 

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,230 次查看
zourun
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 项奖励
回复
1,230 次查看
J2MEJediMaster
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

1,231 次查看
zourun
Contributor II
i found the message in .sx file, thanks a lot 
0 项奖励
回复
1,230 次查看
J2MEJediMaster
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 项奖励
回复