Explore chapters and articles related to this topic
Microcontroller Software
Published in Syed R. Rizvi, Microcontroller Programming, 2016
A debugger provides an iterative method of executing and debugging the user’s software, one or a few instructions at a time, allowing the user to see the effects of small pieces of the program and thereby isolate programming errors. Typically, debuggers offer sophisticated functions such as running a program step by step (single-stepping), stopping (breaking or pausing the program to examine the current state) at some event or specified instruction by means of a breakpoint, and tracking the values of some variables. Some debuggers have the ability to alter the state of the program while it is running, rather than merely observing it.
Embedded Systems Programming
Published in Julio Sanchez, Maria P. Canton, Embedded Systems Circuits and Programming, 2017
Julio Sanchez, Maria P. Canton
Installing the MPLAB package is straightforward and simple. The package includes the following components: MPLAB editor. This tool allows creating and editing the assembly language source code. It behaves very much like any Windows editor and contains the standard editor functions including cut and paste, search and replace, and undo and redo functions.MPLAB assembler. The assembler reads the source file produced in the editor and generates either absolute or relocatable code. Absolute code executes directly in the PIC. Relocatable code can be linked with other separately assembled modules or with libraries.MPLAB linker. This component combines modules generated by the assembler with libraries or other object files, into a single executable file in .hex format.MPLAB debuggers. Several debuggers are compatible with the MPLAB development system. Debuggers are used to single-step through the code, breakpoint at critical places in the program, and watch variables and registers as the program executes. In addition to being a powerful tool for detecting and fixing program errors, debuggers prove an internal view of the processor, which is a valuable learning tool.MPLAB in-circuit emulators. These are development tools that allow performing basic debugging functions while the processor is installed in the circuit.
PIC Programming: Tools and Techniques
Published in Julio Sanchez, Maria P. Canton, Microcontroller Programming, 2018
Julio Sanchez, Maria P. Canton
Installing the MPLAB package is straightforward and simple. The package includes the following components: MPLAB editor. This tool allows creating and editing the assembly language source code. It behaves like any Windows editor and contains the standard editor functions, including cut-and-paste, search-and-replace, and undo and redo functions.MPLAB assembler. The assembler reads the source file produced in the editor and generates either absolute or relocatable code. Absolute code executes directly in the PIC. Relocatable code can be linked with other separately assembled modules or with libraries.MPLAB linker. This component combines modules generated by the assembler with libraries or other object files, into a single executable file in .hex format.MPLAB debuggers. Several debuggers are compatible with the MPLAB development system. Debuggers are used to single-step through the code, breakpoint at critical places in the program, and watch variables and registers as the program executes. In addition to being a powerful tool for detecting and fixing program errors, debuggers provide an internal view of the processor; this is a valuable learning tool.MPLAB In-circuit emulators. These are development tools that allow performing basic debugging functions while the processor is installed in the circuit.
An efficient industry 4.0 architecture for energy conservation using an automatic machine monitor and control in the foundry
Published in Automatika, 2022
M. Dinesh, C. Arvind, K. Srihari
OrCAD Capture software is used to construct the schematic of MMCA, while PCB Editor is used for placement and routing. The microcontroller XE167 is programmed using Keilu Vision and Mem tool. The µVision Debugger from Keil supports simulation using a PC or laptop and debugging using a target system and a debugger interface. The Proteus Design Suite is used to verify the functionality of the MMCA schematic and the programmed microcontroller. The Keil software is an IDE; it integrates a text editor to write a C/C++ programme. Being a compiler, it also converts C code into hexadecimal. The Memtool is a system application used to flash the programme instruction (hexadecimal code) and erase the programme to XC167 microcontroller on-chip flash memory.
University students turning computer programming into an instrument for ‘authentic’ mathematical work
Published in International Journal of Mathematical Education in Science and Technology, 2020
Chantal Buteau, Ghislaine Gueudet, Eric Muller, Joyce Mgombelo, Ana Isabel Sacristán
We consider, as the artefact, programming technology, and more precisely, a syntax-based generic programming language together with an integrated development environment (IDE) usually consisting of a source code editor, build automation tools, and a debugger. For example, Visual Basic.net (vb.net) programming language in Visual Studio IDE; an individual programming in VB.net, would work in Visual Studio whereby the design of the graphical user interface (GUI) is done through mouse click and drag (Figure 3 left) and program functionalities through writing syntax-based codes in vb.net language (Figure 3 right). Compiling and running the program is done through a mouse click in the Visual Studio menu. When typing lines of codes, Visual Studio underlines incomplete statements (e.g. when a loop is not closed) or unknown ones (e.g. statement including a variable typed with a typo) even before compiling. If Visual Studio identifies issues when compiling, a list of error messages are then listed at the bottom of the IDE with line numbers of where the issues occurred; otherwise the GUI shows up and is ready for use. Visual Studio contains a debugging tool that enables the user to compile the program up to certain line number to his/her choice by inserting (by mouse click) a break point. The user then has an internal access to the program up to this point, i.e. can see what the values are for each variable, and may continue (by mouse click) to compile the program line and line, and see the related variable value changes. Two other examples of syntax-based generic programming languages together with an IDE are Python in PyCharm IDE and Java in NetBeans IDE.
Speeding Up Monte Carlo Computations by Parallel Processing Using a GPU for Uncertainty Evaluation in accordance with GUM Supplement 2
Published in NCSLI Measure, 2018
C. M. Tsui, Aaron Y. K. Yan, H. W. Lai
The development of measurement model in OpenCL does not require in-depth knowledge of GPU or parallel computing. The user should have some basic programing experience in the C language. The development tools required are the Intel SDK for OpenCL Applications and the Microsoft Visual Studio. The Intel SDK includes an OpenCL kernel debugger that support interactive debugging of the measurement model. The effort in programing the model in Figure 9 was not much harder than that using other programing languages. Despite using the Intel tools, the OpenCL code developed can run on GPUs from other suppliers.