
Writing an Image to Flash
LITE5200B User’s Manual, Rev. 0
Freescale Semiconductor
5-9
Usage:
go
[ address ] [ arg .. ]
This will start execution of code at the address specified. Arguments may be optionally provided and passed using the EABI
specification.
5.8
Writing an Image to Flash
Once an image has been downloaded into ram it may be written to flash by first performing an erase and
then performing a memory copy to the specified flash region. Instructions for erasing a flash region can be
found in Section 5.8, “Writing an Image to Flash,” on page 5-9.
Usage:
cp
[ .b, .w, .l ] source target count
This will copy a region of memory from the source to the target writing to flash if required.
Example:
=>
erase
0xFF000000 0xFF00FFFF
Erasing Sector: 0 - 0xff000000
done
Erased 1 sectors
=> cp 0x3000 0xFF000000 0x100
Copy to Flash... done
5.9
Erasing Flash
Before writing to flash area of memory, it must first be erase or an error will occur. This may be done using
the following command.
Usage:
erase
[ sector start ] [ sector end ]
Care must be taken to specify ending address on a sector boundary.
Содержание Lite5200B
Страница 1: ...Lite5200B User s Manual Devices Supported MPC5200B LITE5200BUM Rev 0 10 2005...
Страница 12: ...Getting Started LITE5200B User s Manual Rev 0 3 2 Freescale Semiconductor Figure 3 1 Quick Start Connectors...
Страница 14: ...Getting Started LITE5200B User s Manual Rev 0 3 4 Freescale Semiconductor THIS PAGE INTENTIONALLY LEFT BLANK...
Страница 48: ...Boot Monitor LITE5200B User s Manual Rev 0 5 14 Freescale Semiconductor THIS PAGE INTENTIONALLY LEFT BLANK...
Страница 50: ...Flash Recovery LITE5200B User s Manual Rev 0 6 2 Freescale Semiconductor THIS PAGE INTENTIONALLY LEFT BLANK...
Страница 79: ...IMM LITE5200B User s Manual Rev 0 Freescale Semiconductor 7 29 7 28 IMM imm i2c memory modify auto incrementing...
Страница 80: ...U Boot Commands LITE5200B User s Manual Rev 0 7 30 Freescale Semiconductor 7 29 IMW imw Memory write fill...
Страница 109: ...USB LITE5200B User s Manual Rev 0 Freescale Semiconductor 7 59 7 53 USB usb USB sub system...
Страница 110: ...U Boot Commands LITE5200B User s Manual Rev 0 7 60 Freescale Semiconductor 7 54 USBBoot usbboot Boot from USB device...
Страница 112: ...U Boot Commands LITE5200B User s Manual Rev 0 7 62 Freescale Semiconductor THIS PAGE INTENTIONALLY LEFT BLANK...
Страница 118: ...PCI Compatibility LITE5200B User s Manual Rev 0 B 2 Freescale Semiconductor THIS PAGE INTENTIONALLY LEFT BLANK...