During the design time, Processor Expert performs instant checking
of the project. As a result of this checking, error messages may
appear in the Error Window or directly in
the third column of the Bean Inspector
(on the faulty items line). Sometimes, it may happen that only one small
change in the project causes several (general) error messages. The most
common reasons for this behavior are stated below. Some beans use on-chip peripherals. In the Bean Inspector you can
choose from all possible peripherals that can be used for implementation
of the function of the current bean. Processor Expert provides checking
for required peripheral features such as word width and stop bit for
serial channel, pull resistor for I/O pin and others. In some timer beans you can choose if you want to use only a part of
the timer (compare register) or an entire timer. If you select the entire
timer, the driver can be optimized to best work with the timer: it can,
for example, invoke reset of the timer whenever is it needed by the bean
function. If the target CPU shares interrupt priority between several interrupt
vectors or shares interrupt vectors, Processor Expert provides checking of
interrupt priority settings. If you would like to have more detailed
information about Interrupt Priority see the Priorities
page. Processor Expert always checks the usage of internal and external
memories accessible via CPU address and data bus. Position and size of
internal memory is defined by the CPU type and can be configured in the
CPU Properties (if supported). External memories must be defined in CPU
Properties. The bits can also allocate memory. Therefore you can be sure that only
one bean uses an allocated bit of a register in external address space. The settings of all timed devices are checked. If no error is detected,
it means that you can work with the given settings without a problem in
run-time. Generated drivers are provided in such a way that they cannot
influence each other - this means that, even if several beans share one
physical device, changes in the bean settings using the values given (and
checked) by Processor Expert are possible in run-time without affecting
any other bean. Dealing with errors:
|