Customer try to manage all SDRAM on BF548 EZKIT-LITE board in uCOS-II, can we provide an example?
Attached are customer's files on memory management.
You can define a user heap (either link time or runtime) and use this chunk of memory with alternative interface alloc/free functions. Please check out the section "Using multiple heaps" of Blackfin compiler manual for details. The manual can be found at http://www.analog.com/static/imported-files/software_manuals/50_blackfin_cc.rev5.1.pdf
Thanks for the answer, customer did define heap for about 1MB, hope rest memory can handle by memory managment. They used freeTOS and spent 15 days to port on Blackfin, and most applications maybe sit on this mechanism.
Just feel the trouble lies on memory managment, an example implemented in uC/OS-II do help.
Looks like you want to create memory management for your OS and expect it can do what uCOS management can do. If that is the case, you can take a look at ucos' os_mem.c, which defines the following functions
For detailed description, refer to their manual or code.
Retrieving data ...