Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

"Link Setup Failed" error

Status
Not open for further replies.

swapan

Full Member level 4
Joined
Feb 20, 2009
Messages
199
Helped
27
Reputation
54
Reaction score
24
Trophy points
1,298
Location
Kolkata
Activity points
2,806
"Link Step Failed" error

Friends

While developing a code for moving LED display using 16F886 MCU, compiler fails to build the code and returns error report as

"Error - section 'MAIN_PROG' can not fit the section. Section 'MAIN_PROG' length=0x00001020
Errors : 1

Link step failed.
"

Earlier I used 16F72 MCU for this purpose. But as the Program Memory of 16F72 is 2K, for a longer message to display, I thought to use 16F886 which has 8K of Program Memory and 368 Data Memory. But upto a specific length of message put in Data Table, the code builds successfully.
Beyond that length , the code does not build and the above error message returns. Memory Usage gauge shows 2066 while Total program memory is 8192.

I am using MPLAB v8.43 and assembly language.

Please help me to sort out the problem.

swapan
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top