-
Notifications
You must be signed in to change notification settings - Fork 0
/
project-structure.txt
36 lines (33 loc) · 1.41 KB
/
project-structure.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
The programs I'm working with are:
1. MPLAB X IDE with XC8 Compiler:
=> Create, Compile, Run and Debug programs (Assembly programs in C/C++ files).
=> To create a program, follow these steps:
* Create a project with all its configuration (Project Type, uC Family, uC Type, Compiler, Project Name, ...)
* Add program file to the project
* Write the program code
* Build and Debug the code
* Save the program files
* ...
2. MPLAB:
=> Create, Compile, Run and Debug programs (Assembly programs).
=> To create a program, follow these steps:
* Create a project (use Project Wizard)
* Create an assembly file
* Add the assembly file to the project
* Select Debugger > Select Tool > 4 MPLAB SIM
* Select Configure > Configuration Bits > ...
* ...
3. Proteus 8:
=> Simulate the programs inputs and outputs.
=> To create a simulation, follow these steps:
* Create a Schematic Capture
* Select Components Mode
* Click P -> Search for components
* Add the components to the canvas
* Add other essential things (GND, ...)
* Double click the microcontroller
* Configure the processor clock frequency
* Add the program file:
=> MPLABXProjects\\YourProject.X\\dist\\default\\production\\YourProject.X.production.hex
* Start the simulation
* ...