Change Highlights

MC-3020 2.1 has refined its support for the features of BridgePoint 5 and has fixed problems discovered in 1.x and 2.0 versions of MC-3020.

Enhancements

Bridge operations colored as safe for interrupts can now pass parameters into the domain. These "Interleaved Bridges" allow control and data to be passed from one microprocessor context (interrupt service routine, process, task, etc.) into the modeled OOA domain. These data are protected from cross context corruption while traversing from the interrupt context (or parallel/concurrent task) into the OOA context. Interrupt Service Routines may now pass multiple data arguments into synchronous service bridge operations colored as safe for interrupts.

Polymorphic events can now be generated to leaf subtypes. This will also allow for polymorphic event to self even when the instance referred to by self is a subtype below in hierarchy from the supertype for which the event is named.

Some minor enhancements in compatibility between the coloring of MC-3020 and MC-2020 have been applied to MC-3020. Further consistency between these two model compilers is planned.

A mechanism has been added to allow the idle loop to be shut down cleanly and gracefully permitting main to exit.

Fixes

Field Issue 41: Spelling error in init function declaration

Corrected.

Field Issue 362: Sending PE to self and leaf subtype

New archetype code was added to allow polymorphic events to be directed at instances below the top of the object hierarchy including the "leaf" instance. This also allows a polymorphic event to be generated to self.

Field Issue 216: Request to be able to halt main loop

Escher_run_flag
has been made globally visible. Setting this value to false will cause the main loop to exit allowing shutdown processing to occur. The ideal place to set this value is in
UserBackgroundProcessingCallout

Field Issue 224: xlating transforms when descriptions are included

Fixed.

Field Issue 227: Coloring bridge objs safe for interrupts

Addressed with enhancement described above.

Field Issue 228, 229, 230: Transformer and bridge coloring issues

Fixed.

Field Issue 241: New BP5.0 Enum format must be documented

The Users Guide has been updated to provide this documentation. MC-3020 2.0 provided support the version 5 enumeration support in BridgePoint Model Builder. The older method of marking enumerations in attribute descriptions is supported but discouraged.

Field Issue 311: unary + prepended to binary expression fails

This is fixed. In certain circumstances, unary plus and minus caused parsing problems in the model compiler.

Internal Issue 28: formalization using date or time fails copy

This turned out to be a problem in support code and not in the model compiler itself. The sample timer code (TIM_bridge.c) had a problem in the TIM_create_date routine. This routine has been updated for use in samples and examples.