print adress in ARM CORTEX m3

Status
Not open for further replies.

manijohn

Newbie level 3
Joined
Sep 26, 2017
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
24
Good Evening to all,

i am using LPC1788 arm cortex m3 micro-controller ..and my problem is print SDRAM address...how to print the address in IDE...kindly send me the code or suggest any ideas

thanks & regards
D.manivelan
 

Assuming you are programming that 32-bit microcontroller in C, obtaining of such information could be done through compiler directives whose syntax may vary from one compiler to another. Anyway, this information is absolutely useless at all on this programming language, since the management of the memory allocation is done through the compiler itself. The only information that would make sense you know on this regard is how much free SDRAM memory remains in runtime.
 

'*value' is a pointer value, and 'value' is a pointer address if value is declared as pointer: void * value
Simply check that in debug mode.
 

For SDRAM (DynamicRam) in LPC 1788 , the addresses are mapped into

0xA000 0000 - 0xAFFF FFFF (as 1st block) and continued to 0xD000 0000 - 0xDFFF FFFF as last block.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…