LPC Link 2 with IAR

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC Link 2 with IAR

844 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by emanuelcsm on Mon Mar 02 11:23:08 MST 2015
Please, LPCOPen it works fine on LPCXPresso, but on IAR I get the error "Stack pointer is setup to incorrect alignment. Stack addr = 0xAAAAAAAA" for every LPCOpen example I've tested.

How can I make IAR Examples work?
Labels (1)
0 Kudos
5 Replies

589 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by xianghuiwang on Sat Mar 14 11:11:01 MST 2015
Please confirm you are using the right configuration for IAR usage:
http://www.lpcware.com/lpclink2
Regards,
0 Kudos

589 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by emanuelcsm on Mon Mar 09 09:36:59 MST 2015
These are the memory configuration for IAR.

Is that anything wrong?
0 Kudos

589 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by emanuelcsm on Mon Mar 09 09:10:56 MST 2015
It's not flashing failed, because it works fine with LPCXPresso.

I did not found where in IAR where to configure it to make it works.

The LPCOpen download packege should be configurated allready. I think.
0 Kudos

589 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by starblue on Mon Mar 09 06:52:08 MST 2015
The initial value of the stack pointer is the first entry of the vector table, at the very beginning of your binary. 0xAAAAAAAA looks uninitialized. So maybe IAR puts it in the wrong place, or flashing failed.
0 Kudos

589 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by emanuelcsm on Mon Mar 09 05:51:38 MST 2015
Please, it works fine on LPCXPresso, but on IAR I get the error "Stack pointer is setup to incorrect alignment. Stack addr = 0xAAAAAAAA" for every LPCOpen example I've tested.

How can I make IAR Examples work?
0 Kudos