Discussion Forum

_at_

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Saul Bencke
Posted
29-Jan-2004 19:28 GMT
Toolset
None
New! _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 ?
Read-Only
Author
Andy Neil
Posted
29-Jan-2004 19:44 GMT
Toolset
None
New! RE: _at_
Search this forum for "_at_"
Read-Only
Author
Walt Conley
Posted
29-Jan-2004 19:44 GMT
Toolset
None
New! RE: _at_
I think the answer to your question is answered in the last post of this thread.

http://www.keil.com/forum/docs/thread1163.asp
Read-Only
Author
Andy Neil
Posted
29-Jan-2004 23:42 GMT
Toolset
None
New! RE: _at_
" think the answer to your question is answered in the last post of this thread.
http://www.keil.com/forum/docs/thread1163.asp"


That gives one way to do it; the other is:
http://www.keil.com/support/docs/130.htm

Next Thread | Thread List | Previous Thread Start a Thread | Settings