home   about us   news & events   products   support   download   sales     
 
Freescale

HC/HCS/RS08,CFV1
  PE CW Plug-in
  Device Initialization
  Embedded Beans
  FAQ
    CW Editions
  Downloads
  Support
  Sales
HCS12, HCS12X
56800/E
MPC5500
Beans Library

 

HC08, HCS08, RS08, ColdFireV1 Frequently Asked Questions (FAQ)

On this page we try to answer some of the questions people ask us the most. Check here for a regularly updated list of the frequently asked questions about our products. If you don't find the answer to your query below and require further assistance, please feel free to contact us.

Contents:

  1. Windows Vista issues with Processor Expert
  2. How to find out the version of the currently installed Processor Expert?
  3. How to install update package?
  4. What is a speed mode?
  5. How to obtain evaluation licence for CodeWarrior?
  6. How to install PE 2.91 Update for CW Development Studio 3.0?
  7. The method GetVal() of the BitIO bean returns values other than 0 or 1.
  8. Where a revision history of Processor Expert and Embedded Beans can be found?


1. Windows Vista issues with Processor Expert

This issue relates to CodeWarrior for MCU 6.x, CodeWarrior for ColdFire 7.x and CodeWarrior for DSC 8.2. There are the following known problems in ProcessorExpert under Windows Vista operating system, if CodeWarrior is installed to "Program Files" folder:

  1. Update of ProcessorExpert from an update package fails (cannot write *.drv or *.dll file to the disk)
  2. Free Beans installation in ProcessorExpert fails (cannot write *.drv file to the disk)
  3. Bean Wizard cannot save a new created bean (cannot write *.drv file to the disk)
  4. Some user modifications, settings or installed updates may not be accessible or may not preserve, if the user logs in Windows Vista with a different account.
To avoid these problems we suggest one of the following solutions:
  • Workaround 1: Install CodeWarrior V6.1 to a different location than Program Files folder (or any Windows related folder)
  • Workaround 2: Run CodeWarrior in the administrator mode. Set "{CodeWarrior folder}\bin\IDE.exe -> Properties -> Compatibility -> Run this program as administrator" option on.
  • Workaround 3: Add modify and write permissions to "Users" account for CodeWarrior's folder. {CodeWarrior folder} -> Properties -> Security -> Users, add modify and write permissions.

2. How to find out the version of the currently installed Processor Expert?

The version information is available in the 'About' dialog that can be invoked using the menu command 'Help | Processor Expert | About Processor Expert'.


Figure 1 - Example of the About Dialog

This dialog contains Processor Expert version (in our example 2.93.01) which is the main version information for Processor Expert. (Please note that this version number is not changed by installation of patches).
List of currently installed patches can be obtained viewing the installed update packages using the button 'Installed Updates'.


3. How to install update package?

  • ensure that the package is for you version of Processor Expert. For example the 'Processor Expert 2.92.02 patch' is a patch number 2 for the Processor Expert version 2.92.
  • the bean update package file must have extension *.PEupd. If the extension is different, please follow the installation instructions for the package.
  • start any Processor Expert project in CodeWarrior (or create a new one)
  • from the CodeWarrior main menu select: "Processor Expert | Update | Update Processor Expert from Package..."
  • enter path and name to downloaded update file
  • Processor Expert shows you information about update contents
  • on dialog "Proceed update?" click Yes
  • then the update is automatically executed
  • After successful installation of update package reload actual project or restartProcessor Expert

4. What is a speed mode?

There are some reasons to change MCU clock rate in the application, for example because of a lower power supply. Processor Expert support up to three different speed modes (in the CPU bean setting). The speed modes can be switched in runtime without any affect to the timing of beans. It is possible to select main prescaler value, sub-clock mode and PLL settings for each of them (if supported) in the CPU bean:

  • High speed mode - this mode is selected after reset and must be enabled in the project. This speed mode must be the fastest mode of the CPU.
  • Low speed mode - this mode is usually for another PLL or main prescaler settings.
  • Slow speed mode - this mode is usually used for sub-clock mode of the CPU. This mode must be the slowest mode of the CPU.

Timed beans which depends on the MCU clock (such as timer, communication and conversion beans), may support speed modes defined in the CPU bean (in EXPERT view level). The Processor Expert allows the user to set closest values for the bean timing in all speed modes (if possible). If the requested timing is not supported by the bean, for example if the MCU clock is too low for the correct function of the bean, the bean can be disabled for the appropriate speed mode.

The mode can be switched in the runtime by a CPU method. The bean timing is then automatically configured for the appropriate speed mode or the bean is disabled (according to the setting).

More information about the speed modes can be found in the Processor Expert help.


5. How to obtain evaluation licence for CodeWarrior?

To get a free evaluation licence for CodeWarrior, run the 'Register CodeWarrior' shortcut created by the installation script and contact license@metrowerks.com.


6. How to install PE 2.91 Update for CW Development Studio 3.0?

PE 2.91 Update for CW Development Studio v3.0 for Freescale HC(S)08
(CW08_V3_0_PE_2.93_SP.exe)

Installation instructions:

  1. If you have a previous installation of Processor Expert, you MUST uninstall it before installing this service pack otherwise the Processor Expert will not work correctly. To uninstall previous versions of Processor Expert (CW08 V3.0 includes PE 2.91), launch the CW08 V3.0 "Setup and Install" Program. Select the "Modify" radio button, and then make sure the MOTOROLA M68HC08 -> Program Files -> Processor Expert" component is DESELECTED before proceeding with the uninstall.
  2. If you have in Processor Expert directory (\bin\Plugins\Support\ProcessorExpert) some your's projects, beans or templates, you should back-up this files (subdirs).
  3. Next step is to DELETE all files and subdirectories in Processor Expert directory. It is necessary to work Processor Expert correctly!!
  4. Download service pack from metrowerks site and install it.
  5. Copy your's projects, beans or templates back in Processor Expert directory (\bin\Plugins\Support\ProcessorExpert).


7. The method GetVal() of the BitIO bean returns values other than 0 or 1.

This behaviour is correct. Please notice that TRUE value for boolean type is defined in ANSI-C as any non-zero value. Thus, user shouldn't rely on numerical value of the TRUE with boolean type. The result of the GetVal() method can be directly used as ordinary C boolean value in commands like if or while but the statements like (MyBit_GetVal() == TRUE) are incorrect. This limitation is useful because it allows Processor Expert and compiler to generate faster and shorter code in most common situations. The expression ((Bit1_GetVal())?(byte)1:(byte)0) can be used in application code to get numerical values (0/1) if it is necessary.


8. Where a revision history of Processor Expert and Embedded Beans can be found?

The changes influencing the whole Processor Expert or changing bean's behavior or interface can be found in ReadMe.txt file in ProcessorExpert directory. This file can be easily opened using the menu command Help - Processor Expert - View Read Me.
A detailed revisions for every bean is available using a command View Installed Beans Overview. The BeanInfo and DriverInfo options in View menu need to be set to FULL and the revision text is available after placing the mouse cursor on the revision.
The description of changes done in each Processor Expert patch are described within the patch description.



 

[top of page]




©2008 UNIS, Ltd. All rights reserved. | Privacy Statement
Processor Expert™ and Embedded Beans™ are trademarks of UNIS, Ltd.

 
Anonymous


Feature Bean of the Day
Bean:
MC9S08EN32_48 
Bean Icon:
 
Peripheral:
CPU 
Device:
Freescale HCS08 CPUs 
Connection:
None 
more info ..