AndrejaKo 1 Posted January 31, 2012 Share Posted January 31, 2012 I just got a new rev 1.5 Launchpad board with the MSO430G2553IN20 and MSP430G2452IN20 chips and have the Code Composer Studio 5.1 installed. I never did any programming on the MSP430 before (and it's been a while since I used C) and am having problems with the included temperature measurement demo. I've set the project to work with the G2553 and changed the include file. Unfortunately, it seems that the G2553 only works with the version 4 of the compiler and with that version, I'm getting errors on lines which say #pragma vector=TIMERA0_VECTOR and #pragma vector=TIMERA1_VECTOR in the area where ISRs for timers are written . The errors say that the TIMERA0_VECTOR and TIMERA1_VECTOR are not defined. After doing some search, I've found some information claiming that in the version 4 of the compiler ISRs need to be defined differently. Any ideas where I can get info about the changes I need to make? Quote Link to post Share on other sites
gordon 229 Posted January 31, 2012 Share Posted January 31, 2012 Change them to TIMER0_A0_VECTOR and TIMER0_A1_VECTOR respectively. The 2553 has more Timer_A peripherals than the controllers that came with the <1.5 LaunchPads -- it would seem TI hasn't updated the temperature demo code to account for this. AndrejaKo 1 Quote Link to post Share on other sites
AndrejaKo 1 Posted January 31, 2012 Author Share Posted January 31, 2012 Thanks a lot! It seems to be working now. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.