Error codes, Using redboot with arm bootloader – Comtrol eCos User Manual

Page 228

Advertising
background image

Chapter 5. Installation and Testing

To install RedBoot to run from the flash boot sector, use the manufacturer’s flash utility to install the ROM mode
image at address zero.

To install RedBoot to run from address 0x40000 with the ARM bootloader in the flash boot sector, use the manu-
facturer’s flash utility to install the ROMA mode image at address 0x40000.

After booting the initial installation of RedBoot, this warning may be printed:

flash configuration checksum error or invalid key

This is normal, and indicates that the flash must be configured for use by RedBoot. Even if the above message is
not printed, it may be a good idea to reinitialize the flash anyway. Do this with the fis command:

RedBoot> fis init

About to initialize [format] flash image system - continue (y/n)? y

*** Initialize flash Image System

Warning: device contents not erased, some blocks may not be usable

... Unlock from 0x007e0000-0x00800000: .

... Erase from 0x007e0000-0x00800000: .

... Program from 0xa1fd0000-0xa1fd0400 at 0x007e0000: .

... Lock from 0x007e0000-0x00800000: .

Followed by the fconfig command:

RedBoot> fconfig

Run script at boot: false

Use BOOTP for network configuration: false

Local IP address: 192.168.1.153

Default server IP address: 192.168.1.10

GDB connection port: 1000

Network debug at boot time: false

Update RedBoot non-volatile configuration - continue (y/n)? y

... Unlock from 0x007c0000-0x007e0000: .

... Erase from 0x007c0000-0x007e0000: .

... Program from 0xa0013018-0xa0013418 at 0x007c0000: .

... Lock from 0x007c0000-0x007e0000: .

Note: When later updating RedBoot in situ, it is important to use a matching ROM and RAM mode pair of
images. So use either RAM/ROM or RAMA/ROMA images. Do not mix them.

Error codes

RedBoot uses the two digit LED display to indicate errors during board initialization. Possible error codes are:

88 - Unknown Error
55 - I2C Error
FF - SDRAM Error
01 - No Error

124

Advertising