code fails if made with debug

Joel Sherrill joel.sherrill at OARcorp.com
Tue Mar 5 20:22:04 UTC 2002



Jerry Needell wrote:
> 
> I am pulling whats left of my hair out tring to track this down. Perhaps
> someone can point me in the right direction. I am using the RTEMS 4.5.1
> pre3 relaease on an ERC32 (actually TSC695) board. I have built the
> "normal" and VARIANT=debug versions. I am testing an application using
> the o-optimize (make) and the o-debug (make debug) versions. The
> o-optimize version works fine but the o-debug version crashes (processor
> halts) before it even gets to Init. Does anyone have an idea where to
> look for the cause.

Set a breakpoint at _Internal_error_Occurred and see where it came from.
I suspect a resource problem.

>    This application is fairly simple. It consists of 3 very simple tasks
> and on ISR. I can supply lots more gory details, but I thought I'd see
> if anyone had quick response.
> 
> BTW - I have had no problem using the make debug generated code on other
> test applications so the problem is not always there for the debug
> generated code.
> - Thanks for any tips - Jerry
> --
> _______________________________________________________________________
> Jerry Needell                     | Internet: jerry.needell at unh.edu
> Space Science Center/Morse Hall   | Voice: (603) 862 2732
> University Of New Hampshire       | FAX:   (603) 862 0311
> Durham, NH 03824                  |

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the users mailing list