LPC3131/41 Developer’s Kit - User’s Guide
Page 34
Copyright 2012 © Embedded Artists AB
5.3.2.3
uVision from Keil
Under uVision (Keil’s IDE), the command to create a binary file, named
lpc313x.bin
is as shown below.
The input file is in this case typically the output file with axf-ending.
fromelf.exe –output lpc313x.bin -bin <input-file>
It is possible to automatically create the boot image when compiling/building. The example below
illustrates how to configure a project in uVision (the Keil IDE). In the
Options for Target
window, select
the
User
tab. Then configure the
Run #1
and
Run #2
options according to the picture below. These
commands lines are run after the application is built.
Run #1
creates a binary file named
lpc313x.bin
.
Run #2
creates a CRC attached rom-file. The
–pc
command line option can be changed to
–pd
if USB
DFU booting method is used.
Figure 16 – uVision Options for Target
User tab
Programs to
run after build