M5407C3 Freescale Semiconductor, M5407C3 Datasheet - Page 84

no-image

M5407C3

Manufacturer Part Number
M5407C3
Description
KIT EVAL FOR MCF5407 W/ETHERNET
Manufacturer
Freescale Semiconductor
Series
ColdFire®r
Type
Microprocessorr
Datasheet

Specifications of M5407C3

Contents
Module and Misc Hardware
Processor To Be Evaluated
MCF5407
Interface Type
Ethernet
For Use With/related Products
MCF5407
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Freescale Semiconductor, Inc.
Configuring dBUG Network Parameters
A.2 Configuring dBUG Network Parameters
Once the network parameters have been obtained, the Rom Monitor must be configured.
The following commands are used to configure the network parameters.
set client <client IP>
set server <server IP>
set gateway <gateway IP>
set netmask <netmask>
set mac <addr>
For example, the TFTP server is named ‘santafe’ and has IP address 123.45.67.1. The
board is assigned the IP address of 123.45.68.15. The gateway IP address is 123.45.68.250,
and the netmask is 255.255.255.0. The commands to dBUG are:
set client 123.45.68.15
set server 123.45.67.1
set gateway 123.45.68.250
set netmask 255.255.255.0
set mac 00:CF:54:07:03:01
The last step is to inform dBUG of the name and type of the file to download. Prior to
giving the name of the file, keep in mind the following.
Most, if not all, TFTP servers will only permit access to files starting at a particular
sub-directory. (This is a security feature which prevents reading of arbitrary files by
unknown persons.) For example, SunOS uses the directory /tftp_boot as the default TFTP
directory. When specifying a filename to a SunOS TFTP server, all filenames are relative
to /tftp_boot. As a result, you normally will be required to copy the file to download into
the directory used by the TFTP server.
A default filename for network downloads is maintained by dBUG. To change the default
filename, use the command:
set filename <filename>
When using the Ethernet network for download, either S-record, COFF, ELF, or Image files
may be downloaded. A default filetype for network downloads is maintained by dBUG as
well. To change the default filetype, use the command:
set filetype <srecord|coff|elf|image>
Continuing with the above example, the compiler produces an executable COFF file,
‘a.out’. This file is copied to the /tftp_boot directory on the server with the command:
rcp a.out santafe:/tftp_boot/a.out
Change the default filename and filetype with the commands:
set filename a.out
A-2
M5407C3 User’s Manual

Related parts for M5407C3