Memory Storage

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello,

   

           In the Application Note AN52705 "Mem_DMA_DAC" example we place the sample values in the program , whether these vlues are stored in the FLASH Memory?? Please clear my doubt..

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

The samples are residing in flash. You may define a var as "const" which will put it into the program memory area. This behaveour may be overwritten by a setting in the project options dialog.

   

 

   

Happy coding

   

Bob

0 Likes
Anonymous
Not applicable

 If you want to place the variable in some other memory location, Refer to this article from KEIL.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

The const declaration -

   

 

   

http://www.keil.com/support/man/docs/c51/c51_le_const.htm

   

 

   

Regards, Dana.

0 Likes