MicroMonitor
The Boot ROM that can grow anything...

MicroMonitor Disaster Recovery with a Macraigor JTAG Unit

 

Assumptions
- GNU X-Tools installed (either the free 30-trial version or a purchased copy)
- A Macraigor JTAG emulator
- A .gdbinit file from Macraigor for the Cogent board needing reflashed

Steps
1. Create a directory under Cygwin/home, call it 'umon-recovery'

2. Copy boot.bin, ramtst.elf and .gdbinit for your Cogent target computer into 'umon-recovery' directory (get the .gdbinit from Macraigor -- it looks similar to this one: click here)

3. Start a GNU X-Tools shell and start the ocdremote utility along with its command line options (get from Macraigor docs)

4. Start HyperTerminal with settings 38400 8N1 (no handshaking), and connect the mpDemon JTAG device to the CSB board and power on both the board and mpDemon

5. Start a second GNU X-Tools shell and enter the following commands:

   $ cd /home/umon-recovery

   $ arm-elf-gdb ramtst.elf (wait until the program is completely loaded)

   <gdb> b main

   <gdb> c

6. In HyperTerminal you should uMON boot up. Setup the board with network settings:

   uMON> set IPADD <your-board-ip-address>

   uMON> set NETMASK <netmask-setting>

   uMON> set -f monrc

7. In the GNU X-Tools shell in step 5, issue this command:

   $ newmon <your-board-ip-address> boot.bin

HyperTerminal / uCon / or other serial terminal program should show the umon accepting the TFTP file. Once reflashed, cycle power and umon should boot on its own.

 

 

 

© 2010 Microcross, Inc.  All rights reserved.