Comtrol eCos User Manual

Page 189

Advertising
background image

Chapter 5. Installation and Testing

ed 0xd8c00130, 0x8680ff81

ed 0xd8c00230, 0x21111000

ed 0xd8c00234, 0x00100200

ed 0xd8c00238, 0x00000004

ed 0xd8c00140, 0x9800f801

ed 0xd8c00240, 0x00140000

ed 0xd8c00244, 0x11011100

ed 0xd8c00248, 0x01000001

ed 0xda000000, 0x55561645

ed 0xda000004, 0x000003c0

ed 0xda000008, 0x9000fe01

ed 0xda00000c, 0x9200fe01

ed 0xda000000, 0xa89b0654

3. Run the following commands at the JTAG debugger’s prompt to tell it what regions of the CPU’s address space

it can access:

ex 0x80000000,0x81ffffff,/mexram

ex 0x84000000,0x85ffffff,/mexram

ex 0x86000000,0x867fffff,/mexram

ex 0x86800000,0x87ffffff,/mexram

ex 0x8c000000,0x8cffffff,/mexram

ex 0x90000000,0x93ffffff,/mexram

4. Instruct the debugger to load the RAM RedBoot image into RAM:

_pc=90000000

u_pc

rd redboot.ram,90000000

5. Load the boot PROM RedBoot into RAM:

rd redboot.prom,91020000

6. Start RedBoot in RAM:

g

Note that RedBoot may take some time to start up, as it will attempt to query a BOOTP or DHCP server to try
and automatically get an IP address for the board. Note, however, that it should send a plus over the serial port
immediately, and the 7-segment LEDs should display “rh 8”.

Loading the boot PROM-based RedBoot via the RAM mode RedBoot

Once the RAM mode RedBoot is up and running, it can be communicated with by way of the serial port. Commands
can now be entered directly to RedBoot for flashing the boot PROM.

85

Advertising