Troubleshooting guide for AVR apps?

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi Freaks,

Given that there are so many questions on this forum related to troubleshooting apps on any AVR, is there a basic guide to troubleshooting anywhere on this forum? Something like a compilation of all questions and answers, an FAQ.

Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Surely the 496,497 posts in the AVR 8-bit technical fora collectively are just that and the Search engine here is the tool to pick one relevant one from that half a million?

It's difficult to give generic advice other than modularising to isolate the fault area.

Having said that it's also probably true that almost any fault you can encounter has already been discussed here at some point - it's just picking the right search terms to find it that may be tricky.

(PS this posts makes that 496498 posts!)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Troubleshooting is such a general subject. It's almost like asking if there is a manual for living a good life! Sure, there's the Bible, Torah, Q'uran, Buddhist writings...

For programming, you might try The Practice Of Programming, Chapter 5, Debugging

For the AVR specifically, check out the tutorial forum. In general, most newbie problems tend to be common and are covered in the tutorials. Look for a tutorial in the specific area you are having troubles in (serial/UART and timers are common themes) and see what the tutorial author has to say.

When looking for a solution avoid the "wings won't stick to the pig" problem: It may turn out that you are trying to solve your problem the wrong way out (i.e., trying to superglue wings on a pig instead of figuring out how to take the train to the next city).

Finally, searching the forum for your particular problem is usually helpful.

Also, you can check out the threads Newbie? Start here! and Help, My "..." Doesn't Work!

Stu

PS: Post number 496499...

Edit 1: Added the "wings on pigs" metaphor.

Engineering seems to boil down to: Cheap. Fast. Good. Choose two. Sometimes choose only one.

Newbie? Be sure to read the thread Newbie? Start here!