Mika Leinonen

How to read specific address

Discussion created by Mika Leinonen on Mar 17, 2010
Latest reply on Mar 31, 2010 by bigmac

I'm only beginner using Freescale microcontrollers, so forgive me for my question. I'm sure it is trivial to most of you.

I'm useing MC68HC908QY4A microcontroller. I'd like to know how can i, using C-language, read specific memory address. The purpose is to store the value from that address to variable. Lets say that I vant to read FLASH memory address $FFC0 an dsore the factory set oscillator trimming value to a variable OSCTRIM. How will I do this (with C-language)?

 

Regards,

 

Leinmi

Outcomes