How to identify the Maximum RAM usage in LPC1765

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to identify the Maximum RAM usage in LPC1765

1,180 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dhanapal_2005 on Mon Nov 23 03:14:24 MST 2015
I am using the LPC1765 µc. It has the SRAM 64kb. How to identify the maximum RAM usage in the code during execution.

Regards
R.Dhanapal
Labels (1)
0 Kudos
Reply
4 Replies

1,164 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Nov 25 00:07:36 MST 2015
See: https://www.lpcware.com/content/forum/maximum-stack-usage-lpc1769#comment-1144474

Regards,
LPCXpresso Support
0 Kudos
Reply

1,164 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dhanapal_2005 on Tue Nov 24 23:09:33 MST 2015
Greetings,

Yes i need to know maximum stack usage.

Regards
R.Dhanapal
0 Kudos
Reply

1,164 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Mon Nov 23 09:48:09 MST 2015
hi Dhanapal,
Are you talking about stack usage? Memory for global and static variables will be allocated during compile time. You can check map file to see it. If you want to see stack usage then it needs some deeper analysis.
0 Kudos
Reply

1,164 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rocketdawg on Mon Nov 23 09:32:27 MST 2015
have the tool chain generate a map file.
0 Kudos
Reply