Hardware Prototyping:Hardware Construction

Hardware Construction First, we will look briefly at some traditional techniques suitable for building one-off boards and prototypes, using the dice circuit in Figure 10.1. Then a slightly more elaborate general  purpose demonstration board will be designed and laid out in prototype form, and some programs provided to demonstrate its features and the related programming […]
Continue reading…

 

Program Debugging:Logical Errors

Logical Errors When all syntax errors have been eliminated the program will assemble successfully, and the hex file will be created. However, this does not necessarily mean that it will function correctly when downloaded to the chip; in fact, it probably won’t! Usually there will be logical errors, particularly when learning the programming method. Mistakes […]
Continue reading…

 

Program Debugging:Interactive Debugging

Interactive Debugging Interactive simulation of microcontroller circuits provides a powerful extra dimension in application design and debugging. Proteus VSM offers a complete design package, with schematic editing and capture, using a library of components which provides a graphical symbol for the schematic, a mathematical model for circuit analysis and component pin-out for use in the […]
Continue reading…

 

Hardware Prototyping:Hardware Design

Hardware Design Before computer-based electronic computer-aided design (ECAD) was widely available, circuits would be designed as sketches on paper and a layout produced manually. In the absence of fast and powerful computer simulation methods such as SPICE, this process relied more heavily on the experience of the design engineer to be able to predict the […]
Continue reading…

 

Application Design:Program Implementation

Program Implementation When the program logic has been worked out using flowcharts, or otherwise, the source code can be entered using a text editor. Normally, the program editor is part of an integrated development package such as MPLAB. Most programming languages are now supplied as part of an integrated edit and debug package. Assembler source […]
Continue reading…