M5249C3 Freescale Semiconductor, M5249C3 Datasheet - Page 70

KIT EVAL FOR M5249 W/ETHERNET

M5249C3

Manufacturer Part Number
M5249C3
Description
KIT EVAL FOR M5249 W/ETHERNET
Manufacturer
Freescale Semiconductor
Series
ColdFire®r
Type
Microprocessorr
Datasheets

Specifications of M5249C3

Contents
Module and Misc Hardware
Processor To Be Evaluated
MCF5249
Interface Type
RS-232, Ethernet
For Use With/related Products
MCF5249
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Configuring dBUG for Network Downloads
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 MAC address is chosen arbitrarily and is unique. The commands to dBUG are:
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:
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:
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:
Change the default filename and filetype with the commands:
Finally, perform the network download with the ‘dn’ command. The network download process uses the
configured IP addresses and the default filename and filetype for initiating a TFTP download from the
TFTP server.
A.3
Most problems related to network downloads are a direct result of improper configuration. Verify that all
IP addresses configured into dBUG are correct. This is accomplished via the ‘show ’command.
Using an IP address already assigned to another machine will cause dBUG network download to fail, and
probably other severe network problems. Make certain the client IP address is unique for the board.
Check for proper insertion or connection of the network cable. Is the status LED lit indicating that network
traffic is present?
A-2
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:52:49:C3:01
set filename <filename>
set filetype <srecord|coff|elf|image>
rcp a.out santafe:/tftp_boot/a.out
set filename a.out
set filetype coff
Troubleshooting Network Problems
M5249C3 User’s Manual, Rev. 1
Freescale Semiconductor

Related parts for M5249C3