----- Ursprüngliche Nachricht -----
Von: Michael Richardson
Gesendet am: 09 Dez 2011 21:01:13

> I wanted to ask if there has been any work at all to make mspgcc (and
> binutils) emit 20-bit addressing for code.   I have have some historical
> gcc hacking abilities (back in the 1.40 days...), so I would like to
> contribute to an effort, but I suspect I need to collaborate.

The last build of mspgcc 3.2.3 (12/08) supports 20bit opcodes
in the assembler and linker.
However, its msp430-jtag does not support the new 20bit JTAG
instrucitons required for flashing it.
I use the Elprotronic free software for flashing the 5438 with code
produced by this version.
And I use inline ASM for accessing the upper memory.
(code is in lower memory, the rest is data storage only)

> (Otherwise, I'm looking at the IAR stuff with annoyance)

IAR still has some bugs with supporting the 20bit address range (e.g.
putting main into upper mem while the startup code calls it
in lower mem) and support for 20bit data range is flakey at best too.
In most cases it works, but several people did run into problems and
had to call for help (and I guess, even more did encounter the problems,
but were experienced enough to sort them out by themselves)

CCS has some support for 20 bit addresses too (with the 4.x compiler
in 5.x CCS) but not all problems are solved here too.

> At a minimum, I will need to make sure that the mspdebug program is able
> to flash code above 64K, as plugging my FET into a virtual machine is
> gonna be a pain.

MSPDebug is an independent development. It's likely that 20 bit support
is implemented there long before the current mspgcc produces 20bit code :)
(or is it already?)

JMGross

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to