Table of Contents

Create

When creating a new project, there must be defined Project Hardware Resources. Rather than creating the file manually, this can be done through the Project Hardware Resources Dialog which can be accessed by Create New Project options (Create a New Project from landing page, and File → New Project…)

You can start defining and adding hardware resources in the Project Hardware Resources, by filling the necessary information in Add resource section:

core – defines resource’s core number. Only numbers, starting from 0 .. N (N+1 core cpu)

type – type of the resource. Only predefined values allowed: description, ram or rom

name – represents a resource’s name. Only letters, numbers, underscore allowed for characters

value – resource’s value. For ram and rom type: range with start/end pair in hexadecimal form. Start/end values separated using “;” separator, if type is description every char is allowed

reserved – defines if memory is reserved

cached – defines if memory is cached

alias – defines another memory range for already defined resource

There are additional resources used to better define Hardware. They have description for type, and name, value pairs are as follows:

  • MCU – MCU name – String value
  • IVT – Interrupt Vector Table entry address – 1..N addresses in hexadecimal form, separated with ‘;’ separator
  • IVTOFFSET – Offset in bytes for Interrupt Vector in Interrupt Vector Table – hexadecimal format, mandatory if IVT is defined
  • IVTSIZE – Size of Interrupt Vector Table – size in bytes, hex format, mandatory if IVT is defined
  • TVT -Trap Vector Table entry address – 1..N addresses in hexadecimal form, separated with ‘;’ separator
  • TVTOFFSET – Offset in bytes for Trap Vector in Trap Vector Table – hexadecimal format, mandatory if TVT is defined
  • TVTSIZE – size of Trap Vector Table – size in bytes, hex format, mandatory if TVT is defined
  • INTERFACE – Interface name with type separated with ‘;’ separator. Interface type can be R – receiver or S – sender. String value
  • RETURNVALUEREGISTER – Number of Data register used for return value from function
  • RETURNADDRESSREGISTER – Number of Address register used for return pointers
  • IFACERECEIVERRETNCVALUE – Return not connected value for Receiver interface
  • IFACESENDERRETNCVALUE – Return not connected value for Sender interface

After filling the information, to add the resource, click on Insert button to the right:

After which will your resource be added to the structure below

At any point of time, you can save your file by clicking the Save button

to open File Explorer and save your file. After saving the file, its path will be shown in File location field:

After finishing, go to Close button, to proceed with creating a new project:

Edit

There is also an option for editing of the Project Hardware Resources file. To access this, go to File → Edit Project Hardware Resources…

to access the Project Hardware Resources Dialog and apply the changes

Make sure you Save your changes. If you forget to save anyway, an info dialog will pop up, in order to double check if you are closing the window without saving the changes

If you choose Save the process is the same – File Explorer will open, and you can finish saving. Or if you simply want to close the window without saving anything, just choose Cancel button.

Go to Top