Hi,
I'm storing two ints in my flash memory starting at address 0x0E000. I found code online that does that and it works very well. My only question about is: where am i writing to? is it main flash memory or one of the information segments? is it possible to make the address wrong and accidentally overwrite my running code? I've looked for a memory map but I can't seem to make heads or tails of the ones I've found in datasheets.
In short: if I were writing, say, 513 Bytes, I would need to use at least two segments of main flash memory. How do I know which segments I'm allowed to access without killing my code?
A second question: if my address is 0x0E000 and I want to write a second int right next to it, is the new address 0x0E001 or 0x0E002 (ie: are the addresses for bytes or ints?)
Mike