SAM3U4 and GPNVM bits

Discussion around product based on ARM Cortex M3 core.

Moderators: nferre, ncollot

Location: Wellington, New Zealand
Posts: 2
Joined: Sun Aug 07, 2005 7:41 am

SAM3U4 and GPNVM bits

Mon Jun 28, 2010 12:54 am

I've been trying to figure out how the dual-plane flash is supposed to be used on the SAM3U4 and wondering if someone can shed some light on this.

The two flash banks are not contiguous and seemingly not intended for use as one large application (as mentioned in another thead). Then the GPNVM bits ability to control which bank is executed on reset tends to suggest that it's suitable for bank-switching two applications.

Is there a way to virtualize the two flash planes? Otherwise an application has to be linked for a specific bank which is not particularly suitable for switching between two versions of the same application.
Rick Hudson - i2M Labs Ltd
User avatar
Posts: 320
Joined: Fri Feb 13, 2004 7:53 pm

Re: SAM3U4 and GPNVM bits

Fri Jul 30, 2010 5:50 pm


a late answer but here it is

Is there a way to virtualize the two flash planes?

Yes. Due to mirroring effect (128K mirror) of the internal flash 0.

so if you consider 0xE0000 as "virtual" start address for flash 0, you will see the the 2 blocks as contiguous memory.


Return to “SAM3 Cortex-M3 MCU”

Who is online

Users browsing this forum: No registered users and 5 guests