Redboot |
Load the bootstrap program
1. Get and extract redboot.zip.
2. Connect UART1 of the MG5001 board to a serial port of your PC.
3. Turn on your MG5001 receiver with the boot pin set to "LOAD" (i.e. set MULTI_FNIO high during a reset).
4. Start HyperTerminal and set it up for 57600 baud, 8N1, and no flow control.
5. Make the HyperTerminal connected by clicking "call" icon.
6. Choose "Send Text File..." from "Transfer" menu.
7. Send "ram_download.bin".
8. "Ready to download >>" message appears on the HyperTerminal,
and the LED7 (GPIO7) turns on.
Load the RedBoot into RAM
1. Choose "Send Text File..." from "Transfer" menu and send "redboot_ram.bin".
2. The LED7 (GPIO7) is flashing during download.
3. After finishing download, you should see the RedBoot welcome messages.
Burn the RedBoot into Flash
1. From the RedBoot prompt, enter the following command.
RedBoot> load -r -b 0x20020000 -m xmodem
2. In the HyperTerminal, select "Send File..." from "Transfer" menu.
3. Select "Xmodem" as the protocol and send "redboot_rom.bin".
4. During the download, a window will be displayed that looks similar to this:
5. After a successful load, the HyperTerminal will look similar to the following:
RedBoot> load -r -b 0x20020000 -m xmodem
CCCCRaw file loaded 0x20020000-0x2002e0ab, assumed entry at 0x20020000
xyzModem - CRC mode, 450(SOH)/0(STX)/0(CAN) packets, 4 retries
6. And finally, burn the RedBoot into Flash:
RedBoot> fis write -f 0x60000000 -b 0x20020000 -l 0x10000
* CAUTION * about to program FLASH
at 0x60000000..0x6000ffff from 0x20020000 - continue (y/n)? y
... Erase from 0x60000000-0x60010000: .
... Program from 0x20020000-0x20030000 at 0x60000000: .
RedBoot>
7. Now reset the receiver with the boot pin set to "RUN", you should get:
+
RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version UNKNOWN - built 18:00:25, May 27 2005
Platform: GPS-4020 (ARM7TDMI)
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
RAM: 0x20000000-0x20040000, [0x20005690-0x20040000] available
FLASH: 0x60000000 - 0x60040000, 4 blocks of 0x00010000 bytes each.
RedBoot>
|
|
tebinuma@yahoo.com
|
|