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.

IAR code error as segment Code_C is too long for definition

Status
Not open for further replies.

Sadegh.j

Advanced Member level 3
Joined
Nov 29, 2006
Messages
749
Helped
48
Reputation
98
Reaction score
15
Trophy points
1,298
Activity points
5,585
Hi

I have written a code in IAR and it says:

Error: Segement Code_C is too long for segment definition. What can I do?

Thanks
 

is too long for segment definition.

HI !
There are two solution :
either you shrink your code, either you allow more space for the segment
There should be a kind of linker script, with the segment definition, and a linker report with the start adress and size of each of your modules.
you should check the size of code_c, and then in the linker script with the segment definition, you manually resize the segment.

good luck.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top