OSCCAL Value at the time compilation

Status
Not open for further replies.

ismu

Full Member level 2
Joined
May 12, 2009
Messages
145
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
nil
Visit site
Activity points
2,340
OSCCAL Value at the time of compilation

Normaly for pic mcu OSCCAL Value is store at last location of flash memory. So how can I change this memory location value at the time of compilation. At Execution time it shouldn't effect . That means I want to store 0x344c (retlw 4c)at the last location of flash (0X3FFF). Am using hitech C compiler for pic 16f676.

ie when open the hex file I should see last location data is ox344c. How can it possible?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…