Does ANY interrupt work?
If not, check the vector table.
As mentioned here in the list 2 weeks ago, the interrupt vector positions were 
based on a wrong base address in the msp430f47xx.h file. maybe for the 24xx.h 
too?
Also, the linker definition file could have a wrong address for the vector 
table for this processor.
This both would explain why your code is working with IAR and not with mspgcc.

JMGross

----- Ursprüngliche Nachricht -----
Von: Dmitry Zuikov
An: GCC for MSP430 - http://mspgcc.sf.net
Gesendet am: 03 Apr 2009 05:47:30
Betreff: Re: [Mspgcc-users] support porting app. to 24XX ?


> If you can do JTAG debugging, then put a breakpoint into the 
> initialization and the ISR.  What's going on?

Initialization is passing, debugger will never get into ISR.

Moreover, I noticed strange behaviour when I call dint() and eint()
functions to disable/enable interrups. It seems that those functions
brake the program loop, I can't explain this more precisely because I
haven't researched this yet, but anyway it behaves in completely
different way comparing to 1612, where all works as expected.

May be I'm doing something wrong, but may be someone has an example of
simple firmware that works on 24XX or similar MCU ?


Reply via email to