User`s manual

254 digi.com Graphical User Interface
Compile to .bin File
Compiles a program and writes the image to a .bin file. There are two choices available with this
option, “Compile to Flash” and “Compile to Flash, Run in Ram.”
The target configuration used in the compile is determined in the Compiler tab of the Project Options
dialog. From there, under “Default Compile Modeyou can choose to use the attached target or a
defined target configuration. The defined target configuration is accessed by clicking on the
Tar ge t le ss
tab which will reveal three additional tabs: RTI File, Specify Parameters and Board Selection. To learn
more about these tabs see “Targetless Tab” on page 290.
The .bin file may be used with a device programmer to program multiple targets; or the Rabbit Field
Utility (RFU) can be used to load the .bin file to the target.
If you are creating special a program such as a cold loader that starts at address 0x0000 you can
exclude the BIOS from being compiled into the .bin file by unchecking the option to include it. This
is done by choosing Options | Project Options | Compiler and clicking on the “Advanced...” button.
In addition to the .bin file, several other files are generated with this compile option. For example, if
you compile demo1.c to a .bin file, the following files will be in the same folder as demo1.c:
DEMO1.bak - backup of the application source file (made at compile time, when this option is
enabled).
demo1.bdl - binary image download file (used when loading the application to a connected
target).
DEMO1.brk - debugger breakpoint information.
demo1.hdl - no longer used.
demo1.hex - simple Intel HEX format output image file; the serial DLM samples download
a DLP's HEX file and load the image to Flash.
DEMO1.map - the application's code/data map file (RabbitBios.map is also generated,
separately). For more information on the map file, see Appendix B, "Map File Generation."
DEMO1.rom - ROM "output" file, containing redundant addresses (due to fixups); it's used to
generate the BDL, BIN, HEX, and HDL files.
Reload RabbitSys binary
This option executes the command line RFU to reload the RabbitSys binary. You must have a target
board with preloaded drivers to run RabbitSys.
Reset Target/Compile BIOS
<Ctrl+Y>
This option reloads the BIOS to RAM or Flash, depending on the choice made under BIOS Memory
Setting
in the Compiler dialog (viewable from Options | Project Options).
The following message will appear upon successful compilation and loading of BIOS code.