![]() You should see the response in the terminal window: When the download completes, the text will turn green again. You will see lots of text scrolling and S-record data pass by with a grey foreground color. > C:\MosaicPlus\my_projects\hello_world\hello_world.dlf <- file has been created. This method will allow you to send the correct. To save time, you can copy the entire path, C:\MosaicPlus\my_projects\hello_world\hello_world.dlf, from the build log and paste it into the "File name:" box in the Terminal's File→ Send File menu item. Figure 3 shows the bottom of the message window after the compilation is complete. You will see a lot of information scroll past in the messages window. If you wish to force a rebuild, simply choose Build→ Rebuild instead. Note that the system only recompiles files whose file dates indicate that the sources have been modified. To compile and build your program, all you need to do is click Build→ Build (that is, select the Build menu, and then click on the Build item). After you have clicked "save" the default source code file for "Hello World" (called main.c) will pop open. Although it doesn't matter where you place your work, we recommend that you use the default location of "C:\MosaicPlus\my_projects\hello_world\". If you don't like the default location, you may choose a different one now. ![]() Next a "Save as" dialog box will appear where you can choose a name for your project. We will use the default value of "hello_world". When you click "Create" you will see a "Choose a Foldername" dialog box which allows each project to be kept in its own folder. A "project" is a set of related source code files, settings, and templates that enable the creation of an application program.Ĭhoose the demo named "Hello World." Be sure the leave the "Create empty project" box unchecked so that source code will be created for you. This software is much more than a text editor it helps you manage your software using "projects", each of which can have many source code files. The following sections focus on software development using the Mosaic IDE Plus. The Mosaic Terminal was developed by Mosaic Industries, making it easy to download a program to the embedded controller and to interactively execute commands via your PC’s serial port. ![]() This document will refer to the Codeblocks environment as the "Mosaic IDE Plus" for simplicity. Codeblocks and GNU C (also called GCC) are well known "open source" software tools that have been customized for use with Mosaic products. The Mosaic IDE Plus consists of three main components: The Codeblocks editor, the GNU C compiler targeted to the Freescale 9S12 ( HCS12) microcontroller, and the Mosaic Terminal. The Mosaic IDE Plus™ (integrated development environment) provides all the software development tools you need to edit, compile, debug/test, and deploy your embedded application on your Mosaic Industries embedded controller. ![]()
0 Comments
Leave a Reply. |