mspgcc4 does not support more than 64KB of flash. You can probably
hand-code calls; there should be instructions somewhere on the list
archives, now available at
http://www.mail-archive.com/[email protected]/
Would somebody who has gotten the MSP430X branch of mspgcc3 to generate code
for far text and/or data mind writing up a short how-to for the wiki?
Peter
On Thu, Oct 21, 2010 at 4:32 AM, Emilie <[email protected]> wrote:
> Hi Daniel,
> With the new Hex.c file, the program loads in the flash1 and flash2.
> But the execution of the program is not ok.
>
> With the same program:
> when I load only in the flash1, the execution is ok.
> To use the flash2 with my program in the compilation mspgcc4, I used the
> command "__attribute__((section(".fartext")))" before several functions.
>
> I'm going to check if the options of my compilation mspgcc4 are good.
> Perhaps that I must use a specific option with mspdebug to load the format
> large_memory_model?
>
> Regards,
> Emilie LAYEC.
>
>
> --------------------------------------------------
> From: "Daniel Beer" <[email protected]>
> Sent: Wednesday, October 20, 2010 10:46 PM
> To: "Emilie" <[email protected]>
> Cc: "GCC for MSP430 - http://mspgcc.sf.net"
> <[email protected]>
> Subject: Re: [Mspgcc-users] new version 0.12:programmation in the
> flash2onthe MSP430F5438A
>
> > On Wed, Oct 20, 2010 at 09:13:19AM +0200, Emilie wrote:
> >> Hi Daniel,
> >> You will find in the attached file the hex file.
> >> Thanks a lot for your help,
> >> Regards,
> >> Emilie LAYEC
> >
> > Hi Emilie,
> >
> > I found a bug in HEX file parsing which caused the >64k portions of
> > this file to be loaded at the wrong address. I've pushed through a
> > change to the git repository which should fix this problem.
> >
> > Instructions for getting at the git repository can be found on this
> > page:
> >
> > http://mspdebug.sourceforge.net/download.html
> >
> > Let me know if this change works for you.
> >
> > Cheers,
> > Daniel
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users