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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
2,312件の閲覧回数
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 解決策
888件の閲覧回数
zourun
Contributor II
i found the message in .sx file, thanks a lot 

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
888件の閲覧回数
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 件の賞賛
888件の閲覧回数
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

889件の閲覧回数
zourun
Contributor II
i found the message in .sx file, thanks a lot 
0 件の賞賛
888件の閲覧回数
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 件の賞賛