To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 826
825  |  827
Subject: 
Re: legOS corruption
Newsgroups: 
lugnet.robotics
Date: 
Fri, 27 Nov 1998 12:45:07 GMT
Viewed: 
2094 times
  
Ben Laurie wrote in message <365E93F5.63ABFE6B@algroup.co.uk>...

I have code that should just increment/decrement some counters and
display them. The numbers get reset to strange values. This looks like
stack or register corruption, but I haven't yet found where or why
(yet). Wish I still did embedded systems so I had access to a logic
analyser :-)



I do embedded systems WITHOUT a logic analyser. You can do about
99% of what you need to with a monitor and an oscilloscope. The
logic analyser (or emulator) is the big gun for the really nasty
bugs.

My own policy on embedded development is to pick one or two
processors and get to know them inside out. Then you can better
estimate the time required to do something because you have
some history.

Also, remember to pick a new "up and coming" processor so that your
skills continue to develop.

Sorry for the off topic post. Comments anyone - and lets's not start
a big Mac/PC type flame war, let's trade horror stories instead :-)

Cheers,

Ralph Hempel - P.Eng

------------------------------------------------------
The train stops at the train station,
The bus stops at the bus station,
So why am I sitting at a work station?
------------------------------------------------------
Reply to:      rhempel at bmts dot com
------------------------------------------------------



Message has 1 Reply:
  Re: legOS corruption
 
(...) Agree with you totally there! However, I have always found it useful to have a debugging version of the kernel which allows you to use something like gdb to debug your embedded system through a serial port. (...) Sadly, the last embedded (...) (25 years ago, 27-Nov-98, to lugnet.robotics)

Message is in Reply To:
  Re: legOS corruption
 
(...) I have code that should just increment/decrement some counters and display them. The numbers get reset to strange values. This looks like stack or register corruption, but I haven't yet found where or why (yet). Wish I still did embedded (...) (25 years ago, 27-Nov-98, to lugnet.robotics)

25 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR