![]() |
Quick and Easy
Code Generation for Philips Microcontrollers |
Code Architect User Manual
What is Code Architect?
Code Architect is a Web and PC based software tool that allows source code to be quickly and easily generated for Philips Microcontrollers. By selecting user-friendly input options, customized C source code will be generated for Keil and Raisonance 8051 Compilers with only a few mouse clicks. The source code may then be cut and pasted or saved and added to a Keil or Raisonance project.
Code Architect allows multiple complex peripherals to be configured and used with a minimum of effort and time.
Code Architect Versions
Code Architect comes in two versions - Internet and Windows.
The Internet version is available at www.codearchitect.org and provides all the features of Code Architect except automated saving of generated files. However, generated code may be cut and pasted from the web page. Note that generated code is not retained. Nor is it linked to any specific users or IP addresses.
The Windows version is available for download by following the relevent link at the bottom of the page. It is a 32-bit Windows application and provides all the features of Code Architect plus the ability to automate saving the generated files. The system requirements are:
The Internet and
Windows versions of Code Architect share a common project file format, therefore
projects saved in one version may be loaded into the other version. This allows
access to your Code Architect projects regardless of whether you are using a
public PC, friend's PC, on a buisness trip, at the office or whether you have
an Internet connection or not.
The user interface is nearly identical in both Internet and Windows versions
providing familiarity and ease of use.
Using Code Architect
Code Architect is very straightforward to use.
Across the top of the page there is the project title and links to project options, such as saving a project, loading a project and creating a new project. When Code Architect is first started a new project with the name "Untitled" is automatcally created. When code is generated, the settings will automatically be saved to the project. Once you have finished generating code you may choose the Save Project option to save your project file.
Note: If you do not save your project file you will lose all settings you have made since starting Code Architect. The Windows version will ask you if you wish to save the project when you attempt to close the application. The Internet version will not. Also if you stop using the Internet version for 30 minutes or more, you will lose all settings you have made since accessing the web site.
Generating code is divided into three steps. Step 1 is to select the peripheral or module you wish to generate code for. Selection of the correct device first will be required before you are presented with a list of peripherals available for that device. Simply click on the name of the device or device family followed by the peripheral.
Step 2 is to enter
the options for the peripheral. The options have been made as user-friendly
as possible, however sometimes reference to the datasheet will be required to
understand some of the options. Once selections have been made, clicking on
the Generate button will generate customized C source code based on your selections.
In some situations, notes may be displayed along with the generated code. Notes are shown immediately before the generated code. Typical reasons for notes appearing include:
Resource conflicts may also be shown along with the generated code. Resource conflicts occur when more than one peripheral that has been configured uses the same device pin or other resource such as a timer. When a resource conflict occurs, the resource in question along with which peripherals use it are shown.
Step 3 is to either save or cut and paste the generated code. Usually the generated code is provided in the form of a header file and C source file, therefore two files must be saved or created. In both the Internet and Windows version cutting and pasting is provided. In the Windows version the source files may be saved by choosing Save Source Files... from the File menu. A link will be provided in both versions to open the generated code in a seperate window as an aid to cutting and pasting.
At the bottom of each page are links to additional information that may be useful. These include downloading the Windows version, accessing the documentation and relevent online training classes.
At the bottom of the Windows version window are Embedded Hints. These are constantly changing links to relevent web sites. The hint changes every two minutes, however by clicking on the purple arrow it is possible to scroll through all the current hints. Clicking on a hint will open the associated web page in your default Web browser.
Support
Support for Code Architect may be obtained from the following locations. Note also that a link is provided at the bottom of each Code Architect web page.
Embedded Systems
Academy, Inc.
50 Airport Parkway,
San Jose, CA 95110
USA
Email: support@codearchitect.org
Feedback
At Embedded Systems Academy we always welcome feedback, bug reports and suggestions for improvements. Many features in our software are the result of user suggestions. If you have any feedback, bug reports or suggestions regarding Code Architect please send them to us at
Email: support@codearchitect.org
Customizing Code Architect
Code Architect is available for customizing for other projects and environments, for example TCP/IP stacks, complex configurable projects as well as code generation. For information on how Code Architect could be customized for you contact the sales department at:
Embedded Systems
Academy, Inc.
50 Airport Parkway,
San Jose, CA 95110
USA
Email: info@esacademy.com
Phone: +1 (877) 812-6393
![]() |
Documentation Code Architect User Manual Code Architect Help |
Versions Windows Internet |
Support support@codearchitect.org |
Online Training
Classes My Academy |
![]() |