SAM3U4E - Enable Internal Flash 1

Discussion around product based on ARM Cortex M3 core.

Moderators: nferre, ncollot

eng.mmostafa80
Posts: 29
Joined: Sat Nov 26, 2011 10:20 am

SAM3U4E - Enable Internal Flash 1

Mon Jul 14, 2014 9:43 am

Hello,

I am using SAM3U4E with IAR Compiler. I got a linking error saying that unable to allocate part of the code in the flash area. It seems that I reached the maximum limits of Internal Flash 0 (128K).
I want to know how to enable Internal Flash 1 to let IAR continue using it .
I think I need to modify the ICF file but I do not know how.
jharley
Posts: 238
Joined: Thu Dec 06, 2012 6:40 am

Re: SAM3U4E - Enable Internal Flash 1

Mon Jul 14, 2014 11:07 pm

Check the "IAR C/C++ Development Guide" this should have been installed with IAR EWARM.

Reference the chapters on linking.

Also, isn't there an .icf editor option available under linker options?

I haven't used IAR for a while now... but i do remember these tools and docs when i did use IAR for arm dev.

Return to “SAM3 Cortex-M3 MCU”

Who is online

Users browsing this forum: No registered users and 1 guest