
µCore Software Development Process
The diagram illustrates the software development process for the µCore-3664. While it may at first glance seem complex, most of the complexity is handled by a number of batch/script files supplied as part of the µCore toolkit. The software development process is as follows:
- Create application C & assembly source files using your favorite text editor.
- Using your text editor,insert the name of each source file in the project file (uCore.prj).
- Use the build (or buildall) command to generate a hex image (uCore.hex).
- Download the image to the uFlash using the flash command.
The process in detail
- Copy the µCore/project directory to your desktop or documents directory.
- Rename the copy to the name of your new project.
- Enter the directory and open the file main.c with your favorite text editor.
- Make a change to the source.
- Save the change & exit
- Open the Command Prompt window & run the build script.
- When complete (assuming there have been no compile errors) run the flash script to download the program to the µCore.
- The µCore will run the program once download is complete.
Adding another source file to the project
Unless a project is very small it is better to break up its functionality into multiple modules, each module with its own source file. To add a new module to the project.
- Using your text editor create a new C source file.
- Save the source file (lets call it test.c) in the same directory as main.c.
- Open the file ucore.prj with your text editor.
- Enter the text "test.c" on a new line at the bottom of the file
- Save uCore.prj and exit the editor.
- You can now compile the project (including test.c) using the build script as before.
Home |
Products |
Technical Info |
How to Order |
Contact Us |
Links