1.7k views
in System Integration by
Hello,

I'm trying to get started with the example project for IAR which is provided by the creators of embedded wizard, but when I tried to run the GUI "Hello World" I got an error at every include file.

This was easy to fix by just telling IAR where it could find the certain files, but when it tries to link the files it gives the following error:

 Error[Lp011]: section placement failed
          unable to allocate space for sections/blocks with a total estimated minimum size of 0x3'13b7 bytes (max align 0x4) in <[0x0-0x1'ffff]> (total uncommitted space 0x1'fc00).

 

Does anybody have any idea how i could run the program with IAR?

With kind regards,

Luc

1 Answer

0 votes
by
 
Best answer
Hello Luc,

first of all, please try to build the example 'Hello World' as described with the GCC toolchain. This ensures that the installation is correctly done.

Unfortunately you did not mention, which Target (which Build Environment) you are using and which version of the IAR compiler you are using.

If you are using a supported version of IAR, then you can follow exactly the description concerning the IAR usage within the Getting Started document. There is no need to "fix" something.

If you still have the problem, please try to provide some more details.

Best regards,

Manfred.
by

Hello Manfred,

I used the code provided by you, but when I tried to run that I started with errors that IAR couldn't find the header files. so after the preprocessor knew what folders he needed to search in everything worked till it got to the linker, but when i added a different linker so that he downloads the project to flash it worked.

Is it possible that we are working with different versions of IAR, because the first time I tried to open the workspace I got a warning of some sort and IAR made a backup of the project.

With kind regards,

Luc

by
Hi Luc - thanks for the information.

We tested it with IAR Embedded Workbench 8.32.3, IAR C/C++ Compiler V8.32.3.193/W32 for ARM. Unfortunately, I'm not using IAR - but I will forward this issue to our IAR expert.

Can you post the exact error message when you open the original project?

Best regards,

Manfred.
by

Hello Manfred,

Thank you for forwarding my question.

I'm currently using IAR embedded workbench for ARM 8.30.1

and this is the error I recieved on opening the original file:

With kind regards,

Luc

by
Hello Manfred,

I was able to retreive all the settings from the backup.ewp file. I got the programming up and running now.

With kind regards,

Luc
by
I noticed, that sometimes some project settings get lost, if an older IAR EWARM version tries to "downgrade" a project created by a newer  EWARM version.

Therefore I generally would recommend to use the latest IAR EWARM version.

Embedded Wizard Website | Privacy Policy | Imprint

...