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

unable to write and read an alphabet from location (0xFF01) & then increment the location

I am using 16x2 lcd display and C8051F120 kit.I am using keil compiler.I have taken an array of size 26 as p[26]={a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}

I want to select an alphabet from array,write it at location (0xFF01) of flash memory ,read it from same location and then display it on lcd.Next,I want select another alphabet,write it at next location ,read it and then display it.Likewise <i repeat doing so till I form a suitable string of variable length.
could you please let me know how can I write an alphabet in flash memory.

Parents
  • May be my comments are wrong but when I send the data to lcd it shows characters.But,i am not able to write it at location (0xFF01 ),read from same and then display on the lcd. could you tell me what is this symbol '%' in the code which you sent to me.I am not able to get it.selecting a character each time I want to form a string of variable length.I want to write ,read the characters in flash memory location starting at (0xFF01).

Reply
  • May be my comments are wrong but when I send the data to lcd it shows characters.But,i am not able to write it at location (0xFF01 ),read from same and then display on the lcd. could you tell me what is this symbol '%' in the code which you sent to me.I am not able to get it.selecting a character each time I want to form a string of variable length.I want to write ,read the characters in flash memory location starting at (0xFF01).

Children