EmbeddedRelated.com
Forums
Memfault Beyond the Launch

cant 'Run to main'

Started by Technical Kripa February 20, 2009
Dear Group,
Pls help me on this. I am a newbie at everything. Im using IAR 4.20.1 with MSP430F1491.
 
I downloaded my code in the controller. Now whenever I try to press reset on the IAR, I get this error message.
"The C-SPY option "Run to 'main'" is enabled, but due to a lack of breakpoints this will require single stepping, which may take a long time"
"Do you want to execute anyway or stop at the first instruction?"
 
I want to run the program in single step mode again from main start. But doing so after pressing stop is not possible and if i press execute, the IAR program seems to run the software and does not come to 'main'
 
I tried resetting MSP power, restarting IAR, restarting PC! but this error message keeps popping up
 
Please help
Sanmeet Hundal
Add more friends to your messenger and enjoy! Go to http://messenger.yahoo..com/invite/



Beginning Microcontrollers with the MSP430

You probably had too much Break-points.
View your break-points and disable or delete some of them.

--- In m..., Technical Kripa wrote:
>
> Dear Group,
> Pls help me on this. I am a newbie at everything. Im using IAR
4.20.1 with MSP430F1491.
>  
> I downloaded my code in the controller. Now whenever I try to press
reset on the IAR, I get this error message.
> "The C-SPY option "Run to 'main'" is enabled, but due to a lack of
breakpoints this will require single stepping, which may take a long time"
> "Do you want to execute anyway or stop at the first instruction?"
>  
> I want to run the program in single step mode again from main start.
But doing so after pressing stop is not possible and if i press
execute, the IAR program seems to run the software and does not come
to 'main'
>  
> I tried resetting MSP power, restarting IAR, restarting PC! but this
error message keeps popping up
>  
> Please help
> Sanmeet Hundal
>
>
> Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo..com/invite/
>
>
>

Yes that worked. But I had only two breakpoints.
 
Thanks

________________________________
From: old_cow_yellow
To: m...
Sent: Friday, 20 February, 2009 12:28:29 PM
Subject: [msp430] Re: cant 'Run to main'
You probably had too much Break-points.
View your break-points and disable or delete some of them.

--- In msp430@yahoogroups. com, Technical Kripa wrote:
>
> Dear Group,
> Pls help me on this. I am a newbie at everything. Im using IAR
4.20.1 with MSP430F1491.
>  
> I downloaded my code in the controller. Now whenever I try to press
reset on the IAR, I get this error message.
> "The C-SPY option "Run to 'main'" is enabled, but due to a lack of
breakpoints this will require single stepping, which may take a long time"
> "Do you want to execute anyway or stop at the first instruction? "
>  
> I want to run the program in single step mode again from main start.
But doing so after pressing stop is not possible and if i press
execute, the IAR program seems to run the software and does not come
to 'main'
>  
> I tried resetting MSP power, restarting IAR, restarting PC! but this
error message keeps popping up
>  
> Please help
> Sanmeet Hundal
>
>
> Add more friends to your messenger and enjoy! Go to
http://messenger. yahoo..com/ invite/
>
>
>

Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/



Yes that worked. But I had only two breakpoints.
 
Thanks

________________________________
From: old_cow_yellow
To: m...
Sent: Friday, 20 February, 2009 12:28:29 PM
Subject: [msp430] Re: cant 'Run to main'
You probably had too much Break-points.
View your break-points and disable or delete some of them.

--- In msp430@yahoogroups. com, Technical Kripa wrote:
>
> Dear Group,
> Pls help me on this. I am a newbie at everything. Im using IAR
4.20.1 with MSP430F1491.
>  
> I downloaded my code in the controller. Now whenever I try to press
reset on the IAR, I get this error message.
> "The C-SPY option "Run to 'main'" is enabled, but due to a lack of
breakpoints this will require single stepping, which may take a long time"
> "Do you want to execute anyway or stop at the first instruction? "
>  
> I want to run the program in single step mode again from main start.
But doing so after pressing stop is not possible and if i press
execute, the IAR program seems to run the software and does not come
to 'main'
>  
> I tried resetting MSP power, restarting IAR, restarting PC! but this
error message keeps popping up
>  
> Please help
> Sanmeet Hundal
>
>
> Add more friends to your messenger and enjoy! Go to
http://messenger. yahoo..com/ invite/
>
>
>

Cricket on your mind? Visit the ultimate cricket website. Enter http://beta.cricket.yahoo.com



That's because IAR uses one breakpoint on main which only leaves 2 to
be used on devices that support 3 breakpoints. This breakpoint is not
shown as such on the breakpoints list, but is used nontheless.

Michael K.

--- In m..., Technical Kripa wrote:
>
> Yes that worked. But I had only two breakpoints.
>  
> Thanks
>
>
>
>
> ________________________________
> From: old_cow_yellow
> To: m...
> Sent: Friday, 20 February, 2009 12:28:29 PM
> Subject: [msp430] Re: cant 'Run to main'
>
>
> You probably had too much Break-points.
> View your break-points and disable or delete some of them.
>
> --- In msp430@yahoogroups. com, Technical Kripa wrote:
> >
> > Dear Group,
> > Pls help me on this. I am a newbie at everything. Im using IAR
> 4.20.1 with MSP430F1491.
> > #65533; 
> > I downloaded my code in the controller. Now whenever I try to press
> reset on the IAR, I get this error message.
> > "The C-SPY option "Run to 'main'" is enabled, but due to a lack of
> breakpoints this will require single stepping, which may take a long
time"
> > "Do you want to execute anyway or stop at the first instruction? "
> > #65533; 
> > I want to run the program in single step mode again from main start.
> But doing so after pressing stop is not possible and if i press
> execute, the IAR program seems to run the software and does not come
> to 'main'
> > #65533; 
> > I tried resetting MSP power, restarting IAR, restarting PC! but this
> error message keeps popping up
> > #65533; 
> > Please help
> > Sanmeet Hundal
> >
> >
> > Add more friends to your messenger and enjoy! Go to
> http://messenger. yahoo..com/ invite/
> >
> >
> >
>
>
>
>
>
> Cricket on your mind? Visit the ultimate cricket website.
Enter http://beta.cricket.yahoo.com
>
>
>

--- In m..., "tintronic" wrote:
>
> That's because IAR uses one breakpoint on main which only leaves 2 to
> be used on devices that support 3 breakpoints. This breakpoint is not
> shown as such on the breakpoints list, but is used nontheless.

Were does one find out the number of hardware breakpoints supported by a particular device
? The "MSP430x2xx Family User's Guide" says to look in the data sheet, but I didn't find
anything in the MSP430F249 data sheet...


Memfault Beyond the Launch