Evaluation Platform Board Manual 59
Intel® IQ80332 I/O Processor
Getting Started and Debugger
B.4 Flashing with JTAG

B.4.1 Overview

Code|Lab and Raven are capable of reading from, writing to, and erasing the contents of the Flash on
the evaluation board. The board comes with RedBoot loaded in the Flash. RedBoot is the RedHat
debug monitor which initializes the board and has some debug and diagn ostic functions. It is capable
of serial communication with the console of a debug program or with Microsoft HyperTerminal, and
it prepares the board for accepting an application program.
Code|Lab invokes a Flash programmer written by Macraigor. More information on the F lash
programmer is located at:
http://www.ocdemon.net/Merchant2/merchant.mv?Screen=CTGY&Store_Code=MTS&Categ
ory_C ode=Software.
This Flash programmer only supports certain file formats: Intel Hex, Mot orola srec and standard elf
(executable and linking format). RedBoot.s19 and RedBoot.srec are both srec files. TBD.i32 is an
ARM BootMonitor Intel Hex file. BootMonitor is an ARM ver sion of a debug monitor, which is
similar but not identical to RedBoot.
Macraigor offers conversion tools to convert existing file types to a supported file type. These
conversion tools are located at:
C:\ATI\codelab\codelab Debug\Macraigor\Flash Programmer
The ReadMe.txt file descri bes the conversions tools. BinToS19.exe co nverts binary files to srec files
and MakeIntelHex.exe converts a.out files to In tel Hex files. When using the BinToS19.exe
conversion tool, use 0x0 for the starting address. For example, at the CMD promp t in the directory
where BinToS19.exe is located, the comm and line looks like this:
C:\ATI\codelab\ codelab Debug\Macraigor\Flash Programmer>bintos19
C:\temp\redboot_ROM.bin 0x0 c:\temp\redboot_ROM.s19