Target CPU Issues
- Setting up the iMX31 for debug and flash programming
- How to speed up XScale flash programming
Drivers
- How to fix MAC_MOT.SYS error?
- Can I write my own code to talk to your devices?
Debuggers, Compilers, etc.
- Do you sell debuggers?
Wigglers and Ravens
- What is the difference between a Wiggler
and a Raven?
- What mode must my parallel port be in?
- Why do some Wigglers have power supplies and not
others?
- I can't talk to my Raven. Why?
- I have a laptop and nothing is working. Why?
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:
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.
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.
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.
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.
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.
This all depends on the target processor, it's voltage, pinout, and demands.
Make sure your parallel port is NOT in ECP mode. Try using the Raven Tester
and see what it says.
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.
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.
|