1 / 10

6: It Doesn’t Work!

6: It Doesn’t Work!. CET360 Microprocessor Engineering by J. Sumey. Stuck in the mud…. “I’ve built and programmed my prototype, but it doesn’t work!” Now What???. Wrong Reactions. throw things and curse stomp around awhile and leave haphazardly change wires

maille
Télécharger la présentation

6: It Doesn’t Work!

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 6: It Doesn’t Work! CET360Microprocessor Engineeringby J. Sumey

  2. Stuck in the mud… “I’ve built and programmed my prototype, but it doesn’t work!” Now What???

  3. Wrong Reactions • throw things and curse • stomp around awhile and leave • haphazardly change wires • start taking pot shots at the software • wait for instructor to fix it

  4. Right Reactions • apply a logical methodology to identifying and correcting the problem • backtrack: • when did it last work? • what changes were made since then? • consult journal!

  5. Divide and Conquer! • is the problem: • hardware? • software? • or both!?

  6. Hardware Problems • breadboard / wiring errors • power supply errors • dead batteries • shorts • faulty components • always be aware! • look – smell – touch

  7. Hardware Troubleshooting • schematic • power supply ammeter • oscilloscope • DSO / logic analyzer • LEDs • datasheets

  8. Software Problems • semantic/logic errors • data representation errors • operator mis-precedence • side effects • ISR issues • I/O register configuration errors

  9. Software Troubleshooting • breakpoints/single-stepping • register/memory display & manipulation • software triggers • linker map • “heartbeat” debug pulses • back-ups!

  10. Other Tips • SEE (Someone Else’s Eyes) • document everything (lab journal) • re-read datasheets • design reviews

More Related