This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

_at_

How can I write a specific value in a specif adress of my Flash?

For example, I would like to write the value 0x55 in the adress 0x1fff of my flash, then if I use the command below:

unsigned char code A = 0x55;

I will write 0x55 in my Flash, but I don't know the adress, if I use this other command:

unsigned char code A _AT_ 0X1FFF;

I will know the adress but I don't know the value and I can't write somethink in this variable, becouse it is a code variable.

How can I do this ?