MSP430 extended address bus

anonymous wrote on Friday, June 11, 2010:

Hi,
I am trying to compile the MSP430 demo project with IAR.  The MSP430F449 compiles with 1 warning.  If I try a different MSP with extended address bus (20-bit) then I get a series of warnings,

Warning: Only 16bit will be pushed to the stack. Use size specifier to avoid warning. ……

I figure this is because the stack size of this processor is now unsigned long instead of unsigned short as in the 449.

So If I redefine:
#define portSTACK_TYPE unsigned portSHORT
to:
#define portSTACK_TYPE unsigned portLONG

and change the define:
#define portBYTE_ALIGNMENT 2
to:
#define portBYTE_ALIGNMENT 4

I don’t see any change.  Does anyone have any experience with the MSP430 with extended address bus?

Thank you for your time,

pvadim wrote on Monday, June 14, 2010:

http://www.westmorelandengineering.com

Cheers