Assuming that the BSP part has been completed, the following describes how to develop an application.ProgramBasic steps:
1. first, we can establish a new project in tornado. We can see that there are two types of images available: bootable and downloadable. in the initial stage of development, we usually first set up a bootable project that does not contain the application layer module, compile a VxWorks image that contains the basic components and start the system. In fact, this step is compiled to include a basic VxWorks kernel, which does not have our application.Code.
2. Create a downloadable project in the same workspace as the bootable project above, compile and debug the modules at the application layer in this project, and then download them to the target machine for debugging;
3. After debugging the application layer module, You can compile the application layer module and the bootable VxWorks image in step 1;
In this case, you can add the application-layer code file to the boottable project by adding add from project, and then import the files in the downloadable project that contains the application-layer code to the bootable project, re-compile the bootable project to obtain the launched VxWorks image of the application layer.
4. Put the final image in the directory of a floppy disk, hard disk, or FTP server. This is determined by the bootline startup method in bootrom.