beautypg.com

Patton electronic SMARTNODE 4960 User Manual

Page 35

background image

Bootloader

36

SmartNode 4960 User Manual

4 • Initial configuration

Delete image 1 - continue (y/n)? y
... Erase from 0x60030000-0x601cc974: ..........................

RedBoot> fis create
Use address 0x01800100, size 1684402 ? - continue (y/n)? y
... Erase from 0x60030000-0x601cb3ba: ..........................
... Program from 0x00011eec-0x00011ef4 at 0x60030000: .
... Program from 0x01800100-0x0199b4b2 at 0x60030008: ..........................
... Program from 0x00011eec-0x00011ef4 at 0x60030000: .
Image successfully written to flash

RedBoot> fis list -l
Id Address Length State Description
Entry Load Addr Version
--------------------------------------------------------------------
1 0x60030000 1693438 valid SmartWare R2.10 BUILD28015
0x01800100 0x01800100 V2.10

RedBoot> go
Starting 'SmartWare R2.10 BUILD28015' at 0x01800100 via 0x01800100

Load a new application image (SmartWare) via the serial link

The Bootloader supports the ‘X-Modem’ and ‘Y-Modem’ protocols to download application images via the
serial link of the console. Do the following to initiate the download:

Note

This type of download takes about 25 minutes since it uses a serial link at
only 9600 bps.

Step

Command

Purpose

1

RedBoot> load -r -v -m {
xmodem | ymodem } -b
base_address

Downloads an application image into the volatile memory
(RAM) from where the SmartNode could directly execute it.
‘xmodem’ or ‘ymodem’: Specify the protocol to be used, X-
Modem or Y-Modem
base_address: memory location where to store the application
image. Use the default address 0x1800100
Execute the above RedBoot command first, then start the trans-
fer from the terminal program with the command ‘Send file via
X-Modem’ (or similar).

5

RedBoot> fis delete -n 1

Deletes the first application image.
Reply with ‘y’ to the confirmation request.

6

RedBoot> fis create

Stores the downloaded application image to the permanent
memory (flash:).
Reply with ‘y’ to the confirmation request.

7

RedBoot> fis list -l

Checks whether the image has been successfully stored,
whether it is the desired Release and Build, and whether it is
valid.

8

RedBoot> go

Starts the application image that was downloaded to the vola-
tile memory (RAM).