Resources | Resources |



Tools Reference

Base version: Brew MP 1.0.2
Document number: HT80-VT500-91 Rev. K
Date Published: May 24, 2012

The Tools Reference includes help information for the Brew ® MP toolset. The toolset contains the tools described in this document:

Development tools

  • SDK Manager: Assists with Brew MP setup, tools, and resources.
  • Visual Studio Plugin: Integrates Brew MP developer operations into the Visual Studio (2008 and 2010) IDE. This plugin provides Brew MP development model project wizards (i.e., applets, extensions, etc.), and provides single-click icons for running, testing and debugging.
  • Eclipse Plugin: Integrates Brew MP developer operations into the Eclipse IDE. This plugin provides Brew MP development model project wizards (applets, extensions, etc.), and provides single-click solutions for target building, execution and debugging.
  • Excel Add-in: Integrates the ability to view and modify Brew MP CAR files with Microsoft Excel.
  • Resource Manager: Creates and edits Brew MP module information and resource files (.cif, .car), and compiles them (to .mif and .bar). It also assists in migrating deprecated BREW resource types (.mfx, .brx and .brh) to Brew MP.
  • BBFGEN: Generates BREW bitmap fonts (BBFs) from Windows bitmap files. This tool is used for variable width fonts either to generate BBF files that are referenced from the Simulator skins or to put the same data in a C language header file.
  • Qidlc: A command-line executable used to implement remote objects for Brew MP.
  • Qidlscript compiler: A command-line tool that accepts IDL and BID files as input, and generates the code needed to use the objects and interfaces in LUA scripts. This tool is deprecated as of Brew MP 1.0.4 and newer. The QIDLC Compiler is the replacement for this tool.
  • QIDL Compiler: A command-line tool that takes an IDL file as input and generates output in different implementation languages. The compiler is currently able to generate C and C++ stub and skeleton code or Component Information Files (CIFs). The default output is C and C++ code. This tool is deprecated as of Brew MP 1.0.4 and newer. The QIDLC Compiler is the replacement for this tool.
  • CIF compiler: Takes one or more CIF files as input and creates a single Module Information File (MIF), which every module needs in order to execute in the Brew MP environment.

Target tools

  • Loader: A GUI and a command-line Interface tool that provides file and module management. Loader is used to load applications on a device from your computer and transfer data files from the device to the computer over a serial connection.
  • Logger: Records and accesses device statistics and log messages while applications are running on a device, and supports Perl scripting..
  • Simulator: Simulates a Brew MP device, and can be used to test and debug Brew MP applications and extensions.
  • Target Manager: Displays and manages physical and simulation targets. A wizard assists in connecting to physical targets. Target Manager also displays profiles and assists in the creation of simulation targets. All running targets, simulation or physical, have right-click action menus for analyzing and managing target properties (i.e. Remote Control, Interrogator, Heap Analyzer, etc.). TM.exe is the command-line version of Target Manager.
  • ConnectTool: A command-line version of the Connect library used by Brew MP tools to establish a connection to and perform operations on a device or Simulator target. The library is shipped with APIs so that third parties can create new tools for the Brew MP environment.
  • Interrogator: Scans USB Gateway enabled devices for the loaded modules, Brew MP classes, registry, and hardware information. The scanned data can be saved as XML files.
  • Component Heap Tracker (CHT): Monitors heap activities to catch heap corruptions. The CHT logs errors to a file, and if a debugger is running, can cause a break when an error is detected.
  • Heap Analyzer: A PC-side UI tool that acts as a one-click solution for heap analysis and diagnostics.
  • Profile Creator: A tool used to create device profiles for the Brew MP Simulator.

Validation Tools

  • Results Manager: A tool used to create a workspace and manage test results generated and stored by Test Manager in a database.
  • Test Manager: A command-line utility to load, execute, and delete test modules on a device target and report the results of the test execution.
  • DebugBot: A command-line tool used to set up the debugging environment.
  • Report Generator: A command-line tool used to generate these reports based on test results and input files:

    • Class Support
    • Certification (for Brew Level Certification - Brew Level 1 (BL1) or Brew Level 2 (BL2))
    • API Validation Results


muddflapps 30 Dec 2010 05:30am


harhoang 20 Dec 2010 10:35am

Also note, that "Target Manager" will fire up "Simtargetexecutor.exe"

Miki_Liu 24 Feb 2011 10:28pm

I use Pro.
After I pressed on CHT menu item in Tools Menu, the simulator becomes hang. Waiting for 3 minutes and it still not reactive.

Lin 11 Mar 2011 10:07am

After the CHT module is installed under fs:/sys/mod, upon restart of the Simulator, CHT is running with basic functionality. To enable the feature that logs call stacks for memory allocation and is useful for debugging memory corruptions, you will need to go to Tools -> CHT to explicitly turn that feature on. It is expected that turning on this feature will slow down the Simulator significantly. Therefore, you should carefully select the points where you turn on/off this feature.