EcoModder.com

EcoModder.com (https://ecomodder.com/forum/)
-   Fossil Fuel Free (https://ecomodder.com/forum/fossil-fuel-free.html)
-   -   UART4011.o: Link Error: Could not allocate section .data, size = 446 bytes, attribute (https://ecomodder.com/forum/showthread.php/uart4011-o-link-error-could-not-allocate-section-33720.html)

sharmarahul 04-21-2016 12:39 AM

UART4011.o: Link Error: Could not allocate section .data, size = 446 bytes, attribute
 
Hello,

I am using MPLAB v8.91 with c30 compiler.

I am having an error as

"UART4011.o: Link Error: Could not allocate section .data, size = 446 bytes, attributes = data
Link Error: Could not allocate data memory"

I have gone through few solutions such as i have checked the option for large data model and small scalar model in data memory model.

but this error is still there.

please any one suggest me about this error, and if there are some parameters for compiling then please let me know.

eagerly waiting for the valuable reply.
Thanks.

thingstodo 04-21-2016 09:53 AM

Here's a few dumb questions:
- Which processor are you using?
- how much memory do you have, and how much is left?
- is it a static allocation of a buffer (at a specific address), or are you allocating from the heap, or the stack (inside a subroutine or object)?

sharmarahul 04-21-2016 11:09 PM

dear sir,

thanks for reply.

I am using DSPIC30f4011 controller in which 48kb of program memory is there and 2kb of RAM. about the memory left, i don't know exactly. it is a statically allocated because in heap and stack option there is no memory allocated.

i am testing the 200kW AC motor Controller code provided in ecomodder.com .

whenever i am compiling it through error linking error.


All times are GMT -4. The time now is 04:01 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com