Sign In
Upload
Download
Add to my manuals
Delete from my manuals
Share
URL of this page:
HTML Link:
Bookmark this page
Add
Manual will be automatically added to "My Manuals"
Print this page
×
Bookmark added
×
Added to my manuals
Manuals
Brands
Motorola Manuals
Motherboard
Minimal PowerPC 603e
User manual
Motorola Minimal PowerPC 603e User Manual page 6
Hide thumbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
page
of
16
Go
/
16
Bookmarks
Advertisement
{
*(char *) (0x40200000) = 0x04; /* turn status led on */
}
Save the Þle as ledon.c as a text Þle. (Many text editors save in their own format with extra formatting
characters that will cause the compile to fail.) Also, text editors like WordPad in Windows will append a .txt
to the Þlename which must be removed before passing to the compiler.
Assuming you have installed a Metaware compiler on your PC type the following in a DOS window.
hcppc -Hppc603 -c ledon.c
To load the program and get a downloadable s-record Þle type the following in the DOS window.
ldppc -B start_addr=0x70000 -xm ledon.o
A Þle named Ôa.hexÕ Þle will be generated and this Þle will be the one to download to Excimer.
In the Excimer terminal window, at the DINK32 prompt type the following:
dl -k <return>
This is the DINK download command that takes the s-record Þle and loads it into RAM on the EXCIMER
board. Downloading to DINK is equivalent to typing entries into the keyboard. In fact, text Þles of
keystrokes or DINK commands can be downloaded as easily as s-records. The terminal emulation program
will provide an autotype function that permits the user to select the a.hex s-record Þle previously generated
and download it through the serial into Excimer.
The DINK32 prompt returns when the download is complete.
Now we can type the ÔgoÕ command to run the program to turn the led on.
go 70000
The Status LED on Excimer is controlled by the OUT 2 signal of the Serial 1 UART (National
Semiconductor PC1655D Dual Universal Asynchronous Reciever/Transmitter). It will turn on when this
program writes a one to bit 3 (bit 0 is the LSB) of the MODEM Control Register at address 0x40200000 of
Excimer. It will remain on until disabled by another program you write, compile, link and download or until
the Excimer board is reset.
If the LED does not go out, the debug capabilities of Excimer and the Wiggler can be used to debug your
program.
Part 2 Debugging
Debug on Excimer is supported with the following capabilities in DINK:
¥
Assembly and disassembly of PowerPC instructions
¥
Display and modiÞcation of registers
¥
Display, modiÞcation and movement of system memory
¥
Singlestep and continued execution from a speciÞc address
¥
Display, setting, removal of instruction breakpoints
DINK is an example of a ROM-resident debugger. It resides in ROM and is copied down to RAM for
execution. ROM resident debuggers are often criticized because:
6
Minimal PowerPC 603e Evaluation Board
MOTOROLA
Table of
Contents
Previous
Page
Next
Page
1
...
3
4
5
6
7
8
9
10
Advertisement
Related Manuals for Motorola Minimal PowerPC 603e
Motherboard Motorola MVME6100 Installation And Use Manual
Single-board computer (121 pages)
Motherboard Motorola MVME3100 Programmer's Manual
(52 pages)
Motherboard Motorola M68HC11EVBU User Manual
Universal evaluation board (110 pages)
Motherboard Motorola CPCI-6020 Installation And Use Manual
Compactpci single board computer (170 pages)
Motherboard Motorola MVME5500 Programmer's Reference Manual
(61 pages)
Motherboard Motorola MVME5100 Programmer's Reference Manual
(320 pages)
Motherboard Motorola MVME5100 Programmer's Reference Manual
(270 pages)
Motherboard Motorola VP22A/IH1 Installation And Use Manual
Microatx motherboard (67 pages)
Motherboard Motorola MVME5500 Installation And Use Manual
(148 pages)
Motherboard Motorola GP68 Installation And Operation Manual
Smartrunk ii logic board (44 pages)
Motherboard Motorola MVME6100 Installation And User Manual
(90 pages)
Motherboard Motorola MVME2100 Installation And Use Manual
(128 pages)
Motherboard Motorola M68HC11EVB User Manual
(103 pages)
Motherboard Motorola Digital DNA DSP56F807 Hardware User Manual
Evaluation module (80 pages)
Motherboard Motorola MTX Series Programmer's Reference Manual
Mtxa/pg4 (223 pages)
Related Products for Motorola Minimal PowerPC 603e
Motorola 600SSC - Canopy Surge Suppressor
Motorola 60t
MOTOROLA 60X
Motorola SELECT 6000
Motorola 60C series
Motorola XPLORE 600
Motorola MicroTAC Select 6000e
Motorola Avigilon 6.0C-H5A-B2
Motorola 6000Li
Motorola 68000202880-A
Motorola 68000202880-C
Motorola 6802938J65
Motorola 6802925J24
Motorola 68P81083C10-C
Motorola 6840420Z01-AD
MOTOROLA 6200
Print
Rename the bookmark
Delete bookmark?
Delete from my manuals?
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL