16
16
16
16
G E T I T R U N N I N G
After successful installation, switch the power supply of DevKit16 on, check the
red power LED on the CPU and connection with PC. When the Devkit16 with
its default settings (see fig. 2) is connected to the PC, it is held in the reset state –
the LED diode D11 is shining until the debug session in Softune is started.
Before the next step you can try to move the J1 jumper to the 2-3 position, so the
D11 goes off and on the Mainboard LED display, the Fujitsu Monitor Debugger
version number in the form of “
X.X.
” appears (the current version number in
the time of writing this manual was “
1.3.
”). Then you can put the J1 back to
1–2 position.
If the version number is not in the form of “
X.X.
” (the last point is important),
it means that there is the Processor Expert kernel or other program burned in the
Mainboard FLASH. In such a case, you must burn the Fujitsu debug monitor
into the Devkit16 - please refer to the chapter 6 (Flash It), paragraph “How to
burn Fujitsu debug monitor”.
D E S I G N A P P L I C A T I O N W I T H P R O C E S S O R
E X P E R T
( T M )
A N D R U N I T U S I N G S O F T U N E
W O R K B E N C H M O N I T O R D E B U G G E R
Run Processor Expert
(TM)
, choose Open existing project from startup screen and
select under
PE\Projects\Demo.Leds\LEDS.pe
. Please choose
Options |
Environment
and
Project Options
. This opens Options window on
Environment options page. Uncheck item „
Succesful Make and Build
automatically starts PE debug
“ and confirm OK.
Choose
Tools | Build
or Ctrl-B. After successful Build choose
Tools | Fujitsu
Softune Workbench
(default hot key F11). After Softune Workbench starts,
you could notice that the same project is open in Softune.
R U N F I R S T A P P L I C A T I O N
U S I N G S O F T U N E W O R K B E N C H A N D F U J I T S U
M O N I T O R D E B U G G E R
In Softune Workbench, build the project using Ctrl-F8. Project settings for
debugger are prepared for you, the only thing you must set up are the debug
communication properties - in
Project | Setup,
page
Debug
– select the setup
name from the
Build setup name list
, in the next dialogs, choose “Monitor
debugger”, COM1 or COM2, 9600Bd, Auto load …, and click
Finish
.
Note
: in the Processor Expert™ installation, there is also the 38400 Bd version
of the Fujitsu debug monitor available, but the 9600 Bd version is burned to the
Devkit16 by default.
After setting the communication properties, select
Debug | Start
Debug
and
wait till debugging session is started. If it went OK, you should see window with