HELP regarding writing into a memory location using C

Status
Not open for further replies.

yogesh_odapalli

Newbie level 1
Joined
Mar 4, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Hyderabad
Activity points
1,288
Hi Friends,

I am doing my final year project on Embedded systems which deals with the development of flash memory using Am29DL640H IC for my project.

Can anybody help me out in the coding process, for writing into a specific memory location.
Like in this project we have to write the data AA into the memory location 555
n similarly 55 into memory location AAA.
Can anyone help out in this work

Advance thanx for helping me out....
 

Read the compiler documentation. There is usually a directive to do this.
For example, using Freescale Code Warrior, to locate a variable at a specific location and initialize it, you could write,

unsigned char variable_1 @0x00000555 = 0xaa;
unsigned char variable_2 @0x00000aaa = 0x55;
 

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