EB675001DIP Downloader User Guide |
|
Contents
©2004 Simtec Electronics
Introduction
This document explains how to use the "Downloader" Initial Program Loader(IPL) with the Simtec EB675001DIP module.
The Downloader utility allows the transfer of arbitrary binary data into the SDRAM of the EB675001DIP module. It is typically uploaded using the boot firmware built into the ML675001 processor. Once running it configures the SDRAM and transfers binary data using the X-Modem protocol.
The binary file transfer may be in one of X-Modem, X-Modem 1k and X-Modem CRC variants. The code is placed in the DRAM at memory location 0xC0000000 any user code should be compiled to execute at this address.
The Downloader is released under a GPL licence, sources are available from the EB675001DIP resources section on the Simtec website.
Overview
The OKI ML675001 SOC has a 4k boot ROM this ROM based loader is selected by setting DIP switches 3 and 4 (Boot 0 and Boot 1) to the off position. OKI provide a document entitled ML675001 Boot Program User's Manual available from their web site, which describes this loaders operation. This loader transfers an Intel hex record formatted file into the internal SRAM of the SOC and starts its execution (obviously in this case the Downloader utility).
Once the Downloader utility has been transfered into SRAM by the OKI ROM boot program it initialises the DRAM of the EB675001DIP and starts an X Modem transfer into the SRAM. This may be any binary executable the user desires. Simtec provide a version of the ABLE bootloader specifically built to be run in this manner. Once executing the ABLE command line may be used as normal (see the ABLE Documentation for details on ABLE use.)
Operation
Basic operation uses the following steps:
- Set boot mode to internal ROM with DIP switches.
- Connect module to PC using a null modem cable and a terminal program set to 115200 baud
- Use a terminal program to send the zero.dat file (ROM loader should respond with "Ready")
- Use a terminal program to send the downloader utility hex file
- Answer "1" to run the program when prompted after the HEX file upload
- Use a terminal program to transfer the desired executable with X-Modem