Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Fianawarrior
PostPosted: Jun 25, 2012 - 04:05 PM
Hangaround


Joined: Jun 11, 2008
Posts: 135


How can I setup malloc to use external SDRAM.
 
 View user's profile Send private message  
Reply with quote Back to top
catweax
PostPosted: Jun 25, 2012 - 04:40 PM
Hangaround


Joined: Aug 25, 2011
Posts: 392
Location: Europe

It should be possible to do that with a linker script. Check if your project includes a file with “.lds” extension and search it for “heap”. Then set the heap to reside inside your SDRAM.

I actually haven’t tried it, but I don’t know of other methods.
 
 View user's profile Send private message  
Reply with quote Back to top
drt80
PostPosted: Jun 26, 2012 - 03:45 AM
Resident


Joined: May 23, 2008
Posts: 804
Location: Pune, India

There is an application note for this:
http://www.atmel.com/Images/doc32121.pdf

-Deven
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits