Nycil Paul

Placing a variable at a particular in a PAGED ADDRESS Location.

Discussion created by Nycil Paul on Oct 7, 2010
Latest reply on Oct 8, 2010 by CompilerGuru

Hello All,

I need to place a variable,say, CalculateCRC_u32 variable at paged location in the ROM. I have specified an address range

APPLN_PAGE_PROG_FLASH_EF       = READ_ONLY   DATA_FAR IBCC_FAR  0xEF8004 TO 0xEFBFFF;

in my linker.

I need to place this variable in the address location 0xEF8004(logical address). Its unsigned integer variable and CANNOT be a const. I need to place this variable @ address 0xEF8004, so that it appears in the S19 file as a separate record. I need to alter the data in this Srecord , so that I get the changed data in my application which is flashed into an S12XEP100.

Thanks In Advance..

Outcomes