4) Turn the target power on. This should light the Yellow LED on the Multilink.
Before disconnecting the setup, turn the target power off.
7.0 Startup Reset Sequence
In order to use the Background Debug Mode of the microcontroller, it must be initialized coming out of
reset. This is accomplished by P&E's ICD (In Circuit Debugger) software on the host PC by generating
the following reset sequence:
1. DSCK is driven high and DSI is driven low (to processor).
2. Delay ~1ms.
3. HRESET or SRESET is driven low (usually this will be HReset).
4. Delay ~20ms.
5. HRESET is released (tri-state, should be pulled up on target).
6. Shifting activity appears on DSCLK, DSI and DSO. (PC software communicating with target to
determine if debug mode was successfully entered).
Note that if the device does not enter debug mode, the ICD debugger issues the error message “Cannot
enter background mode.” If you get this message, you should first refer to the troubleshooting section of
this document. You should then check your hardware with a scope, logic analyzer or logic probe. First
check for power on, then check to make sure the processor oscillator is running. Finally, look for the
startup sequence given above.
8.0 Interface Libraries
P&E produces a set of interface libraries which allow the user to directly control the USB PowerPC BDM
Multilink from any Windows Development environment which can interact with a DLL. The interface
libraries come with examples for controlling the Multilink interface from Microsoft Visual C as well as
Borland Delphi. Details of the libraries for the PowerPC 5xx/8xx (UNITPPCZ) may be found at
http://www.pemicro.com/products/product_processor.cfm?family=9.
9.0 Firmware Updates
The latest version of the firmware for the Multilink interface is included in P&E’s software development
kits. When the debugger or programmer is run, if it detects that the Multilink interface firmware needs to
be updated, it will ask the user’s permission to do this. If permission is granted, the update happens
automatically.
Alternately, the latest version of the firmware may be downloaded from the “Firmware Updates” section
of P&E’s online “Support Center” located at http://www.pemicro.com . This firmware includes a utility
which may be used to run the firmware update.
10.0 Software Packages
P&E provides several software packages which work through the PowerPC interface cable: