UG-1926
Rev. 0 | Page 13 of 20
4.
Settings such as
Mass Erase
and
Program
can be found by
clicking
Configure
, then the
Flash
tab. Select
Mass Erase
or
Program
as needed, and click
OK
.
25
844
-1
18
Figure 21.
Mass Erase
and
Program
Options in
MI2CFTWSD
5.
On the EVAL-ADUCM420QSP1Z board, press the
SERIAL_DOWNLOAD
button and pulse the
RESET
button to set up the device in I
2
C download mode.
6.
Click the
Start
button in the
MI2CFTWSD
window. If the
I
2
C connection is established, the status shows the
is connected, as shown in Figure 22.
25
844
-1
19
Figure 22. I
2
C Connection Established
7.
After I
2
C connection is established. Click the
Run
button
and it automatically flashes the device and either mass
erases or downloads the program, depending on the
configuration that the user selected in Step 4. Figure 23
shows an example of a complete mass erase on the device.
25
844
-120
Figure 23. Complete Mass Erase
8.
Repeat Step 4 through Step 7 to select another option from
the software tool.
FLOATING-POINT UNIT ENABLE PROCEDURE
The settings shown in the
Project
dropdown menu (see Figure 24)
are available on the Keil and IAR software tool environment. By
default, the floating-point unit (FPU) is disabled after the settings
are disabled. Code to enable and output the floating-point value
is added in the
SystemInit
function in the
system_ADuCM420.c
file. This file is located in the example program in the ADuCM420
installer folder named
M420_FPU
(under the
Files
list in
Running the IAR FPU Program
Perform the following steps before running the FPU example
program in the IAR IDE software (downloaded from the
provided IAR installer).
1.
After opening the IAR IDE, click the
Project
dropdown
menu and select
Options
25844
-010
Figure 24. Selecting
Options
in the IAR IDE
2.
From the
Category
section, click
General Options
. Then
click the
Target
tab, and ensure the
FPU
box in the
Floating point settings
section is set to
VFPv5 single
precision
, as shown in Figure 25.
258
44
-0
11
Figure 25. IAR IDE
General Options