Cyan Technology .

. English .    

.

CyanIDE

Download CyanIDE for FREE
>> Click Here

 

 

 


CyanIDE® 1.4

CyanIDE is Cyan's world class Integrated Development Environment to support software development for Cyan's current microcontrollers. The CyanIDE package comes complete with a project manager, an editor, full ANSI C compiler, simulator, debugger and in-system programmer. Also included is our unique Configurator, configuration tool that allows the microcontroller's peripherals to be easily configured using a simple drag and drop GUI.

The ease of use of CyanIDE and its unique features allows rapid development and configuration of our microcontrollers, allowing more time developing applications and requiring less time reading user manuals, ensuring the fastest possible time to market. CyanIDE is free and can be downloaded from this website or supplied on CD ROM.

CyanIDE provides a suite of integrated tools to:

  • Organise project and source files.

  • Edit source files.

  • Build the project.

  • Run and debug the project.

  • Automate tasks and extend CyanIDE functionality.

Projects

The working environment within CyanIDE is organised into projects.

A typical project includes:

  • Source code files

  • Configuration file

  • Project properties controlling compilation, linking and debugging

 

A project also defines a target processor or simulator. Appropriate debugging support for the target processor or simulator is initialised when a project is loaded.

The project workspace including open files, window positions, watched variables, and breakpoints is saved as a file in the main project directory. These properties are saved in the workspace file when the project is saved or closed, and are restored when the project is reopened. Project properties controlling compilation, linking, and debugging are grouped into project configurations. New configurations can be created to build different versions of the project. For example, separate configurations can be set up for a Release version and a Debug version of the project.

Organising source files

Source files are organised in the Navigator pane into logical folders and subfolders within a project. Folders may be created and files grouped as required. Note that the logical folder structure of the project files as displayed in the Navigator pane is independent of the physical location of the files on disk.

Source file in the project can be opened for editing in the text editor.

Memory configuration

For Memory Configuration, an MMU configuration dialogue box allows simple drag and drop to be used to graphically configure the MMU. Memory translation units are dragged and dropped onto a pictorial representation of the memory map. Logical and physical base addresses are entered and the segment size is selected from the drop down box.

Configuring a device with CyanIDE

CyanIDE provides a graphical Configurator to allow very easy configuration of Cyan’s range of microcontrollers. The user will drag and drop from a palette of peripherals, represented as icons, onto a graphic representation of a microcontroller. Once the user has selected the peripherals they require for their next application, they can double click on each peripheral icon in turn. A dialogue will appear, allowing the engineer to easily configure the custom settings of each peripheral. Now, the engineer can route their chosen peripherals around the chip, selecting the pins they are connected to for the interface to the ‘outside world’. Note, at no time has any code had to be written by the engineer. Drag and drop and dialogues with selection boxes have been used to configure the entire chip.

 

 

Debugging with CyanIDE

CyanIDE provides full symbolic C level source debugging in an easy to use and familiar environment. The debugger supports many breakpoints, more than enough to debug the most complex applications. CyanIDE supports single stepping by instructions or C statements, C source and assembly views, and can debug on the target hardware using the on-chip In Circuit Emulator. Sockets for emulator headers are not needed.

Debug windows are available during debugging and allow the program state to be viewed and modified. The following windows are available:

  • Registers - display and modify processor registers.

  • Watch - display and modify variables or individual memory addresses.

  • Memory - display and modify memory.

Switch chip

CyanIDE provides portability with the Switch Chip tool.  Project Configurations can be moved from one Cyan chip to another with a single click.  Code can be re-used across different Cyan devices and multiple projects thus saving design time. A simple recompile is all that is needed for the new chip variant. Development work can be commenced on a feature rich device and the precise part needed can be selected when nearing production. Alternatively, if additional functionality requirement necessitates moving to a larger device, then this too can be done at a click. Any conflicts or peripheral availability issues will be flagged.

 

Building the project  

Building the project produces an executable program that can be run on the target processor or simulator. The build steps performed include compilation of the source files followed by linking. The exact build sequence is determined by the project type and target processor or simulator.

CyanIDE attempts to build only the files that have been modified since the last build, unless a complete rebuild of the project is forced by selecting the Rebuild All menu item. File dependencies are maintained automatically.

Should I switch to CyanIDE 2?

  • CyanIDE 2 does not support the eCOG1k device. Customers using the eCOG1k should continue to use CyanIDE 1.4.X.
  • CyanIDE 2 requires the new eCOG1X USB eICE programming adaptor using the eCOG1X5A5. It does not support the older eICE adaptor based on the FTDI USB device.
    Contact Cyan Sales for more information.
  • Existing eCOG1X USB eICE adaptors used with CyanIDE 1.4 are suitable for use with CyanIDE 2. However, CyanIDE 2 and
  • CyanIDE 1.4 require different firmware on the eICE adaptor.
    A firmware upgrade can be performed from within CyanIDE 2, and subsequently can be reversed using CyanIDE 1.4 if required.
    CyanIDE 2 and CyanIDE 1.4.X can be installed on the same machine. They install into different directories and do not share path or environment variables.