MexBIOS Development Studio: Quick start

INSTALLATION OF MEXBIOS™ DEVELOPMENT STUDIO 

 

 

  • Download the installation file of MexBIOS™ Development Studio from website: http://mechatronica-pro.com
  • Start installation file MBDS_Setup.exe.

 

 

  1. Select installation language.
  2. Follow instructions of the installation.

 

 

  • After the installation only model library is available.
  • Download the installation file of Processor library for TMS320F2803x  and TMS320F281x from website: http://mechatronica-pro.com
  • Start installation file TMS320F281x_Setup.exe.

 

 

  1. Select installation language.
  2. Follow instructions of the installation.

 

 

  • Repeat all installation actions with file TMS320F2803x_Setup.exe.
  • At the moment in the program only model library and two libraries for processors TMS320F281x and TMS320F2803x.

 

 
QUICK START
 

 

It takes no more than 10 minutes for the quick start.At first start the MexBIOS™ Development Studio looks like it is shown in fig. 1. 

 

Fig. 1. MexBIOS™ Development Studio window at first start

To start the environment in the operation mode with a specific processor you need to choose New under Main menu in the Upper panel, and then the available block library for the processor (e.g. TMS320F2803x).

 

Fig. 2. Main menu, Selecting the block library for specific processor

In the Save dialog box appeared thereafter choose “No”. In the palette the components available for the chosen processor will be shown.

 

Fig. 3. Operation with processor TMS320F2803x

 

The software can operate both in simulation mode and in emulation mode. We start studying the simulation mode. To assemble the simple circuit you should:

  • Click on Dataflow inlay in the Workspace.
  • Place several blocks from the Palette to the Workspace.
  • In the Palette click on Sources inlay.
  • Click the icon of IN block by left mouse button and holding the button drag the block from the Palette to the Workspace.
  • The block will be placed in the Workspace area, where you release the left mouse button. 

 

Fig. 4. Placing a block from the Palette to the Workspace

  • In the similar way place one more IN block, OUT block and ADD block from Math inlay to get the set of blocks shown in fig. 5.

 

Fig. 5. Simple set of blocks without connections

  • Connect the blocks by means of dataflow lines (further simply lines).
  • Place the cursor over the source block output, and then click it by the left mouse button – it will start the line drawing. Thereafter move the cursor through the Workspace to the target block and the dotted line will follow the cursor movement automatically.
  • To finish the line you should click on the target block input.
  • There is an extra feature for connecting the blocks. Press and hold the [Ctrl] key, then click the source block. While holding the [Ctrl] key click the target block.
  • In the similar way draw all necessary lines as it is shown in fig. 8.

Fig. 6. Drawing the line

 

Fig. 7. Connecting to the target block input

 

Fig. 8. Blocks with lines drawn

  • Set the visual controls.
  • Right-click the IN block to activate the contextual menu.
  • Choose Control →Track bar. 
  • Thereafter instead the block the visual control appears (and possibly the connections will be moved). 
  • In the similar way set as controls: Track bar for second IN block and Label for OUT block.

NOTE: Lists of available controls for IN and OUT blocks are different.

As the result the circuit will be look like it is shown in fig. 9.

 

Fig. 9. Setting the controls

 

Fig. 10. The circuit with visual controls

The OUT block can be enlarged by pulling down the lower corner of the block.

  • Start the simulation.
  • Press the start button located in the Upper panel.
  • Move the pointers of the track bars and observe the changes of the output.
  • The circuit is adding the two inputs and displaying the result in OUT block.
  • Assigning the inputs and displaying the output is carried out in interactive mode by means of visual controls.

 

Fig. 11. Starting the simulation

 

Fig. 12. Testing the circuit operation

  • Information about the blocks and their description are available in contextual menu of the block: right-click on the block and choose → About → Help me. 

 

HOT KEYS

 

Ctrl+X Cut the selection
Ctrl+C Copy the selection
Ctrl+V Paste from clipboard
Ctrl+S Save current project
Ctrl+Shift+S   Save current project As
Ctrl+O Open project
Ctrl+R Rotate selected blocks
R Zoom in
V Zoom out
F Zoom in the selection to fit the window
Delete Delete the selection
F11 Inspector call
Ctrl+Left Move the selection to the left
Ctrl+Right Move the selection to the right
Ctrl+Up Move up the selection
Ctrl+Down Move down the selection

 

ERROR AND WARNING MESSAGES

 

Text of message Description Solution
MBS: Configuration is missing or corrupted Warning – configuration file in microcontroller memory is missing or corrupted Load the configuration file by clicking RAM button in Device or Real-time debug panels
MBS: No connections There is no connection to the device  Check the device connection to the computer. In Connection settings make sure the correct selection of COM port. Connect to the device by means Connect button in Device or Real-time debug panels
MBS: No layers The error arises, when the kernel is faulty operating because of no layers. Add layers in Layers inlay. Restart the software. Power down and up again the device
MBS: Bad layer Layer with incorrect component. The error arises, when there is a component in the model, which is not available in the library for operated processor Delete the incorrect component from the model
MBS: Not enought memory Not enough memory for software loading Optimize the software, reduce the number of blocks
MBS: Illegal configuration Illegal configuration of the software  
MBS: Unsupported object There is an object in Workspace, which is not supported by the processor Delete unsupported object
MBS: Undefined error Undefined error  
MBS: No objects in layers There is(are) no object(s) in layer(s). The error arise, when the kernel is faulty operating. Restart the software
MBS: Kernel not running Kernel is not running Power down and up again the device. Restart the software
Timeout expired Kernel does not respond to connection request Disconnect and connect again the USB/COM cable. Power down and up again the device
Nothing to start No software Add blocks to Workspace
Теги: 
Scheme