Home ] View Cart ] Site Map ] Contact ] Legal ]  

Macraigor System LLC Home Page
View Cart
Site Map
Contact
Legal

Table of Contents

Target CPU Issues

  1. Setting up the iMX31 for debug and flash programming
  2. How to speed up XScale flash programming

Drivers

  1. How to fix MAC_MOT.SYS error?
  2. Can I write my own code to talk to your devices?

Debuggers, Compilers, etc.

  1. Do you sell debuggers?

Wigglers and Ravens

  1. What is the difference between a Wiggler and a Raven?
  2. What mode must my parallel port be in?
  3. Why do some Wigglers have power supplies and not others?
  4. I can't talk to my Raven. Why?
  5. I have a laptop and nothing is working. Why?

Setting up the iMX31 for debug and flash programming

The iMX31 internally has four devices on the JTAG scan chain. In order to properly communicate with it, the software (OCD Commander, Flash Programmer, etc.) must be told what the scan chain looks like. The proper entries for the Flash Programmer are shown here:

 

and the setup for the OCD Commander is here:

 

Back to Top

How to speed up XScale flash programming

Under the main menu, Configuration -> Target Specific brings up the Target Specific Settings dialog. Improved flash programming times will be seen with the XScale family of processors if you use an external RAM buffer. You can enable this by checking the Program From RAM (XScale) box. Additionally, some XScale boards need the external RAM scrubbed, please specify, in Bytes, the size of this RAM in the Scrub RAM Size (XScale). Now you can specify an external RAM buffer and make sure you set any chip selects or other registers appropriately.

Back to Top

How to fix MAC_MOT.SYS error?

MAC_MOT.SYS is a system level driver used with the parallel port devices. It gets installed in your system directory and you should see it there. In order for it to be started, you must reboot after installation. If the system registry does not get set up correctly, it may not start. NOTE that you MUST have administrator privileges when you run the install program and then you MUST reboot. 

There are several things you can try if you are getting the error. To check the settings in the system registry, go to START -> RUN and type in REGEDIT. This will bring up the registry editor. 

Follow the tree to this key: \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MAC_MOT

and you should see this: 

There should not be any subkey, if there is, you can delete it. If this key does not exist, you can add it manually or download this file here, and in a command window (START -> RUN then type CMD and hit OK) run the command: REGINI MAC_MOT.INI

Save the Registry and reboot.

As an alternative method, you can uninstall the application (Flash Programmer, OCD Commander, etc.). After that, check the registry to make sure that the MAC_MOT key has been deleted, if not, delete it all together. Get the latest version of the software from this website and re-install.

Back to Top

Can I write my own code to talk to your devices?

In general, no. The API to our drivers is proprietary. Almost everything you want to do can be done with either our free debugger or our software utilities. We have entered into agreements to let third parties use the API, but this is under a non-disclosure arrangement. Let us know your needs.

Back to Top

What is the difference between a Wiggler and a Raven?

Both the Wiggler and Raven are parallel port interfaces. The Wiggler is a very simple device. It basically just buffers signals from the host parallel port to the target, and vice-a-versa. The Raven is a "smarter" device. It contains all the logic necessary to convert data from the parallel port into the proper JTAG or BDM signals.

The primary difference that the end-user sees is in speed. A Raven is anywhere from 4 to 35 times faster than a Wiggler, depending on the target processor.

Back to Top

What mode must my parallel port be in?

As far as the parallel port is concerned, a Wiggler is a simple uni-directional device. It will work with the parallel port in any mode EXCEPT "ECP". It will NOT work in ECP mode at all.

The Raven works best with a parallel port in EPP mode. It may work in ECP mode. If the parallel port is in an older  mode, such as uni-directional, AT, or compatible, the Raven will work but slower.

Remember, the mode is set in the CMOS bios of your computer.

Back to Top

Why do some Wigglers have power supplies and not others ?

This all depends on the target processor, it's voltage, pinout, and demands.

Back to Top

I can't talk to my Raven. Why?

Make sure your parallel port is NOT in ECP mode. Try using the Raven Tester and see what it says.

Back to Top

I have a laptop and nothing is working. Why?

Laptops can cause several problems. First, try specifying lpt 2 or 3 even if you only have one port. Check the mode of the port in the CMOS bios. Also check your power saving settings. If the parallel port is set to power down at any time, this will interfere in the proper operation of the Wiggler or Raven.

Back to Top

Do you sell debuggers?

No. We have a free debugger available on this web site. We also point you to versions of the GNU tools (C++ compilers, GUI debuggers, etc.) that are free and work with our tools.

We mainly sell hardware. See our partner page for debugger manufacturers.

Back to Top