Work before the burning of writing
It is also proposed that after the project is compiled successfully, we can not in the beginning to burn the program into FLASH permanently saved. We need a series of settings,
First of all, in the menu Tools drop-down menu must have the following picture of the line section of the option, otherwise the burning work is not done, then how to add this option. We need to install the latest burn-in plugin below. EXE "Step to implement.
Figure 3.1 Options in the Tools toolbar
Figure 3.2 The latest burn-write plug-in installation Steps (ii)
Figure 3.3 The latest burn-write plugin installation step (i)
Figure 3.4 The latest burn-write plug-in installation Steps (iii)
Figure 3.5 The latest burn-write plugin installation steps
Figure 3.6 The latest burn-write plugin installation steps
Figure 3.7 The latest burn-write plug-in installation steps specific setup steps
OK, after the installation we will find that the menu in Figure 0 has already appeared. Let's perform a program that is tuned from RAM to flash in the following steps:
1. Debugging a good program in RAM
Figure 3.8 Debugging a good program in RAM
2. Remove the original gel file and load the F2812.gel from the CCS system
Figure 3.9 Loading the F2812.gel from the CCS system
3. lib file of the original program
Figure 3.10 lib file in the original program
4,remove The original Lib file, loading the lib file for burning and writing
Figure 3.11 Loading a lib file for burning and writing
5. The original program in the Ram debug cmd file
Figure 3.12 The original program in RAM debug cmd file
6.remove The original cmd file loads the cmd with the burn write, and then recompile to generate the out file
Figure 3.13 Generating an out file
After completing the above steps, save the key steps to our program. First, execute the menu command tools→f28xx on-chip Flash Programmer The following dialog box appears, and the key points are described in the dialog box.
Figure 3.14 Program Settings
Select the appropriate algorithm file path, the detailed name is shown in the following figure.
Figure 3.16 Selecting the appropriate algorithm file path
Choose the program we want to burn. The format is *.out format.
Figure 3.17 Setting the file format
The detailed path is shown in the following figure.
Figure 3.18 Selecting a detailed path
After completion, the program starts to burn. The process of burning will encounter the following dialog box, at this time do not tense, regardless of it, and so on after the following process bar is completed, we can exit the editor. We can only click the Close button in the following dialog box, this time will not react, this is when we close the editor to exit the burn-write interface. After exiting will also pop up two warning dialog boxes, we also do not tube, close them can be.
Figure 3.19 Note